You are really a great mentor. when I have doubts, always refer your videos. You really helping lot of new professionals. I wish to meet you once.
@RaghavPal4 жыл бұрын
So nice of you Kumaran, will definitely meet someday
@hendroriu6 жыл бұрын
I've been waiting AUTOIT tutorial video since i subcribed this chanel. Thank you so much Raghav...
@RaghavPal6 жыл бұрын
Glad to know this Eko.
@dhananjay6774 жыл бұрын
Amazing explanation great teacher ever I have seen in my life.
@RaghavPal4 жыл бұрын
Thanks Dhananjay
@dhananjay6774 жыл бұрын
Sir please make video on how to upload file without using autoit
@RaghavPal4 жыл бұрын
Sure, I will do in a new series Dhananjay
@dhananjay6774 жыл бұрын
@@RaghavPal thank you very much for your reply.because this question is asked me for congizent interview in pune
@NishthaS-i4d Жыл бұрын
Very Helpful video.Thanks so much!
@RaghavPal Жыл бұрын
You're welcome Nishtha
@kshipra45042 жыл бұрын
How to use auto it in maven project? i mean without downloading its jars, giving dependency in pom.xml only.
@RaghavPal2 жыл бұрын
Hi Kshipra, not tried it , Can try checking online stackoverflow.com/questions/35837672/maven-dependancy-autoit
@johnvictor43324 жыл бұрын
You made it look simple and easier.. Thank you
@RaghavPal4 жыл бұрын
You’re welcome 😊John
@Keralite292 жыл бұрын
Very clearly explained, thank you.
@RaghavPal2 жыл бұрын
Most welcome
@venkateshshanam1661 Жыл бұрын
Thank you @Ragav pal Sir. This video is very useful.
@RaghavPal Жыл бұрын
Most welcome Venkatesh
@BountyB0b5 жыл бұрын
Thanks. This was a useful introduction.
@RaghavPal5 жыл бұрын
You're welcome
@anouarchouikh23054 жыл бұрын
You are the best teacher ever! I’m in love with your videos and with the way you explain things ...
@RaghavPal4 жыл бұрын
You're welcome Anouar
@yusufevan95333 жыл бұрын
I guess it's kinda off topic but do anyone know of a good website to watch newly released series online ?
@joshuadamon33943 жыл бұрын
@Yusuf Evan flixportal xD
@yusufevan95333 жыл бұрын
@Joshua Damon thank you, I signed up and it seems like they got a lot of movies there :) I appreciate it !!
@joshuadamon33943 жыл бұрын
@Yusuf Evan glad I could help xD
@rajeshkumar-no8sp4 жыл бұрын
Awsm Sir! Thank you so much for your support!!!! I loved your magic videos....your magic videos make beginners from zero to hero.
@RaghavPal4 жыл бұрын
So nice to see your message Rajesh. Humbled
@deepalikulkarni38493 жыл бұрын
Thanks, Raghav. You are an amazing mentor.
@RaghavPal3 жыл бұрын
Thanks Deepali
@sanjeebkumargouda14713 жыл бұрын
Great Video, helped a lot Thank you so so much..
@RaghavPal3 жыл бұрын
Most welcome Sanjeeb
@sumitsaha97824 жыл бұрын
Thanks Raghav da. I've one clarification. If I've to select multiple files from the upload window, how would we use the autoIT scripting. Kindly advise.
@RaghavPal4 жыл бұрын
Hi Sumit, this can help - stackoverflow.com/questions/38503366/how-to-upload-multiple-files-by-using-autoit services.focusinfotech.com/uploading-files-through-selenium-using-autoit/
@valarmorghulis62204 жыл бұрын
Thank You, bro, very useful information for me.
@RaghavPal4 жыл бұрын
You are welcome Valar
@satyendrasharma16884 жыл бұрын
Hi Raghav, you are hard coding file path in autoit script.exe, is der any way to parameterize it? so tahat same exe can work with any file?
@RaghavPal4 жыл бұрын
Yes Satyendra, you can check my video on properties file.
@mandheermaan4 жыл бұрын
Really Very Nice Presentation !!!
@RaghavPal4 жыл бұрын
Thanks a lot Mandheer
@deepika51373 жыл бұрын
Thanks Raghav for your wonderful video.But I have a query I have to upload file in my existing project on clicking the upload file web element default D drive is opened but I have my file in E drive.Is it possible to switch between the drives with AutoIt?
@RaghavPal3 жыл бұрын
Hi Deepika, yes you should be able to do with AutoIT, can check some online examples www.autoitscript.com/forum/topic/187770-upload-file-to-a-website/
@rajeshbe22346 жыл бұрын
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...
@RaghavPal6 жыл бұрын
Thanks for your message and feedback Rajesh
@sdetbyraviteja568 Жыл бұрын
Hi sir nice explanation thankyou so much
@RaghavPal Жыл бұрын
Most welcome
@dan2thi6 жыл бұрын
Awesome tutorial! Two thumbs up.
@RaghavPal6 жыл бұрын
Thanks Danush
@fleetc3 жыл бұрын
Thank you, excellent tutorial!
@RaghavPal3 жыл бұрын
You're very welcome!
@saleemshaikh33045 жыл бұрын
Thanks Raghav for uploading this session,it is a great and understandable.I got all clarity about AutoIT.
@RaghavPal5 жыл бұрын
Glad to know this Saleem
@AndresSanchez-nu3tb4 жыл бұрын
Good morning, I love your tutorials, thanks! I have a question, what tool can I use to automate mainframes specifically as400?
@RaghavPal4 жыл бұрын
Thanks for watching. Not sure on mainframe.
@safiatakeem19435 жыл бұрын
wonderful tutorial. . following your all videos. learning has no boundires Even the LOC. :D :P
@RaghavPal5 жыл бұрын
True Safia, keep learning.
@RichaS-dp8wd6 жыл бұрын
Wonderful Video. Looking forward to learn more on AutoIT scripting. Can you please make more videos on it. Or if can help on it.
@RaghavPal6 жыл бұрын
Sure Richa. Will add more soon.
@balaganesh79536 жыл бұрын
Very good, looking forward to learn more on it......
@RahulSharma-di4uh6 жыл бұрын
So informative tutorial explained in very simpler way. Raghav, Is AutoIT is capable to automate Mainframe screens also?
@RaghavPal6 жыл бұрын
Thanks, Rahul, AutoIT works on windows control, so don't think it can handle mainframe properly
@madhavannadata2184 жыл бұрын
very nice & very helpful vedio raghav &
@RaghavPal4 жыл бұрын
Thanks Madhav
@tuhindhara21663 жыл бұрын
Thank you for this video🙏
@RaghavPal3 жыл бұрын
Welcome Tuhin
@NareshKumar-lg4dr5 жыл бұрын
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.
@RaghavPal5 жыл бұрын
Hi Naresh, there is an assert function. Pls check - www.autoitscript.com/forum/topic/89010-assert/
@tejastoley67145 жыл бұрын
We can upload the file also by using driver.findElements(By.id("browse button inspection")).sendKeys("file path");
@RaghavPal5 жыл бұрын
Thanks for adding Tejas
@razvanvancea90025 жыл бұрын
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("www.tinyupload.com/"); driver.findElement(By.name("uploaded_file")).click(); Runtime.getRuntime().exec("C:\\Users\\RV\\Desktop\\fileUploadScript.exe"); Thread.sleep(5000); driver.close(); }
@RaghavPal5 жыл бұрын
HI Razvan, will have to check the logs to troubleshoot
@banup4077 Жыл бұрын
Thanks for sharing. Is auto it script can be write anywhere like notepad or anyother already available platform. Or only in auto it editor.
@RaghavPal Жыл бұрын
Hi Banu, AutoIt scripts can be written in any text editor, such as Notepad, Notepad++, or Sublime Text. However, it is recommended to use the AutoIt Script Editor, which is the official development environment for AutoIt scripts. The AutoIt Script Editor provides a number of features that make it easier to write, debug, and maintain AutoIt scripts, such as syntax highlighting, code completion, and debugging tools. To write an AutoIt script, simply open the AutoIt Script Editor, create a new script, and start writing your code. When you are finished, save the script with a .au3 extension and run it by double-clicking the file or by using the AutoIt interpreter, AutoIt3.exe. If you prefer to use a different text editor, you can still write and run AutoIt scripts, but you will need to manually run the AutoIt interpreter on the script file to execute it. Note that you will miss out on the helpful features provided by the AutoIt Script Editor.
@AliRazaAkram-d6c11 ай бұрын
very informative video
@RaghavPal10 ай бұрын
Thanks Ali
@badakhiladi45743 жыл бұрын
thank you sir this is useful now also
@RaghavPal3 жыл бұрын
most welcome
@arskarthick74402 жыл бұрын
Ragav.. Can you please tell the open source tool to test QT desktop application?
@RaghavPal2 жыл бұрын
can try winapp driver
@harishkce1989 Жыл бұрын
hello Raghav..Is autoIT recommended to automate UI funtionality of swing based desktop application ? alike replacement of UFT tool
@RaghavPal Жыл бұрын
Hi Harish **AutoIt** is a free, open-source automation tool that can be used to automate UI functionality of swing based desktop applications. It is a powerful tool that can be used to automate a wide range of tasks, including: * **Clicking on buttons and links** * **Entering text into fields** * **Selecting options from menus** * **Scrolling through pages** * **Taking screenshots** * **Generating reports** AutoIt can be used to automate swing based desktop applications in a similar way to how it can be used to automate other types of applications. However, there are a few things to keep in mind when automating swing based applications: * **Swing applications are often event-driven.** This means that they respond to user input by firing events. AutoIt can be used to simulate user input by firing these events. * **Swing applications often use custom controls.** These controls may not be supported by AutoIt by default. In these cases, you may need to write custom code to interact with the controls. Overall, AutoIt is a good choice for automating UI functionality of swing based desktop applications. It is a powerful tool that can be used to automate a wide range of tasks. However, it is important to keep in mind the specific features of swing based applications when using AutoIt. **UFT**, or Unified Functional Testing, is a commercial automation tool that can also be used to automate UI functionality of swing based desktop applications. UFT is a more comprehensive tool than AutoIt, and it offers a wider range of features. However, UFT is also more expensive than AutoIt. Ultimately, the best tool for automating UI functionality of swing based desktop applications depends on your specific needs and requirements. If you are looking for a free and open-source tool, then AutoIt is a good option. If you are looking for a more comprehensive tool with a wider range of features, then UFT is a good option.
@harishkce1989 Жыл бұрын
@@RaghavPal Thanks a lot Raghav.. I am facing major issue with this desktop application ... as AutoIT object spy tool is not able to identify the objects such as (Menubar,Tables(cant select rows),tabs inside frame) .. * The least possibility is i could click those components with mouse co-ordinates(x,y) * I tried downloading recorder from old version but it is still the same when i generated the script automatically
@RaghavPal Жыл бұрын
Harish I understand that you are having trouble with AutoIT object spy tool not being able to identify objects in a desktop application. There are a few things that you can try to fix this issue: 1. Make sure that the AutoIT object spy tool is up to date. You can download the latest version from the AutoIT website. 2. Try using a different object spy tool. There are a number of other object spy tools available, such as SikuliX and Watir. 3. Try using the mouse coordinates to click on the objects. This is not ideal, but it may be the only way to interact with the objects if the object spy tool is not able to identify them. Here are some additional tips for using AutoIT object spy tool: * Make sure that you are using the correct version of AutoIT for your operating system. * Try using a different window size. Sometimes, the object spy tool can't identify objects if the window is too small. * Try refreshing the object spy tool. Sometimes, the object spy tool can't identify objects if the application is not fully loaded. If you are still having trouble with AutoIT object spy tool, you can try searching for help online. There are a number of forums and websites that can help you troubleshoot this issue. I hope this helps!
@harishkce1989 Жыл бұрын
@@RaghavPal Thanks Raghav..for your inputs...think would be lot of efforts in trying out with autoIT as per your comments...thinking of trying out with katalon studio trail version
@sdetworld89976 жыл бұрын
thank you very much it's very nice, i'll try to handle windows OS popup with this.
@RaghavPal6 жыл бұрын
Sure Raman, although you should try this only when you want to do something that cannot be handled with Selenium or the prog language
@kaviarasu56583 жыл бұрын
In control set text instead of passing the file path can we pass dynamic path because while executing it from other machine the file may not be found if so the script gets failed how to handle this
@RaghavPal3 жыл бұрын
Hi Kavi, should be able to, can also check some examples
@kamrunkanta4696 Жыл бұрын
Hi Raghav thank for sharing. Good tutorial. Is there any way i can use Auto IT to copy one file from a folder and paste it to Another folder?
@RaghavPal Жыл бұрын
Hi Kamrun Yes, you can use AutoIt to automate the process of copying a file from one folder and pasting it into another folder. AutoIt provides functions and methods to interact with the Windows operating system and perform tasks like file operations. Here's an example script that demonstrates how to use AutoIt to copy a file and paste it into another folder: ```autoit ; Open the source folder Run("explorer.exe /select,C:\Path\To\Source\Folder") ; Wait for the folder window to open WinWaitActive("[CLASS:CabinetWClass]", "") ; Copy the file Send("^c") ; Simulate the Ctrl+C key combination ; Open the target folder Run("explorer.exe C:\Path\To\Target\Folder") ; Wait for the folder window to open WinWaitActive("[CLASS:CabinetWClass]", "") ; Paste the file Send("^v") ; Simulate the Ctrl+V key combination ; Wait for the paste operation to complete Sleep(2000) ; Adjust the delay as needed ``` In this example, replace `C:\Path\To\Source\Folder` with the path to your source folder and `C:\Path\To\Target\Folder` with the path to your target folder. The script uses the `Run` function to open the folder windows, the `WinWaitActive` function to wait for the windows to become active, and the `Send` function to simulate key presses for copying and pasting Save the script with a `.au3` extension, and you can compile it into an executable using the AutoIt Compiler. When you run the compiled executable, it will automate the file copy and paste operation Please note that AutoIt is a Windows-specific automation tool, so it will only work on Windows operating systems
@farukhalvi19883 жыл бұрын
Hey Raghav. Will this run fine on Dockers or Browser stack. This will only run on Windows and not on Mac. so I thought to ask about Dockers and Browser Stack
@RaghavPal3 жыл бұрын
We can get a Docker Image with AutoIT installed, check this github.com/cord-b/docker-aut2exe For browserstack can check this - www.autoitscript.com/forum/topic/159539-running-autoit-script-remotely/
@HariHaran-mx5ko2 жыл бұрын
Raghav in our team for automating desktop application they are planning to buy Tricentis Tosca I just came across your session do you think we can do a end to end automation with auto it can we pass values from Excel and create logic through coding ??
@RaghavPal2 жыл бұрын
Hi Hari, not very sure on Tosca, you will need to check some online resources for now
@HariHaran-mx5ko2 жыл бұрын
@@RaghavPal thanks for your response my doubt is not regarding Tosca is it possible to do with Auto IT , because I am seeing only simple steps been automated using Auto IT in many tutorials . Can we script a complete windows application automation using Auto IT like looping passing datasets from Excel etc .
@RaghavPal2 жыл бұрын
I will try
@razvanvancea90025 жыл бұрын
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!
@RaghavPal5 жыл бұрын
This will help - alternativeto.net/software/autoit/?platform=linux
@dapomorenigbade995811 ай бұрын
Is there a way to change the default directory as the setkey is giving me error using edit as it is not opening the file unless I am able to change the directory, kindly explain how that can be done
@RaghavPal11 ай бұрын
Dapo In AutoIt, you cannot directly change the default directory using `SetKey`. However, there are other ways to achieve what you're looking for: 1. Use `FileChangeDir`: This function explicitly changes the working directory for AutoIt scripts: ``` $newDir = "C:\Path\To\New\Directory" FileChangeDir($newDir) ; Your other AutoIt commands here FileChangeDir(@WorkingDir) ; Change back to original directory ``` 2. Use `Send` with Full Path: Instead of relying on the current directory, specify the full path to the file in the `Send` command: ``` $filePath = "C:\Path\To\File.txt" Send("!+{a}") ; Select all Send("{DEL}") ; Delete existing content Send("This is new content in " & $filePath & "{Enter}") ``` 3. Use File Dialog Function: Open a file dialog to let the user manually select the directory: ``` $file = FileSelectFile("Open", "", "*.txt") ; Open a file selection dialog $filePath = _FileFullPath($file) ; Get the full path of the selected file ; Your other AutoIt commands using $filePath ``` 4. Consider Alternative Approaches: Depending on your specific use case, there might be more suitable methods: - If you're modifying a specific file, open it with `FileOpen` directly. - If you're working with multiple files in a specific directory, consider using functions like `_DirRead`, `_FileFind`, or `_FileListFiles` to access them within that directory. Remember to replace the example paths and file names with your actual values. Choose the method that best suits your script's functionality and avoids relying on `SetKey` for directory changes.
@kapiljain44234 жыл бұрын
Hi, Your each videos are very simple to understand. I need one suggestion , actually I want to print broswer console output into my eclipse console using java selenium. I am trying but could not find the solution.I hope you will give a solution with wonderful video.
@RaghavPal4 жыл бұрын
Hi Kapil, I will too need to do some search for this. Will plan something
@kuntalbose45705 жыл бұрын
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.
@RaghavPal5 жыл бұрын
Hi Kuntal, I found some discussion here, will be useful for your scenario
@vadjunzy5 жыл бұрын
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
@RaghavPal5 жыл бұрын
Have you tried on chrome. commands should work on all browsers
@arunkumar-qc9zc5 жыл бұрын
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.
@RaghavPal5 жыл бұрын
Hi Arun, did you check if you need to switch to the browser after handling authentication pop-up. Pls check, also take some online help.
@arunkumar-qc9zc5 жыл бұрын
@@RaghavPal Thank you Raghav.
@chandankumar-np9ez5 жыл бұрын
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.
@RaghavPal5 жыл бұрын
Thanks Chandan, will check on that
@alexvillarreal39475 жыл бұрын
thanks , good video , Is it posible to do an assert of a windows app?
@RaghavPal5 жыл бұрын
You can add assertions www.autoitscript.com/forum/topic/57444-assertions-in-autoit/
@SivaKumar-fi5cz5 жыл бұрын
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
@RaghavPal5 жыл бұрын
Hi Siva, I have recorded the video as I was doing hands-on on my system, so nothing should be missing. Also I do not see any change in ver on the AutoIt page here - www.autoitscript.com/site/autoit/downloads/ Pls check again. Also see in case it is a hidden file
@qzorn44403 жыл бұрын
Gee, this is nice... Sir, do you have an Autoit video using the old time Rs232 serial com-port pins: DSR, RTS, CTS, DTR = high/low to trigger Windows events like F11 F12? thanks a lot...:)
@RaghavPal3 жыл бұрын
Not aware of this, will need to check online
@radhikabasker61183 жыл бұрын
Will it support to work in Linux server Robot framework, selenium?
@RaghavPal3 жыл бұрын
AutoIT works on window www.autoitscript.com/forum/topic/47228-autoit-linux/
@Yaddalapudi5 жыл бұрын
hai raghavi ji this is sai krishna ,can make the video about uploading files using sikuli tool as soon as possible.
@RaghavPal5 жыл бұрын
Hi Sai, asap will be difficult. Working on other projects
@richard_shaju Жыл бұрын
Amazing
@RaghavPal Жыл бұрын
Thanks Richard
@Kuldeepkumar-xv6ok2 жыл бұрын
I created a executable file for uploading attachment and in Robot Framework log it is showing as it ran successfully but in webpage I can't see file getting uploaded. Can you plz help if I'm missing step.
@RaghavPal2 жыл бұрын
Hi Kuldeep, you can add some check to confirm file is uploaded on the website
@jayeshkatariya65852 жыл бұрын
Hi Raghav, First of all, thanks for such interesting knowledge sessions. Can you please suggest some alternatives to the TinyUpload URL, as the same is been down from around 2 years and not working..??
@RaghavPal2 жыл бұрын
can use any other site like filebin.net/ Can get more online
@sowjanyatminds40274 жыл бұрын
Hi Raghav I hope you are doing well Am new to performance testing I wanted to perform upload file am using jp@gc webdriver sampler in Jmeter when am trying to use sendkeys to upload file it is not working I have tried robot class, javascript executor finally checking autoit Can you please let me know ... Give me suggestion on what should I use here
@RaghavPal4 жыл бұрын
Hi Sowjanya, I think you posted this on a diff video. You can test file upload or download scenario without using the JMeter webdriver sampler. Check the JMeter videos here - automationstepbystep.com/
@scaratlas33472 жыл бұрын
Is there an alternative to tinyupload?
@RaghavPal2 жыл бұрын
There may be several, Can try online alternativeto.net/software/tinyupload-com/
@ThePratapunique5 жыл бұрын
Ideal teaching
@RaghavPal5 жыл бұрын
Thanks for watching.
@ayyajjamadar63875 жыл бұрын
Enjoy this video and thanks for this video Can you make one video on Sikuli Tool
@RaghavPal5 жыл бұрын
I will do Ayyaj
@RajKumar-lo1km5 жыл бұрын
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.
@RaghavPal5 жыл бұрын
Hi Raj, not tried, here are some links to help wiki.saucelabs.com/display/DOCS/Running+an+AutoIt+Script+as+a+Pre-run+Executable+to+Handle+Windows+Security+Authentication+Dialogs
@RajuDas-zn3gx6 жыл бұрын
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?
@RaghavPal6 жыл бұрын
Hi Raju, not yet
@sush39035 жыл бұрын
Can I use AutoIt to run windows based application? If yes then how can i set path of the exe where it is stored?
@RaghavPal5 жыл бұрын
Hi Sush, you can do windows application testing with AutoIT. Check these www.optimusinfo.com/blog/automating-applications-autoit www.autoitscript.com/forum/topic/194465-windows-desktop-applications-automation-using-autoit/
@prajaktawalhekar96013 жыл бұрын
why i am not getting compile and run script options, though my file has been saved with .au3 extention
@RaghavPal3 жыл бұрын
Hi Prajakta, looks like something is missing in your setup. I will suggest to check the setup again from Step 1
@marsh66766 жыл бұрын
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?
@RaghavPal6 жыл бұрын
Yes you can use AutoIT for windows apps
@vishnua39354 жыл бұрын
Hi Raghav, Getting "org.openqa.selenium.InvalidArgumentException: invalid argument" while trying to execute the script. Followed the same step explained above.
@RaghavPal4 жыл бұрын
Hi Vishnu, will need to check detailed logs. Can also take some online help on this
@vishnua39354 жыл бұрын
@@RaghavPal full logs provided in LinkedIn. Please check.
@jyotirh90 Жыл бұрын
Use Action class to click on that element
@ArunRajpidige4 жыл бұрын
what should we do to work for remote webdriver
@RaghavPal4 жыл бұрын
Hi Arunraj, found some discussions on this. Can help www.autoitscript.com/forum/topic/159539-running-autoit-script-remotely/ www.quora.com/How-do-I-use-Selenium-WebDriver-along-with-AutoIt
@abhedpatil4 жыл бұрын
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.
@RaghavPal4 жыл бұрын
Hi Abhed, not tried, will have to check options online
@kshipra45043 жыл бұрын
Which approach is better--- Auto It, Sikuli or Robot class?? And, why??
@RaghavPal3 жыл бұрын
Hi Kshipra, in general AutoIT and Sikuli works well for desktop applications, but I suggest to check your scenario and do a POC before finalizing
@kshipra45043 жыл бұрын
@@RaghavPal Hi Raghav, I have used all these 3 ways , yet not clear which one is better. Auto IT involves exe file which works for Windows only; Use of Sikuli involves pixel issues of images sometimes when TCs are run on other machine; Robot class seems to be better choice then, but this again only works with Java projects.
@kalpatarusahoo63092 жыл бұрын
Hi there can we conect remote server through auto it
@RaghavPal2 жыл бұрын
Hi, I believe you are trying to run auto it scripts on remote machine, this can help www.autoitscript.com/forum/topic/167345-how-to-run-auto-it-script-on-a-remote-machine/
@akashtomar13883 жыл бұрын
Can we also open the downloaded pdf file by using auto it with selenium
@RaghavPal3 жыл бұрын
If autoit can do it you can use it in selenium framework.
@zisukumar59093 жыл бұрын
I am able to upload the Image when running the script .exe file manually but on integrating this with selenium its not pasting the file path in Windows popup. Please help
@RaghavPal3 жыл бұрын
Hi Zisu, will need to see the logs
@aeroboy0025 жыл бұрын
Thanks, Nice. you would have completed that with clicking the upload button with automation,
@RaghavPal5 жыл бұрын
Sometimes upload with selenium have issues, this was to demo the use of AutoIT
@ChristianESL5 жыл бұрын
Thanks for sharing
@RaghavPal5 жыл бұрын
You're welcome Chris
@shrirams85784 жыл бұрын
hey bro,the script file is working fine..but while running it in eclipse,the (chosefile) from the tinyupload website is not clicking..have tried every method. it shows exception like{Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument} Kindly help me bro
@RaghavPal4 жыл бұрын
Hi Shriram, Can you try with a diff website
@vishnuswaroop68764 жыл бұрын
How the user will automate Mac ( iOS) - is there any powerful tool?
@RaghavPal4 жыл бұрын
Hi Vishnu, for desktop apps on mac os, you can check this list - www.logigear.com/blog/test-automation/12-best-automation-tools-for-desktop-apps-in-2020/
@TheUkr12445 жыл бұрын
Hi Raghav, Whenever I'm trying to do file upload using Robot class and AutoIt I'm getting "InvalidAurgumentException". Please help me.
@RaghavPal5 жыл бұрын
Hi Uday, may be I could see your code, But for now check this github.com/SeleniumHQ/selenium/issues/4843
@GilbertSBaidya4 жыл бұрын
Brother is the anything for Mac like AutiIT?
@RaghavPal4 жыл бұрын
Hi Gilbert, can get some info here - alternativeto.net/software/autoit/?platform=mac
@GilbertSBaidya4 жыл бұрын
@@RaghavPal Thank you for your reply. Kindly make a new video for mac with the best one.
@Savalakh_224 жыл бұрын
bro u r very good
@RaghavPal4 жыл бұрын
Thanks
@itindranil4 жыл бұрын
Hi Raghav, I am getting the Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument (Session info: chrome=84.0.4147.89), can't sort out
@RaghavPal4 жыл бұрын
Hi Indranil, Can you check which code is this thrown from
@jyotirh90 Жыл бұрын
Use Action class to click on that element
@tejkumarkempaiah49064 жыл бұрын
Thanks for the wonderful video, but i'm stuck with problem while performing compile script : Binary Integrity can't be verified Please suggest a solution.
@RaghavPal4 жыл бұрын
Hi Tejkumar, this can help - www.autoitscript.com/forum/topic/190635-binary-integrity-cant-be-verified/
@jaishankar5324 жыл бұрын
Great explanation. Thank you. How do we enter dynamic security code during login? UserName+Passw+securitycode. can we use autoIT for it or any other method available. Pls let me know. Thanks
@RaghavPal4 жыл бұрын
Hi Jai, you will need to add scripts to generate the code.
@saisreenadhseethamraju37734 жыл бұрын
Hello Raghav.. On usage of click() I a getting exception >>>>>>>>> org.openqa.selenium.InvalidArgumentException: invalid argument, Can u plz give me a solution for this exception
@RaghavPal4 жыл бұрын
Hi Saisreenadh, I will need to see more logs to check where exactly it is throwing this exception
@saisreenadhseethamraju37734 жыл бұрын
@@RaghavPal Starting ChromeDriver 83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/4103@{#416}) on port 38326 Only local connections are allowed. Please see chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. [1596774870.095][WARNING]: This version of ChromeDriver has not been tested with Chrome version 84. Aug 07, 2020 10:04:32 AM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument (Session info: chrome=84.0.4147.105) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'DESKTOP-F9L4F14', ip: '192.168.55.104', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_261' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.105, chrome: {chromedriverVersion: 83.0.4103.39 (ccbf011cb2d2b..., userDataDir: C:\Users\admin\AppData\Loca...}, goog:chromeOptions: {debuggerAddress: localhost:50641}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true} Session ID: 7dd435918111fc339cced63a542671e9 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84) at AutoitPrgs.FileUpload.main(FileUpload.java:17)
@RaghavPal4 жыл бұрын
Can you check with a different ver of browser
@saisreenadhseethamraju37734 жыл бұрын
@@RaghavPal Starting ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) on port 26816 Only local connections are allowed. Please see chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. Aug 08, 2020 12:33:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument (Session info: chrome=84.0.4147.105) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'DESKTOP-F9L4F14', ip: '192.168.55.104', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_261' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.105, chrome: {chromedriverVersion: 84.0.4147.30 (48b3e868b4cc0..., userDataDir: C:\Users\admin\AppData\Loca...}, goog:chromeOptions: {debuggerAddress: localhost:54999}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true} Session ID: 5c54b39d61e580ec49a3184a07a8e57e at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84) at AutoitPrgs.FileUpload.main(FileUpload.java:17)
@RaghavPal4 жыл бұрын
Check the ver of Chrome on your system and then get the same ver for chromedriver.exe and try. Will need to check more online
@yuktibaheti6214 жыл бұрын
Hello I m getting an error stating invalidArgumentExpection : cannot click on element elements What to do in this case if I want to use autoIT
@RaghavPal4 жыл бұрын
Hi Yukti, will have to troubleshoot the issue. You can also try using Robot Class
@sachinshinde34884 жыл бұрын
@@RaghavPalHello Raghav. Same error I got: Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument. Please help me to resolve the issue. Thanks
@anilkumaryadav10611 ай бұрын
how can i upload the file from my project directly itself?
@RaghavPal11 ай бұрын
Hunny Uploading a file directly from your project using AutoIt involves specifying the file path within your script. Here's how you can achieve it: Method 1: Using absolute path: 1. Locate the file: Determine the absolute path to the file within your project directory. 2. Use the `_FileFindFirstFile` function: This function searches for a file based on its path. Here's an example: ``` $filePath = "C:\YourProject\Path\To\File.txt" $fileHandle = _FileFindFirstFile($filePath) if ($fileHandle == -1) Then MsgBox(0, "Error", "File not found!") Else ; Upload the file using another function (e.g., WinHTTP, _FileCopy) _FileFindClose($fileHandle) EndIf ``` Method 2: Using relative path: 1. Define a base path: Choose a base directory within your project as the reference point. 2. Use the `@ScriptDir` directive: This directive retrieves the directory where your script is located. 3. Combine the base path and file name: Construct the path relative to the base directory. Here's an example: ``` $baseDir = @ScriptDir & "\Data" $filePath = $baseDir & "\File.txt" ; Upload the file using another function (e.g., WinHTTP, _FileCopy) ``` Method 3: Using environment variables: 1. Set an environment variable: Define an environment variable pointing to your project directory. 2. Access the variable in your script: Use the `_EnvGet` function to retrieve the variable value. 3. Construct the file path: Combine the retrieved value with the file name relative to the project directory. Here's an example: ``` $projectDir = _EnvGet("PROJECT_DIR") $filePath = $projectDir & "\Path\To\File.txt" ; Upload the file using another function (e.g., WinHTTP, _FileCopy) ``` Additional Tips: * Choose the method that best suits your project structure and preferences. * Ensure proper file permissions for access and upload operations. * Consider using functions like `_FileGetSize` or `_FileRead` to verify file existence and content before upload. * Explore AutoIt documentation for other file manipulation functions: [www.autoitscript.com/autoit3/docs/](www.autoitscript.com/autoit3/docs/) Remember to replace the placeholders with your actual file paths and base directories. By following these steps and adapting the examples to your specific scenario, you can effectively upload files from your project directory using AutoIt scripts...
@Scrapewithbots4 жыл бұрын
very nice
@RaghavPal4 жыл бұрын
Thanks
@qacloudsfer70304 жыл бұрын
How do i convert the all "Runtime" line to C#?
@RaghavPal4 жыл бұрын
Not sure, will need to check online
@qacloudsfer70304 жыл бұрын
@@RaghavPal I've found it. In C# it's : Process.Start("C:\\Users\\Desktop\\Scripts AutoIt\\FileUploadScript.exe"); Thank you for your time. The video was so(!) helpful.
@starSha19824 жыл бұрын
AutoIT not working for Mac. Which tool might be the best alternative for Mac instead of AutoIT?
@RaghavPal4 жыл бұрын
Hi Shaji, you can check Sikuli. Mac is very secure and therefore it may be difficult to use tools like AutoIT. Here are some more options - alternativeto.net/software/autoit/?platform=mac www.qtpselenium.com/selenium-training/forum/what-is-the-equivalent-of-autoit-in-mac-890 Do let me know what worked for you.
@lucylucy85174 жыл бұрын
Sir Fileupload script compile karne se exe file kyu error shw ho rha he plz tell me
@RaghavPal4 жыл бұрын
Hi Lucy, will need to check logs. Can you try with a diff app
@lucylucy85174 жыл бұрын
@@RaghavPal ok sir again I will try for another app but the Fileupload exe file showng errors and also problm in compilation...
@RaghavPal4 жыл бұрын
In case I get to know something I will inform
@lucylucy85174 жыл бұрын
@@RaghavPal ok Sir
@lucylucy85174 жыл бұрын
Sir I tried for calculator app and it worked well. Thank you🙏
@sieunhannhoczu4 жыл бұрын
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?
@RaghavPal4 жыл бұрын
It's fine, if works for you
@sieunhannhoczu4 жыл бұрын
@@RaghavPal thanks, now I knew the other way from you!
@akshaybhad75493 жыл бұрын
Sir I runned this test but it failed and print on console that invalid argument s
@RaghavPal3 жыл бұрын
will need to see the logs Akshay
@kshipra45042 жыл бұрын
When I run the program, auto it.exe disappears from the folder. Why is this happening?
@RaghavPal2 жыл бұрын
will need to check the logs Kshipra
@kshipra45042 жыл бұрын
@@RaghavPal how to do that?
@RaghavPal2 жыл бұрын
check the console
@Ashwin-yd4sq Жыл бұрын
I'm unable to get control ID on autoit info
@RaghavPal Жыл бұрын
Ashwin There are a few reasons why you might not be able to get the control ID on AutoIt Info. *The control is not visible.* AutoIt Info can only get the control ID of controls that are visible on the screen. *The control is a subcontrol.* AutoIt Info cannot get the control ID of subcontrols. *The control is created by a third-party application.* AutoIt Info may not be able to get the control ID of controls that are created by third-party applications. If you are unable to get the control ID of a control using AutoIt Info, you can try using the following methods: *Use the ControlGetHandle() function.* This function returns the handle of the control. You can then use the WinAPI function _WinAPI_GetDlgCtrlID() to get the control ID from the handle. *Use the Window Spy tool.* This tool allows you to inspect the controls on a window and get their properties, including the control ID. *Use a third-party AutoIt library.* There are a number of third-party AutoIt libraries that can help you to get the control ID of controls. Here is an example of how to use the ControlGetHandle() function to get the control ID of a control: ```AutoIt ; Get the handle of the control. $hWnd = ControlGetHandle("MyWindow", "MyControl") ; Get the control ID from the handle. $controlID = WinAPI_GetDlgCtrlID($hWnd) ; Print the control ID. MsgBox($controlID) ``` Here is an example of how to use the Window Spy tool to get the control ID of a control: 1. Open the Window Spy tool. 2. Click on the window that contains the control. 3. Move the mouse over the control. 4. The control ID will be displayed in the Window Spy tool. Here are some links to third-party AutoIt libraries that can help you to get the control ID of controls: * AutoIt Window Info Tool * SimpleSpy I hope this helps
@AliRazaAkram-d6c11 ай бұрын
thanks
@RaghavPal10 ай бұрын
Most Welcome
@vyasmail5 жыл бұрын
How to run autoit using python ? I tried autoit.run("c://file_name.exe") it dint work .
@RaghavPal5 жыл бұрын
Hi Vyas, I will need to check that. Pls get some online help meanwhile
@yeuduongtamhuong2 жыл бұрын
How to run file AutoIT from Excel
@RaghavPal2 жыл бұрын
I have not tried, will need to check online
@nadeemmunir66923 жыл бұрын
can you make one script for me?
@RaghavPal3 жыл бұрын
Hi Nadeem, I may not be able to do that now, You can take online help and do it yourself
@gpock84 жыл бұрын
Hi tanks very much, BTW i would like to say that for me it did not work without [TITLE:Open] prefix
@RaghavPal4 жыл бұрын
You're welcome. thanks for the info
@abhijeetbachate28646 жыл бұрын
Hi Raghav, Just wanna know, is it possible to throw a boolean return type outside the .exe file in AutoIT?
@RaghavPal6 жыл бұрын
Hi Abhijeet, I have not tried this. Will need to check