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

0 like 0 dislike
701 views
by
Hello Guys,
Can you suggest me a way to solve the below problem in selenium automation

In my webpage, there is a link to download the document. When I click this in chrome browser it prompts a Windows dialog to save the file.

How to click save on this windows dialog using selenium.

Please note: my office chrome browser settings are managed by admin. I can not change that manually.

2 Answers

1 like 0 dislike
by
If its a windows popup, selenium cant detect it. You may need to handle it using other windows automation tools like AutoIT, AutoHotKey,Winium, etc. All these tools offer simple commands to perform these tasks (which can easily be found online). And these scripts can be called from selenium/java code.
0 like 0 dislike
by
What are the scenarios did you tried???


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!

...