Whats the Need of AutoIt in Selenium
Selenium core JavaScript engine don't have capability to handle the windows pop-up due to same origin policy, so we need to use some other tools.
It will be handled through AutoIT.
Once you are able to click on browse button and a dialog box is open to choose the file then you just run a AutoIT script which will help to select the file from your local or remote drive and control will come to your web page to proceed with selenium.
It will be handled through AutoIT.
Once you are able to click on browse button and a dialog box is open to choose the file then you just run a AutoIT script which will help to select the file from your local or remote drive and control will come to your web page to proceed with selenium.
What is Auto It.
1-Autoit is an open source tool which can work with Desktop Applications.
2-It uses a combination of simulated keystrokes,mouse movement and window/control manipulation in order to automate tasks in a way not possible with other languages (eg:VBScript and Send Keys).
Download Autoit
Step1:Click on Download Autoit
Step3:Double click on this set up and install it on to Your system.
Step4:Click on Run
Step5:Click on Next
Step4:Click on Run
Step5:Click on Next











0 comments:
Post a Comment