Tag: robot class

Robot Class in Selenium

Robot Class in Selenium

Level7, Selenium
Robot Class in Selenium : Robot Class is available under java.awt.package, Robot class is a Java class which helps the Java developer to emulate the Mouse and Keyboard like actual user, also robot class helps to take screenshot of the desktop Some platforms require special privileges or extensions to access low-level input control. If the current platform configuration does not allow input control, an AWTException will be thrown when trying to construct Robot objects. So, we need to use either AutoIT or Robot class in Selenium Webdriver to interact the Windows Dialog boxes like upload and download.   Use of Robot Class in Selenium: Robot class emulates real user in front of the computer Using Robot Class we can handle keyboard and mouse events in Selenium. Robot ...