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

5 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