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

Uploading files is a common task in web-based applications. It is not easy to implement in selenium WebDriver automation, because the upload file component will popup a select file dialog that can not be handled by the selenium WebDriver. But java.awt.Robot provide a method to interact with OS native window dialog, this article will show

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