Webdriver Tutorial

Use Java Robot To Operate Download Popup Dialog In Selenium WebDriver

java.awt.Robot class is very useful when you need to control the mouse or keyboard to operate OS-based windows dialog such as Download popup, Print popup, etc. It can also be used to operate native OS GUI applications like Calculator, Notepad. Because selenium webdriver can not test OS-based window applications or popups directly, so java.awt.Robot can …

Use Java Robot To Operate Download Popup Dialog In Selenium WebDriver Read More »

How To Use Java Robot To Upload File In Selenium Webdriver

Upload file is a common task in web based application. It is not easy to implement in selenium webdriver automation, because the upload file component will popup a select file dialog which can not be handled by selenium webdriver. But java.awt.Robot provide method to interact with OS native window dialog, this article will show you …

How To Use Java Robot To Upload File In Selenium Webdriver Read More »