Saturday, 14 May 2016

What is Robot Class in Selenium WebDriver

Using Robot class, we can simulate keyboard event in Selenium.
To use keyboard event you have to use to method of Robot class.

Robot Class in Selenium Webdriver

keyPress()
keyRelease()
Each key has to be press and release respectively-

Scenario- Which cover enter key
1-Open Facebook.
2- Enter Username and password.
3- Using robot class press Enter button.

Program for  Robot Class in Selenium Webdriver

9 comments:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai blog

    ReplyDelete
  2. Thanks for the great information ,was looking for this information from long.Great blog SAP Basis Training in Chennai

    ReplyDelete
  3. Best blog.Got to learn new things.Thanks for this Blog SAP HR Training in Chennai blog

    ReplyDelete
  4. Great place to learn about the new things and got great knowledgeSAP MM Training in Chennai

    ReplyDelete
  5. After reading this blog I am very strong in this topics and this blog is really helpful to all.. Explanation are very clear so it is easy to understand.. Thanks for sharing this blog…
    Dot Net Training in Chennai | Java Training in chennai

    ReplyDelete
  6. Indian Cyber Army gives the best in the Cyber crime investigation. We have put our foot one-step forward launching an effective Summer Internship program.The Summer Internship 2018 registrations are open for 2nd batch starting from 2 July 2018. Our standard services of Cyber Crime Investigation are class apart owing to years of proficiency. We provide Advanced Cyber Security, Ethical Hacking, Digital Forensics, etc. trainings to keep India totally secure from the Cyber Offenders. MAke your career in ethical hacking

    ReplyDelete
  7. wow ! nice post Indian Cyber Army gives the best in the Cyber crime investigation. We have put our foot one-step forward launching an effective Summer Internship program.The Summer Internship 2018 registrations are open for 2nd batch starting from 2 july 2018.

    ReplyDelete
  8. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site. The Information security community consists of experts from a diverse range of disciplines, experiences, and training. Indian Cyber Army has been dedicated in fighting cyber crime, striving to maintain law and order in cyberspace so as to ensure that everyone remains digitally safe. Join with to create awareness, handle the project and make the career in this field.

    ReplyDelete