Handling Security Authentication Pop-up Using Autoit-Selenium WebDriver!!!
Implementation of AUTO IT in Selenium
Pre-Requisites: Download the
AutoIT Full Installation and AutoIT Script Editor from the url AutoIT
Website http://www.autoitscript.com/site/autoit/downloads/
Download both the AutoIt Window Identification and Editor
Step2-Write the below program and Save the program.
$title= "Authentication Required"
WinWaitActive($title)
send("sudheer")
send("{TAB}")
send("welcome")
send("{ENTER}")
Step3- Compile the Script which generates the .exe file.
Step4-Execute the Script
Step5- Implement this selenium.
Runtime.getRuntime().exec("Absolute path to the https autoit script ");
$title= "Authentication Required"
WinWaitActive($title)
send("sudheer")
send("{TAB}")
send("welcome")
send("{ENTER}")
Step3- Compile the Script which generates the .exe file.
Step4-Execute the Script
Step5- Implement this selenium.
Runtime.getRuntime().exec("Absolute path to the https autoit script ");
1 comments:
My Selenium code written using webdriver is not recognizing the AutoIt script for window's authentication.Can anyone help me here?
Post a Comment