Free Courses –
Hi, I am Raghav and Today we will learn
What is a AutoIT
Why to use AutoIT
How to use AutoIT with Selenium
helpful tips
What is AutoIT
Software designed for automating windows GUI
Uses a combination of simulated keystrokes, mouse movement and window/control manipulation to automate tasks not possible using only Selenium
An AutoIt automation script can be converted into a compressed, stand-alone executable
AutoIT is Free
Works on Windows
Why to use AutoIT
Selenium cannot handle any non-browser / non-HTML elements
To handle such elements like:
Windows authentication box
File upload dialog box
Any other non-browser interaction
How to use AutoIT with Selenium
Step 1
Download and install AutoIT
Step 2
Download AutoIT Script Editor (SciTE)
Step 3
Open Au3Info.exe and locate objects on the windows GUI
Step 4
Create AutoIT Script and Test
Step 5
Call AutoIT script in Selenium Test
Runtime.getRuntime().exec(“location of autoit exe”);
helpful tips
Use AutoIT Help application
Refer AutoIT Docs
Project link –
PLAYLISTS
SELENIUM JAVA FRAMEWORK BEGINNERS
KATALON STUDIO
SELENIUM BEGINNERS
SELENIUM TIPS
SELENIUM PYTHON
SELENIUM BUILDER
JAVA
JAVA TIPS & TRICKS
JENKINS
JENKINS TIPS & TRICKS
JMETER BEGINNER
JMETER INTERMEDIATE
JMETER ADVANCED
JMETER TIPS & TRICKS
SOAPUI
POSTMAN
GIT & GITHUB
DOCKER
ROBOT FRAMEWORK
WEB SERVICES (API)
REDIS BEGINNER TUTORIALS
MAVEN
MISC
TOOLS & TIPS
QnA FRIDAY
SUNDAY SPECIAL
ALL PLAYLISTS
Like on FACEBOOK :
Follow on TWITTER:
Subscribe on YOUTUBE :
________ ONLINE COURSES TO LEARN ________
Nguồn:https://valiosys.com/
Xem thêm Bài Viết:
- Hướng Dẫn Cài Đặt Và Crack 3DMAX 2018
- Descargar e Instalar Vehicle Tracking 2017 2018 y 2019
- AutoCAD 2018 – Create 2D Projects, Filling, and Text [COMPLETE]*
- Curso de AutoCAD 2018 – Aula 01/45 – Do Básico ao Avançado – Autocriativo
- Sketchup 2017 Full crack – Hướng dẫn tải và cài đặt SketchUp 2017 and full crack
I have used:
path = os.path.abspath(filelink)
driver.find_element_by_xpath('//input[starts-with(@id,"AttachmentViewer_") and @name="uploadFileInput"]').send_keys(path)
and it's worked. How about Java?
i visited ur site but no contact no or mail.can u just mention ur contact mail or number in ur website as i will be needing help on payment basis
very nice & very helpful vedio raghav &
Hi tanks very much, BTW i would like to say that for me it did not work without [TITLE:Open] prefix
Have you figured out a way to make this work in headless mode or in a CICD tool without interactive mode? If you have a solution, pls let me know.
Hi Raghav, Whenever I'm trying to do file upload using Robot class and AutoIt I'm getting "InvalidAurgumentException". Please help me.
Hello Raghav, it was good demo. Apart I have one question related to AutoIt i.e. If I run AutoIt for only my desktop applications and how would i know whether the results are expected one or not. For ex: how to know exactly the result of one particular test case executed is pass or fail through AutoIt script. If possible Please provide one example for both test cases pass and fail.
Hello, do you have any idea about an alternative of AutoIT that can work on Linux operating systems? I want to perform the same scenario but using a Linux OS. Cheers!
Hello, I've got a quick question: for some reason the script is unable to find and click the "Choose file" button. What might be the problem?
public static void main(String[] args) throws Exception{
System.setProperty("webdriver.chrome.driver","C:\Users\RV\Desktop\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("http://www.tinyupload.com/");
driver.findElement(By.name("uploaded_file")).click();
Runtime.getRuntime().exec("C:\Users\RV\Desktop\fileUploadScript.exe");
Thread.sleep(5000);
driver.close();
}
Hi Sir,
I didn't get the Au3info.exe(3rd step) file though I followed the first two steps as you instructed, please make it clear if some thing missed in video for same
Thanks for sharing
thanks , good video , Is it posible to do an assert of a windows app?
Ideal teaching
hai raghavi ji this is sai krishna ,can make the video about uploading files using sikuli tool as soon as possible.
Thank u Raghav.. it help me alot. 🙂
Hi, can I run refer the exe file generated from autoit in a selenium code where autoit application is not available in system?
Thanks for your video it helps me a lot.
How can I use that on ubuntu?
Thanks, Nice. you would have completed that with clicking the upload button with automation,
Masha Allah..
Amazing Session Raghav ! This video has helped me accomplish a great task.
And your course at Udemy on Selenium Testing is also wonderful 🙂 :-):-)
wonderful tutorial. . following your all videos. learning has no boundires Even the LOC. 😀 😛
Enjoy this video and thanks for this video
Can you make one video on Sikuli Tool
How to run autoit using python ? I tried autoit.run("c://file_name.exe") it dint work .
Thank you this video. Your video is very good.
Please make one video on how to download Excel file from a website after doing login on that website.
We can upload the file also by using driver.findElements(By.id("browse button inspection")).sendKeys("file path");
Is it possible to run this script in sauce lab? If so could you provide me the solution for this. Since i need to run my script in sauce lab which contains autoIT file. I am struggling over here for more then days.
thanks you man! i was trying to automate downloads into the
file sharing with autoIt but in "autoIt" documentation was decision how to control the Internet Explorer not Chrome
magic
Can I use AutoIt to run windows based application? If yes then how can i set path of the exe where it is stored?
Thanks Raghav for uploading this session,it is a great and understandable.I got all clarity about AutoIT.
Hi Raghav, am trying to automate Web Application in IE browser , if we click on Sign in link, we will have Windows security will be there to enter credentials, have successfully automated with AutoIt tool, but after performed it, there is no action takes place like ,unable to click the other elements available in the Webpage. even testng method is also not terminating in eclipse. its simply logged and no other actions takes place.
providing your inputs will be very helpful.
Thanks. This was a useful introduction.
Hello Raghav, Your explanation is too good..Could you please be a bit slower??..Frankly, if you want to be a great instructor you will need to maintain the pace as well..At this point, I am finding you too fast..when you teach a new concept..you need to go slow..Apart from that the content and the quality is excellent..Keep up the good work!! Thanks!!!!
thank you very much it's very nice, i'll try to handle windows OS popup with this.
Hi Raghav,
Just wanna know, is it possible to throw a boolean return type outside the .exe file in AutoIT?
How can I make it generic as I can run the same code anywhere (other machine or server)?
Wonderful Video. Looking forward to learn more on AutoIT scripting. Can you please make more videos on it. Or if can help on it.
So informative tutorial explained in very simpler way. Raghav, Is AutoIT is capable to automate Mainframe screens also?
Awesome tutorial! Two thumbs up.
selenium is web based and we can use auto it for windows…does it mean i can just use auto it in automating window based application just like UFT?
Alternative of Autoit for mac
Hi Raghav, this is another very useful video. Currently I am struggling to download a file from IE. Do you have any video how to download the file using AutoIT?
Very super explanation Sir if u teach little bit slowly it will be better still to listen but super Sir thank u we want ur teach more we are waiting Sir…
I've been waiting AUTOIT tutorial video since i subcribed this chanel. Thank you so much Raghav…