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

0 like 0 dislike
666 views
by Expert (572 points)
edited by

I am writing a script in which I have save file dialog popping up. How do I ignore it?

1 Answer

0 like 0 dislike
by The go-to Tester (142 points)
You can't really skip it as until you cancel it or save it, this dialog will not let you proceed.

I suggest you to use third party tools like AutoIT or Sikuli to handle the dialog. It can't be handelled by Selenium as this dialog is generated by the OS so, it is beyond the scope of JavaScript.

In case of any thrird party tool like Sikuli or AutoIT, you will not be able to execute your step on the remote machine.

I suggest you to rewrite your test in such a way that you can avoid the above step.


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

...