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

3 comments:

  1. 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
  2. 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
  3. Indian Cyber Army validity in Ethical hacking training and Cybercrime investigation preparing learning and full help with essential and additionally propelled level moral hacking and cyber crime examination courses.

    ReplyDelete