Configure AutoIt with Selenium script
1| Download AutoIt Full Installation and install
2| Create a new file with extension .au3 | Open a folder Right click > AutoIt v3 Script
3| Right click the file > Edit Script
4| Remove all the scripts (if present)
5| Select Tools > AU3Recorder [record and playback]
6| Select all the 3 check box before recording
7| Press 'Click To Record'
8| After recording, try to edit/remove the function name that starts with an underscore '_' (from script). ie., _AU3RecordSetup()
9| Right click the file > Compile Script
10| An executable file .exe will be generated and ready for integration with Selenium
11| Call the Autoit script, file.exe in Selenium script as shown below,
Runtime.getRuntime().exec("C:\\Users\\Sams\\Desktop\\create.exe");
Note:-
#1 Install SciTE, SciTE4AutoIt3.exe if the option, AU3Recorder found missing under tools menu.
#2 Sometimes issues like. "The program can't start because MSVCR100.dll is missing from your computer." may appear. Try installing,
Microsoft Visual C++ 2010 Redistributable Package (x86) (or)
Microsoft Visual C++ 2010 Redistributable Package (x64)
based on your machine support for fix.
#3 Autoitscript Functions
The blog gave me idea to handle window using Auto IT My Sincere Thanks for sharing this post
ReplyDeleteSelenium Training in Chennai
really you have post an informative blog. it will be really helpful to many peoples. so keep on sharing such kind of an interesting blogs. before i read this blog but now i got some knowledge.
ReplyDeleteselenium training in chennai
Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.
ReplyDeleteSelenium Training in Chennai | Software Testing Training in Chennai
The Blog gave us idea about the data driven testing My sincere Thanks for sharing this post and please continue to share this kind of post.
ReplyDeleteThanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.
Software Testing Training in Bangalore
Software Testing Training in BTM Layout
Software Testing Training in Marathahalli
ReplyDeleteI really enjoy it, to reading this
Mainframe Training In Chennai | Informatica Training In Chennai | Hadoop Training In Chennai
Webtrackker Technology is IT Company and also providing the Solidwork
ReplyDeletetraining in Noida at running project by the real time working trainers.
If you are looking for the Best Solidwork training institute in Noida
then you can contact to webtrackker technology.
Webtrackker Technology
C- 67, Sector- 63 (Noida)
Phone: 0120-4330760, 8802820025
8802820025
Solidwork training institute in Noida