Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
144 views
by Contributing Tester (14 points)
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!

1 Answer

0 like 0 dislike
by Contributing Tester (79 points)
Use AutoIt or Robot framework to do the same.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...