Robot Class

Robot Class is available under java.awt package. Using this Robot Class we can simulate keyboard events in Selenium.


import java.awt.AWTException;
import java.awt.Robot;

import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;

public class AutomateKeyboard

{

DefaultSelenium selenium = new DefaultSelenium("localhost",4444,"*firefox","http://");
  
    Robot r =null;

public void GmailLoginCheck()  {

selenium.start();

 selenium.open("http://www.gmail.com");
selenium.type("xxxxxxxxxx", "xxxxxxxxxxxxxxxx");
selenium.type("xxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxx");

r.keyPress(java.awt.event.KeyEvent.VK_ENTER);  // Here we are using robot class

}

public static void main(String args[]){

 

AutomateKeyboard   automate  = new AutomateKeyboard();

automate.GmaillLoginCheck();

}

}



202 comments:

  1. Excellent post, I agree with you 100%! I’m always scouring the oracle for new information and learning whatever I can, and in doing so I sometimes leave comments on blogs.Oracle Training In Chennai

    ReplyDelete
  2. I found some useful information in your blog, it was awesome to read,
    thanks for sharing this great content to my vision, keep sharing..
    SalesForce Training in Chennai

    ReplyDelete
  3. This blog is impressive and informative.It clearly explains about the concept and its techniques.Thanks for sharing this information.Please update this type of
    information
    Salesforce Training in Chennai

    ReplyDelete
  4. We are providing quality Java course training with low price in Chennai, Bangalore and Hyderabad. Java technology’s versatility, efficiency, platform portability, and security make it the ideal technology for network computing.

    java training in chennai

    ReplyDelete
  5. As disussed above software testing is one of the important field in detecting the bugs. In Software testing selenium training institute in Chennai we are enabled to identify the errors with selenium course and can match the actual results with that of expected results.

    ReplyDelete
  6. As disussed above software testing is one of the important field in detecting the bugs. In Software testing selenium training institute in Chennai we are enabled to identify the errors with selenium course and can match the actual results with that of expected results.

    ReplyDelete
  7. It's worth guide, do more post like this one :)
    Regards,
    Software training

    ReplyDelete
  8. We provide all registered candidate’s training based on the real-world and current market trends, and requirements.
    Android Training in Chennai |
    Android Training in Sholiganallur |
    Android Training in Tambaram |
    Android Training in Chennai |

    ReplyDelete
  9. The information you have given here are most worthy for me. I have implemented in my training program as well, thanks for sharing. Java Training in Chennai

    ReplyDelete
  10. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
    Java Training in Chennai

    ReplyDelete
  11. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
    Web Design Company
    Web Development Company

    ReplyDelete


  12. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Web Design Development Company

    ReplyDelete
  13. Nice blog thanks for providing such a great information selenium Jobs in hyderabad

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Hello Admin,
    I really enjoyed while reading your article, the information you have mentioned in this post was damn good. Keep sharing your blog with updated and useful information.

    Selenium Training in Bangalore

    ReplyDelete
  16. Incredible articles, as a matter of first importance Thanks for composing such stunning Post! Prior I felt that posts are the main most imperative thing on any blog.


    Hadoop Training in Bangalore

    ReplyDelete
  17. Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..

    Web Development Houston

    ReplyDelete
  18. Besant Technologies is the best training institute in chennai.We are known for our practical approach towards trainings that enable students to gain real-time exposure on competitive technologies. Trainings are offered by professionals to give a real corporate exposure.So join this institute and create your own career. Java Training in Chennai |
    Dot Net Training in Chennai

    ReplyDelete
  19. Your posts seem almost prophetic.Thanks for sharing this informative article.I like this your idea It is great. It helps to everyone.

    ReplyDelete
  20. nice blog. thanks for sharing valuable information. It’s really good.Any one looking software courses nareshit is the best offline and online software training institute in Hyderabad and Chennai.

    ReplyDelete
  21. nice blog. thanks for sharing valuable information. It’s really good.Any one looking software courses nareshit is the best offline and online software training institute in Hyderabad and Chennai.

    ReplyDelete
  22. Nice Article, Croma Campus is the pioneer of instruction giving the Selenium Training in Noida

    ReplyDelete
  23. It has been just unfathomably liberal with you to give straightforwardly what precisely numerous people would've promoted for an eBook to wind up making some money for their end, basically given that you could have attempted it in the occasion you needed.
    <a href="http://www.traininginmarathahalli.in/selenium-training-in-bangalore/”> Selenium Training in Marathahalli </a>|

    ReplyDelete
  24. Thanks for sharing this attractive and informative content.please share some more content ..keep it up
    Python Course

    ReplyDelete
  25. Thanks for your useful information shared with us. check it once through Android Online Course Hyderabad

    ReplyDelete
  26. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing.


    java Training in Bangalore

    ReplyDelete
  27. HI,
    Thanks for the post,really appreciable.
    Also can refer this https://asha24.com/blog/pega-tutorial-certification-training-and-interview-qa
    Regards,
    ganesh

    ReplyDelete
  28. That is very interesting I love reading and I am always searching for informative information like this.

    Online Robot Framework Training

    ReplyDelete
  29. Really very informative and creative contents. This concept is a good way to enhance the knowledge.thanks for sharing. please

    keep it up
    Automation Testing training in gurgaon.


    ReplyDelete
  30. THANKS fOR pOSTING Ramesh Reddy Very Great And Collective Information About Selenium Grid Tutorial

    ReplyDelete
  31. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend! Selenium Training In Bangalore | Best Selenium Training in Bangalore

    ReplyDelete
  32. Thanks for sharing with us, This article gives more useful information to me. Great post keep updating.
    Regards,
    Selenium Training in Chennai

    ReplyDelete
  33. Great post. It is very informative and knowledgeable for us. Thank you so much for sharing.

    selenium training in pune

    ReplyDelete
  34. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging

    selenium training in chennai

    ReplyDelete
  35. Nice Article, Please do post this kind of posts more, thanks.
    I wish you might like to have a look at my article http://javaseleniumworld.com/robot-class/

    ReplyDelete
  36. Nice Article, Please do post this kind of posts more, thanks.
    I wish you might like to have a look at my article http://javaseleniumworld.com/robot-class/

    ReplyDelete

  37. Thanks for sharing your blog , after reading this blog , i felt so many of them are happy selenium online training in hyderabad

    ReplyDelete
  38. This comment has been removed by the author.

    ReplyDelete
  39. Thanks for sharing with us, This article gives more useful information to me. Great post keep updating.

    Selenium Training in Chennai

    ReplyDelete
  40. Cloud Computing Training In Noida
    Webtrackker is IT based company in many countries. Webtrackker will provide you a real time projects based training on Cloud Computing. If you are looking for the Cloud computing training in Noida then you can join the webtrackker technology.
    Cloud Computing Training In Noida , Cloud Computing Training center In Noida , Cloud Computing Training institute In Noida ,

    Company Address:
    Webtrackker Technology
    C- 67, Sector- 63, Noida
    Email: info@webtrackker.com
    Website: www.webtrackker.com
    http://webtrackker.com/Cloud-Computing-Training-Institutes-In-Noida.php

    ReplyDelete
  41. Wonderful article, very useful and well explanation. Your post is extremely incredible.

    ReplyDelete
  42. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this.
    best selenium training institute in hyderabad
    best selenium online training institute in hyderabad
    best institute for selenium training in hyderabad
    best software testing training institute in hyderabad
    best selenium training institute in hyderabad
    selenium online training

    ReplyDelete
  43. I have read your blog and I gathered some needful information from your blog. Keep update your blog. Waiting for your next update. Java Training in Chennai | Python Training in Chennai

    ReplyDelete
  44. Really it helped me a lot to understand more about selenium resources thanks for sharing.. Best software Training institute in Bangalore

    ReplyDelete
  45. I was curious if you ever considered changing the layout of your site? It’s very well written; I love what you’ve got to say
    industrial safety course in chennai

    ReplyDelete
  46. I have never read more interesting articles than yours before. You make me so easy to understand and I will continue to share this site. Thank you very much and more power!


    Selenium Training in Chennai
    selenium testing training in chennai
    Best ios Training institute in Chennai
    iOS Course Chennai
    JAVA Training Institutes in Chennai
    Java Courses in Chennai

    ReplyDelete
  47. Outstanding blog thanks for sharing such wonderful blog with us ,after long time came across such knowlegeble blog. keep sharing such informative blog with us.
    Air Hostess Training in Chennai | Air Hostess Training Institute in Chennai | Air Hostess Academy in Chennai | Air Hostess Course in Chennai | Air Hostess Institute in Chennai

    ReplyDelete
  48. This comment has been removed by the author.

    ReplyDelete
  49. Thank you for sharing this valuable information. Good job.

    Article submission sites

    Education

    ReplyDelete
  50. Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way. T hank you so much.
    CCNA Training in Chennai
    DevOps Training in Chennai
    Best devOps Training in Chennai
    DevOps foundation certificate
    CCNA Training
    CCNA courses in Chennai

    ReplyDelete
  51. Innovative thinking of you in this blog makes me very useful to learn.i need more info to learn so kindly update it.
    Angularjs Training in Bangalore
    AngularJS Course in Anna Nagar
    AngularJS Training in T nagar

    ReplyDelete
  52. Simply wish to say your article is as astonishing. The clarity in your post is simply great.selenium training in chennai

    ReplyDelete
  53. This blog has very effective content about Big data thanks for sharing this type of information.

    Hadoop big data classes in pune

    Big Data Training in Pune

    Big data hadoop training in pune

    ReplyDelete
  54. Its a wonderful post and very helpful, thanks for all this information. You are including better information.
    Javascript Training in Delhi
    Javascript Course in Delhi
    Javascript Training institute in Delhi

    ReplyDelete
  55. Thank you so much for post. It is really help full. If any one want to know about R-Programming Language.
    R Programming training Center in Delhi/NCR

    ReplyDelete
  56. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your blog.
    Web Designing Training Institutes in Saket

    ReplyDelete
  57. Thank you for your post. This is excellent information.
    java training institutes Saket

    ReplyDelete
  58. Thank you for sharing such great information very useful to us.
    Selenium Training institute in Noida

    ReplyDelete
  59. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    https://tabsquareinfotech.com/website/best-it-company-in-chennai.php

    ReplyDelete
  60. Thank you for sharing such great information very useful to us.

    Best Selenium Training in Hyderabad

    ReplyDelete
  61. I really like your post. Thanks for sharing such a valuable post. Please keep sharing such kind of post. It will be helpful for other.

    best python institute in delhi
    best python institute in Noida

    best python institute in Gurgaon

    ReplyDelete
  62. Your good knowledge and kindness in playing with all the pieces were very useful.
    I don’t know what I would have done if I had not encountered such a step like this.
    Airport Taxi in Bangalore

    ReplyDelete
  63. Thanks for Sharing a very nice informative blog and its really helpful for us


    Thanks for Sharing a very nice informative blog and its really helpful for us
    tableau institute in delhi
    tableau institute in Noida
    tableau institute in Gurgaon

    ReplyDelete
  64. Thanks for giving an Excellent Blog about java class, it's very useful information to us, I found new info about Robot Class, keep on it doing like this, I wait for your updates. if you are looking Core java training center in Jaipur. then ratindia.com is the best institute for java. thanks for sharing this post. Thank you So much.

    ReplyDelete
  65. Beautiful tutorial.Thank you for sharing the precious HadoopTraining information.It's very helpful. Continue to share updated tutorials .....
    hadoop training in bangalore
    hadoop training in kalyan nagar
    hadoop training in marathahalli
    hadoop training in bellandur

    ReplyDelete
  66. Talentedgenext Way of Online Learning, Distance Education, is an increasing number of becoming popular all over the world due as it has many benefits. For further details visit in this site:- Distance Education Website,

    ReplyDelete
  67. Students who are willing to work and peruse education at the same time Distance education BBA/Business management and marketing management is the best option! For more info, visit-
    Distance Education BBA,

    ReplyDelete
  68. Beautiful tutorial. Thank you for sharing, I went through your blog, it helped me a lot and I also received some new information.
    data science classes near bangalore|
    data science training in marathahalli|
    hadoop classes near bellandur|
    hadoop courses in kalyan nagar

    ReplyDelete
  69. Thanks for Sharing a very nice informative blog and its really helpful for us.
    Python has been the top most powerful and flexible open source language that is really very easy to learn. In our instructor based Python Training in Bangalore Advance Level we will teach you how to use the powerful libraries for data analysis and manipulation https://indiancybersecuritysolutions.com/python-training-in-bangalore-advance-level/

    ReplyDelete
  70. Very creative and very informative content. This idea is a nice way to improve the sharing of knowledgethanks...
    Hadoop training in Bangalore
    Hadoop training in KalyanNagar|
    RPA training in Bellandur
    RPA training in KalyanNagar

    ReplyDelete
  71. Excellent information with unique content and it is very useful to know about the information based on blogs.

    salesforce Training in Bangalore
    uipath Training in Bangalore
    blueprism Training in Bangalore

    ReplyDelete
  72. Excellent information with unique content and it is very useful to know about the information based on blogs.

    salesforce Training in Bangalore
    uipath Training in Bangalore
    blueprism Training in Bangalore

    ReplyDelete
  73. Thanks for sharing such a great blog Keep posting.. 
    Javascript Training in delhi

    ReplyDelete



  74. Good details! thanks for sharing it. My many friends have taken certification from this offline learning platform
    SELENIUM TESTING IN PUNE

    ReplyDelete
  75. Nice blog..! I really loved reading through this article. Thanks for sharing such a amazing post with us and keep blogging...Well written article
    salesforce Training in Bangalore
    uipath Training in Bangalore
    blueprism Training in Bangalore

    ReplyDelete

  76. It’s great blog to come across a every once in a while that isn’t the same out of date rehashed material. Fantastic read.
    manual testing training in chennai |Manual testing course chennai

    ReplyDelete
  77. I have read your blog its very attractive and impressive. I like it your blog.

    Coupondunia
    best matrimonial site
    redbus ticket online booking

    ReplyDelete
  78. Thanks for sharing this information!
    I totally agree with you. Your information is very interesting and important. I really like this information.
    Our easy is Selenium Online Training in Hyderabad
    If you want to see our training venue then click on links:
    http://www.futureqtech.com/selenium-web-driver-training.php
    Call Now: +91 9581111796
    Drop Mail: info@futureqtech.com

    ReplyDelete
  79. Thanks for sharing this information!
    I totally agree with you. Your information is very interesting and important. I really like this information.Our easy web plans company is famous in Advanced Selenium Online Training in Hyderabad .
    If you want to see our training venue then click on links:
    www.futureqtech.com/selenium-web-driver-training.php
    Call Now: +91 9581111796
    Drop Mail: online@futureqtech.com

    ReplyDelete
  80. Thank you so much for sharing the post.Its very amazing to visit your blog with very good and relevant content.This post is useful for beginners as well as employees.
    amazon web services training institute in pune

    ReplyDelete
  81. Appreciating the persistence you put into your blog and detailed information you provide.

    Data science Course Training in Chennai |Best Data Science Training Institute in Chennai

    ReplyDelete
  82. It’s great blog to come across a every once in a while that isn’t the same out of date rehashed material. Fantastic read.Python Training in Bangalore

    ReplyDelete
  83. Really a awesome blog for the freshers. Thanks for posting the information.salesforce developer training in bangalore

    ReplyDelete
  84. I must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge. aws training in bangalore

    ReplyDelete
  85. Good post!Thank you so much for sharing this pretty post,it was so good to read and useful to improve my knowledge as updated one,keep blogging.
    Python Training in Pune

    ReplyDelete
  86. Nice blog and informative too, Thanks for sharing. You can also check the best IT Software Training Institutes in Bangalore.

    ReplyDelete
  87. Really a awesome blog for the freshers. Thanks for posting the information.
    Javascript Training in Delhi
    Javascript Training institute in Delhi

    ReplyDelete
  88. Lovely blog! Thanks for Sharing a very nice informative blog and its really helpful for us. Best Selenium Training in Pune

    ReplyDelete
  89. Nice blog and it's informative too good for learners who want to learn robotics. Thanks for sharing. You can also check best IT Software Training Institutes in Bangalore.

    ReplyDelete
  90. If you wish to upgrade your professional skills in technology, then you may join IoT Training Company in Noida which provides you training process and certification.

    ReplyDelete
  91. Nice Blog. Thanks for sharing valuable piece with us. Keep posting.....!!!

    Java Training in Jaipur

    ReplyDelete
  92. Thanks, for such a great post. I have tried and found it really helpful. For more details to visit training institute pune Pimple Saudagar.

    ReplyDelete
  93. Hi this is nice post. Thanks for sharing
    Sap FICO Training Online . Taking up a SAP FICO certification is the initial move towards starting a profession as a SAP FICO adviser.

    ReplyDelete
  94. I joined to learn Web develpoment and got good understanding of the subject. Classes are interactive and teaching methodology is very good. Recommended for anyone who's looking for this course

    Web Development Training Institutes in Bangalore

    Best Web Development Training

    MyClass Training

    ReplyDelete
  95. https://www.blogger.com/comment.g?blogID=2105455976004749882&pageID=1959369464778515106&page=2&token=1579355179076&isPopup=true

    ReplyDelete
  96. Great Article, I have read your post this is really helpful. Thanks for sharing important information and post. Such a nice post
    Software Testing Training in Bangalore

    ReplyDelete
  97. This is a great post. Your Blog the very informative i have learned some information about your blog.
    Learn more about:
    enterprise application testing company
    mobile app testing service
    application testing services
    ml model testing

    ReplyDelete
  98. This is really nice to read the content of this blog. A is a very extensive and vast knowledgeable platform that has been given by this blog. Thanks for sharing this helpful blog. RPA Training in Pune

    ReplyDelete

  99. Good post!Thank you so much for sharing this pretty post,it was so good to read and useful to improve my knowledge as updated one,keep blogging.selenium Training in pimple saudagar

    ReplyDelete
  100. Best article, very useful and explanation. Your post is extremely incredible. Thank you very much for the new information.
    selenium classes in pune hadapsar

    ReplyDelete
  101. Your info is really amazing with impressive content. Excellent blog with an informative concept. Really I feel happy to see this useful blog, Thanks for sharing such a nice blog.selenium training in pune

    ReplyDelete
  102. Thanks for your interesting information's in this blog is very much useful
    for me to improve my knowledge for more information aboutselenium training in pune

    ReplyDelete
  103. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. selenium Training in pimple saudagar

    ReplyDelete
  104. This is most informative and also this post most user friendly and super navigation to all posts.
    This is most informative and also this post most user friendly and super navigation to all posts.

    ReplyDelete
  105. Iconic Academic provides best Java training in Noida , Iconic Academic is one of the best result oriented Java training institute in Noida, provide basically, experimental knowledge in Java training in Noida. We provide you the comprehensive course materials with extreme knowledge by Java experts. Contact Us: 8920928177

    ReplyDelete
  106. Thanks for your great information, the contents are quiet interesting.I will be waiting for your next Blog.
    Python Online Training in India

    ReplyDelete
  107. Nice blog!! Join Samyak Computer Classes to develop your skills.
    For more information visit here :-
    Robotics Course in Jaipur
    SAP Course in Jaipur
    Python in Jaipur
    programming languages in Jaipur

    ReplyDelete
  108. I am really happy with your blog because your article is very unique and powerful for new.
    Python Training Institute In Bangalore

    ReplyDelete
  109. Great Post. Thanks for sharing a great information blog. i hope the enjoyed on reading the blog.
    Java Online Training
    Java Online Training In Chennai
    Java online Course in Chennai

    ReplyDelete
  110. Thank you for sharing such a nice and interesting blog with us regarding Java. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information.
    Salesforce Training in Chennai

    Salesforce Online Training in Chennai

    Salesforce Training in Bangalore

    Salesforce Training in Hyderabad

    Salesforce training in ameerpet

    Salesforce Training in Pune

    Salesforce Online Training

    Salesforce Training

    ReplyDelete
  111. Thank you for the most informative article from you to benefit people like me.. oracle training in chennai

    ReplyDelete
  112. I appreciate this piece of useful information. Kshemkari is one of the best leading institute for export and import training in Pune, Mumbai and more location.leading Trade and Training Institute for import and export business, provides the best service in India with expert Team For more information visit our site: Export Import Online Course

    ReplyDelete
  113. I appreciate this piece of useful information. Kshemkari Export Import academy one of the best leading Trade and Training Institute for import and export business, provides the best service in India with expert TeamFor more information visit our site: Export Import Certificate Training Online

    ReplyDelete
  114. IT industry has emerged as the most popular and glamorous career option in the recent field. It is one of the hot jobs and more and more individuals aspire to try their hands at it. Software Testing is one of the primary parts of the entire software development life cycle. Aptron offers Software Testing Training in Delhi in various locations. It is this process that assures the quality as well as reliability of the software.

    ReplyDelete
  115. I like you post. It is very useful to all.
    In this post having more useful information and improve our knowledge. Can you share more valuable information present Technology.

    SQL Training in Gurgaon
    Advanced Excel /VBA training in Gurgaon
    Tableau Training in Gurgaon

    ReplyDelete
  116. I have been reading for the past two days about your blogs and topics, still on fetching! Wondering about your words on each line was massively effective. Python Training Institute in Bangalore | Advance Excel+vba Training Institute in Bangalore
    | Selenium Training Institute in Bangalore

    ReplyDelete

  117. It is amazing and wonderful to visit your site. Thanks for sharing information; this is useful to us....
    R PROGRAMING COURSE IN DELHI

    FOR MORE INFO:

    ReplyDelete
  118. Thanks for the good words! Really appreciated. Great post.
    Visit us: dot net training
    Visit us: Dot Net Online Training Hyderabad
    Visit us: .net online training india

    ReplyDelete
  119. Have you heard about the offer that is going on in our institution. So here is the offer to tell you guys. We are conducting CS executive classes and free of cost CSEET classes only for you guys . Hurry up contact us or visit our website at https://uniqueacademyforcommerce.com/

    ReplyDelete
  120. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog.
    Visit us: uipath training in delhi
    Visit us: ui path online training
    Visit us: uipath training in hyderabad
    Visit us: ui path course in bangalore
    Visit us: RPA Ui Path Online Training
    Visit us: Ui Path Course Online

    ReplyDelete
  121. nices information thanku so much this information
    thanku so much
    nices

    ReplyDelete
  122. Nice information. It is very useful for me to learn and understand easily. Thanks for sharing
    Selenium online training in hyderabad

    ReplyDelete
  123. Thanks for your post which is truly informative for us and we will surely keep visiting this website.
    Visit us: Java Online Classes
    Visit us: Java Online Training Hyderabad

    ReplyDelete
  124. Download INTERACTIVE BROKERS Mt4: A Complete Solution For Your Forex Trading.

    ReplyDelete