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!