power_settings_new
We are building an automated bucket of tests in the Eclipse-Java-Selenium environment, to test a web-based application.  We use the Page Object Model (POM) to acquire the locators of each needed object on a page, then build method to click them, etc.  On one particular page, we will click an icon to open a newly-created Excel spreadsheet.  When that icon is clicked, the application displays a orange-colored strip at the bottom of the page that displays:

Do you want to open or save filename.csv from websitename.net?  {Open] [Save]V [Cancel]

Does anyone know how to write code to click the [Open]  button, as shown above?  We are in the Eclipse IDE, Java language, with the Selenium plug-in.

Thanks to anyone who will help!

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (59 points)
0 votes
Use AutoIt or Robot framework to do the same.
add
...