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

0 like 0 dislike
1.9k views
by The go-to Tester (473 points)
Some scenario like uploading the file. In this case window popup will open to browse and choose the file. Here selenium can not able to control such popup. then how can we automate this scenario in selenium webdriver

2 Answers

1 like 0 dislike
by Master (1.2k points)
 
Best answer
Selenium is just a browser automation tool. It is developed on top of JavaScript. So, anything that can not be controlled using JavaScript, Selenium will not be able to handle it.

So, windows popups like File save dialog, print dialog, windows credentials dialog cannot be controlled using Selenium.

In this case, you should use third-party tools like Sikuli or AutoIT to handle such popup.

But, using third-party tools will not let you do remote executions.
0 like 0 dislike
by Contributing Tester (52 points)
Thank you Mayur for information.

I have one question.

Is it possible to handle Windows Popup of remote server using AutoIT ?


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!

...