Selenium Framework for Beginners 33 | What is AutoIT | How to use AutoIT with Selenium

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • Free Courses - automationstep...
    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
    www.autoitscri...
    Step 2
    Download AutoIT Script Editor (SciTE)
    www.autoitscri...
    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
    www.autoitscri...
    Project link - github.com/Rag...
    PLAYLISTS
    SELENIUM JAVA FRAMEWORK BEGINNERS
    • Selenium Java Framewor...
    KATALON STUDIO
    • Katalon Studio
    SELENIUM BEGINNERS
    • Selenium Beginner Tuto...
    SELENIUM TIPS
    • Selenium Tips
    SELENIUM PYTHON
    • Selenium Python
    SELENIUM BUILDER
    • Selenium Builder
    JAVA
    • Java
    JAVA TIPS & TRICKS
    • Java Tips and Tricks
    JENKINS
    • Jenkins
    JENKINS TIPS & TRICKS
    • Jenkins Tips n Tricks
    JMETER BEGINNER
    • JMeter Beginner
    JMETER INTERMEDIATE
    • Jmeter Intermediate
    JMETER ADVANCED
    • JMeter Advanced
    JMETER TIPS & TRICKS
    • JMeter Tips n Tricks
    SOAPUI
    • SoapUI
    POSTMAN
    • Postman Beginner Tutorial
    GIT & GITHUB
    • Git and GitHub
    DOCKER
    • Docker
    ROBOT FRAMEWORK
    • Robot Framework Beginn...
    WEB SERVICES (API)
    • API Web Services
    REDIS BEGINNER TUTORIALS
    • Redis Beginner Tutorials
    MAVEN
    • Maven
    MISC
    • Misc Tutorials
    TOOLS & TIPS
    • Tools and Tips
    QnA FRIDAY
    • QnA Friday
    SUNDAY SPECIAL
    • Sunday Special
    ALL PLAYLISTS
    / @raghavpal
    Like on FACEBOOK :
    / automationstepbystep
    Follow on TWITTER:
    / automationsbs
    Subscribe on TH-cam :
    / automationstepbystep
    _______ ONLINE COURSES TO LEARN _______
    automationstep...
    Never Stop Learning
    Raghav

ความคิดเห็น • 276

  • @kumaranthiru203
    @kumaranthiru203 3 ปีที่แล้ว +1

    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.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      So nice of you Kumaran, will definitely meet someday

  • @hendroriu
    @hendroriu 6 ปีที่แล้ว +2

    I've been waiting AUTOIT tutorial video since i subcribed this chanel. Thank you so much Raghav...

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Glad to know this Eko.

  • @RahulSharma-di4uh
    @RahulSharma-di4uh 6 ปีที่แล้ว +1

    So informative tutorial explained in very simpler way. Raghav, Is AutoIT is capable to automate Mainframe screens also?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks, Rahul, AutoIT works on windows control, so don't think it can handle mainframe properly

  • @NareshKumar-lg4dr
    @NareshKumar-lg4dr 4 ปีที่แล้ว +1

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Naresh, there is an assert function. Pls check - www.autoitscript.com/forum/topic/89010-assert/

  • @rajeshbe2234
    @rajeshbe2234 6 ปีที่แล้ว +1

    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...

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks for your message and feedback Rajesh

  • @sumitsaha9782
    @sumitsaha9782 4 ปีที่แล้ว +2

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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/

  • @venkateshshanam1661
    @venkateshshanam1661 ปีที่แล้ว

    Thank you @Ragav pal Sir. This video is very useful.

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Most welcome Venkatesh

  • @sdetbyraviteja568
    @sdetbyraviteja568 ปีที่แล้ว

    Hi sir nice explanation thankyou so much

  • @badakhiladi4574
    @badakhiladi4574 2 ปีที่แล้ว

    thank you sir this is useful now also

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      most welcome

  • @johnvictor4332
    @johnvictor4332 3 ปีที่แล้ว

    You made it look simple and easier.. Thank you

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You’re welcome 😊John

  • @banup4077
    @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
      @RaghavPal  ปีที่แล้ว +1

      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.

  • @deepalikulkarni3849
    @deepalikulkarni3849 3 ปีที่แล้ว

    Thanks, Raghav. You are an amazing mentor.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Thanks Deepali

  • @BountyB0b
    @BountyB0b 5 ปีที่แล้ว +1

    Thanks. This was a useful introduction.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome

  • @Keralite29
    @Keralite29 ปีที่แล้ว

    Very clearly explained, thank you.

  • @AliRazaAkram-d6c
    @AliRazaAkram-d6c 7 หลายเดือนก่อน

    very informative video

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      Thanks Ali

  • @RichaS-dp8wd
    @RichaS-dp8wd 6 ปีที่แล้ว +1

    Wonderful Video. Looking forward to learn more on AutoIT scripting. Can you please make more videos on it. Or if can help on it.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Sure Richa. Will add more soon.

    • @balaganesh7953
      @balaganesh7953 5 ปีที่แล้ว

      Very good, looking forward to learn more on it......

  • @anouarchouikh2305
    @anouarchouikh2305 4 ปีที่แล้ว

    You are the best teacher ever! I’m in love with your videos and with the way you explain things ...

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Anouar

    • @yusufevan9533
      @yusufevan9533 3 ปีที่แล้ว

      I guess it's kinda off topic but do anyone know of a good website to watch newly released series online ?

    • @joshuadamon3394
      @joshuadamon3394 3 ปีที่แล้ว

      @Yusuf Evan flixportal xD

    • @yusufevan9533
      @yusufevan9533 3 ปีที่แล้ว

      @Joshua Damon thank you, I signed up and it seems like they got a lot of movies there :) I appreciate it !!

    • @joshuadamon3394
      @joshuadamon3394 3 ปีที่แล้ว

      @Yusuf Evan glad I could help xD

  • @satyendrasharma1688
    @satyendrasharma1688 3 ปีที่แล้ว +1

    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?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Yes Satyendra, you can check my video on properties file.

  • @NishthaS-i4d
    @NishthaS-i4d 10 หลายเดือนก่อน

    Very Helpful video.Thanks so much!

    • @RaghavPal
      @RaghavPal  10 หลายเดือนก่อน

      You're welcome Nishtha

  • @tejastoley6714
    @tejastoley6714 5 ปีที่แล้ว +1

    We can upload the file also by using driver.findElements(By.id("browse button inspection")).sendKeys("file path");

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks for adding Tejas

  • @rajeshkumar-no8sp
    @rajeshkumar-no8sp 4 ปีที่แล้ว

    Awsm Sir! Thank you so much for your support!!!! I loved your magic videos....your magic videos make beginners from zero to hero.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      So nice to see your message Rajesh. Humbled

  • @AndresSanchez-nu3tb
    @AndresSanchez-nu3tb 4 ปีที่แล้ว +1

    Good morning, I love your tutorials, thanks!
    I have a question, what tool can I use to automate mainframes specifically as400?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Thanks for watching. Not sure on mainframe.

  • @saleemshaikh3304
    @saleemshaikh3304 5 ปีที่แล้ว +1

    Thanks Raghav for uploading this session,it is a great and understandable.I got all clarity about AutoIT.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      Glad to know this Saleem

  • @deepika5137
    @deepika5137 3 ปีที่แล้ว +1

    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?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      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/

  • @kshipra4504
    @kshipra4504 2 ปีที่แล้ว +1

    How to use auto it in maven project? i mean without downloading its jars, giving dependency in pom.xml only.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Kshipra, not tried it , Can try checking online stackoverflow.com/questions/35837672/maven-dependancy-autoit

  • @kshipra4504
    @kshipra4504 3 ปีที่แล้ว

    Which approach is better--- Auto It, Sikuli or Robot class?? And, why??

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      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

    • @kshipra4504
      @kshipra4504 3 ปีที่แล้ว

      @@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.

  • @dhananjay677
    @dhananjay677 4 ปีที่แล้ว +1

    Amazing explanation great teacher ever I have seen in my life.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks Dhananjay

    • @dhananjay677
      @dhananjay677 4 ปีที่แล้ว

      Sir please make video on how to upload file without using autoit

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Sure, I will do in a new series Dhananjay

    • @dhananjay677
      @dhananjay677 4 ปีที่แล้ว +1

      @@RaghavPal thank you very much for your reply.because this question is asked me for congizent interview in pune

  • @kapiljain4423
    @kapiljain4423 4 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Kapil, I will too need to do some search for this. Will plan something

  • @kamrunkanta4696
    @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
      @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

  • @valarmorghulis6220
    @valarmorghulis6220 3 ปีที่แล้ว

    Thank You, bro, very useful information for me.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are welcome Valar

  • @sanjeebkumargouda1471
    @sanjeebkumargouda1471 3 ปีที่แล้ว

    Great Video, helped a lot
    Thank you so so much..

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Most welcome Sanjeeb

  • @richard_shaju
    @richard_shaju ปีที่แล้ว +1

    Amazing

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว +1

      Thanks Richard

  • @mandheermaan
    @mandheermaan 4 ปีที่แล้ว

    Really Very Nice Presentation !!!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks a lot Mandheer

  • @fleetc
    @fleetc 3 ปีที่แล้ว

    Thank you, excellent tutorial!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You're very welcome!

  • @kaviarasu5658
    @kaviarasu5658 2 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Kavi, should be able to, can also check some examples

  • @razvanvancea9002
    @razvanvancea9002 4 ปีที่แล้ว

    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();
    }

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      HI Razvan, will have to check the logs to troubleshoot

  • @Savalakh_22
    @Savalakh_22 4 ปีที่แล้ว

    bro u r very good

  • @jaishankar532
    @jaishankar532 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Jai, you will need to add scripts to generate the code.

  • @razvanvancea9002
    @razvanvancea9002 4 ปีที่แล้ว +1

    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!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      This will help - alternativeto.net/software/autoit/?platform=linux

  • @farukhalvi1988
    @farukhalvi1988 2 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      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/

  • @Scrapewithbots
    @Scrapewithbots 4 ปีที่แล้ว

    very nice

  • @AliRazaAkram-d6c
    @AliRazaAkram-d6c 7 หลายเดือนก่อน

    thanks

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      Most Welcome

  • @chandankumar-np9ez
    @chandankumar-np9ez 5 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks Chandan, will check on that

  • @safiatakeem1943
    @safiatakeem1943 5 ปีที่แล้ว

    wonderful tutorial. . following your all videos. learning has no boundires Even the LOC. :D :P

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      True Safia, keep learning.

  • @dapomorenigbade9958
    @dapomorenigbade9958 7 หลายเดือนก่อน

    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

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      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.

  • @arskarthick7440
    @arskarthick7440 2 ปีที่แล้ว

    Ragav.. Can you please tell the open source tool to test QT desktop application?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      can try winapp driver

  • @tuhindhara2166
    @tuhindhara2166 3 ปีที่แล้ว

    Thank you for this video🙏

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Welcome Tuhin

  • @SivaKumar-fi5cz
    @SivaKumar-fi5cz 4 ปีที่แล้ว +1

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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

  • @madhavannadata218
    @madhavannadata218 4 ปีที่แล้ว

    very nice & very helpful vedio raghav &

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks Madhav

  • @Kuldeepkumar-xv6ok
    @Kuldeepkumar-xv6ok 2 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Kuldeep, you can add some check to confirm file is uploaded on the website

  • @RajuDas-zn3gx
    @RajuDas-zn3gx 6 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Raju, not yet

  • @starSha1982
    @starSha1982 4 ปีที่แล้ว

    AutoIT not working for Mac. Which tool might be the best alternative for Mac instead of AutoIT?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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.

  • @dan2thi
    @dan2thi 6 ปีที่แล้ว

    Awesome tutorial! Two thumbs up.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks Danush

  • @sdetworld8997
    @sdetworld8997 5 ปีที่แล้ว

    thank you very much it's very nice, i'll try to handle windows OS popup with this.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Sure Raman, although you should try this only when you want to do something that cannot be handled with Selenium or the prog language

  • @prajaktawalhekar9601
    @prajaktawalhekar9601 3 ปีที่แล้ว

    why i am not getting compile and run script options, though my file has been saved with .au3 extention

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Prajakta, looks like something is missing in your setup. I will suggest to check the setup again from Step 1

  • @RajKumar-lo1km
    @RajKumar-lo1km 5 ปีที่แล้ว +1

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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

  • @harishkce1989
    @harishkce1989 ปีที่แล้ว

    hello Raghav..Is autoIT recommended to automate UI funtionality of swing based desktop application ? alike replacement of UFT tool

    • @RaghavPal
      @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
      @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
      @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
      @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

  • @ThePratapunique
    @ThePratapunique 4 ปีที่แล้ว

    Ideal teaching

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Thanks for watching.

  • @Yaddalapudi
    @Yaddalapudi 4 ปีที่แล้ว

    hai raghavi ji this is sai krishna ,can make the video about uploading files using sikuli tool as soon as possible.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Hi Sai, asap will be difficult. Working on other projects

  • @HariHaran-mx5ko
    @HariHaran-mx5ko 2 ปีที่แล้ว

    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 ??

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Hari, not very sure on Tosca, you will need to check some online resources for now

    • @HariHaran-mx5ko
      @HariHaran-mx5ko 2 ปีที่แล้ว

      @@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 .

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      I will try

  • @zisukumar5909
    @zisukumar5909 3 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Zisu, will need to see the logs

  • @arunkumar-qc9zc
    @arunkumar-qc9zc 5 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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-qc9zc
      @arunkumar-qc9zc 5 ปีที่แล้ว +1

      @@RaghavPal Thank you Raghav.

  • @marsh6676
    @marsh6676 6 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Yes you can use AutoIT for windows apps

  • @ayyajjamadar6387
    @ayyajjamadar6387 5 ปีที่แล้ว

    Enjoy this video and thanks for this video
    Can you make one video on Sikuli Tool

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      I will do Ayyaj

  • @akashtomar1388
    @akashtomar1388 3 ปีที่แล้ว

    Can we also open the downloaded pdf file by using auto it with selenium

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      If autoit can do it you can use it in selenium framework.

  • @jayeshkatariya6585
    @jayeshkatariya6585 ปีที่แล้ว

    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..??

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      can use any other site like filebin.net/
      Can get more online

  • @radhikabasker6118
    @radhikabasker6118 3 ปีที่แล้ว

    Will it support to work in Linux server
    Robot framework, selenium?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      AutoIT works on window www.autoitscript.com/forum/topic/47228-autoit-linux/

  • @vadjunzy
    @vadjunzy 5 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Have you tried on chrome. commands should work on all browsers

  • @aeroboy002
    @aeroboy002 5 ปีที่แล้ว

    Thanks, Nice. you would have completed that with clicking the upload button with automation,

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Sometimes upload with selenium have issues, this was to demo the use of AutoIT

  • @shrirams8578
    @shrirams8578 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Shriram, Can you try with a diff website

  • @ArunRajpidige
    @ArunRajpidige 4 ปีที่แล้ว

    what should we do to work for remote webdriver

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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

  • @scaratlas3347
    @scaratlas3347 2 ปีที่แล้ว

    Is there an alternative to tinyupload?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      There may be several, Can try online alternativeto.net/software/tinyupload-com/

  • @ChristianESL
    @ChristianESL 4 ปีที่แล้ว

    Thanks for sharing

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Chris

  • @abhedpatil
    @abhedpatil 4 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Abhed, not tried, will have to check options online

  • @akshaybhad7549
    @akshaybhad7549 3 ปีที่แล้ว

    Sir I runned this test but it failed and print on console that invalid argument s

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      will need to see the logs Akshay

  • @vishnua3935
    @vishnua3935 4 ปีที่แล้ว

    Hi Raghav,
    Getting "org.openqa.selenium.InvalidArgumentException: invalid argument" while trying to execute the script.
    Followed the same step explained above.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Vishnu, will need to check detailed logs. Can also take some online help on this

    • @vishnua3935
      @vishnua3935 4 ปีที่แล้ว

      @@RaghavPal full logs provided in LinkedIn. Please check.

    • @jyotirh90
      @jyotirh90 ปีที่แล้ว

      Use Action class to click on that element

  • @qzorn4440
    @qzorn4440 3 ปีที่แล้ว

    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...:)

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Not aware of this, will need to check online

  • @vishnuswaroop6876
    @vishnuswaroop6876 4 ปีที่แล้ว

    How the user will automate Mac ( iOS) - is there any powerful tool?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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/

  • @TheUkr1244
    @TheUkr1244 4 ปีที่แล้ว

    Hi Raghav, Whenever I'm trying to do file upload using Robot class and AutoIt I'm getting "InvalidAurgumentException". Please help me.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Uday, may be I could see your code, But for now check this
      github.com/SeleniumHQ/selenium/issues/4843

  • @tejkumarkempaiah4906
    @tejkumarkempaiah4906 4 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Tejkumar, this can help - www.autoitscript.com/forum/topic/190635-binary-integrity-cant-be-verified/

  • @itindranil
    @itindranil 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Indranil, Can you check which code is this thrown from

    • @jyotirh90
      @jyotirh90 ปีที่แล้ว

      Use Action class to click on that element

  • @kuntalbose4570
    @kuntalbose4570 5 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Kuntal, I found some discussion here, will be useful for your scenario

  • @kalpatarusahoo6309
    @kalpatarusahoo6309 2 ปีที่แล้ว

    Hi there can we conect remote server through auto it

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      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/

  • @sush3903
    @sush3903 5 ปีที่แล้ว

    Can I use AutoIt to run windows based application? If yes then how can i set path of the exe where it is stored?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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/

  • @anilkumaryadav106
    @anilkumaryadav106 7 หลายเดือนก่อน

    how can i upload the file from my project directly itself?

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      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...

  • @sowjanyatminds4027
    @sowjanyatminds4027 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      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/

  • @alexvillarreal3947
    @alexvillarreal3947 4 ปีที่แล้ว

    thanks , good video , Is it posible to do an assert of a windows app?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You can add assertions www.autoitscript.com/forum/topic/57444-assertions-in-autoit/

  • @kshipra4504
    @kshipra4504 2 ปีที่แล้ว

    When I run the program, auto it.exe disappears from the folder. Why is this happening?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      will need to check the logs Kshipra

    • @kshipra4504
      @kshipra4504 2 ปีที่แล้ว

      @@RaghavPal how to do that?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      check the console

  • @sieunhannhoczu
    @sieunhannhoczu 4 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      It's fine, if works for you

    • @sieunhannhoczu
      @sieunhannhoczu 4 ปีที่แล้ว

      @@RaghavPal thanks, now I knew the other way from you!

  • @Ashwin-yd4sq
    @Ashwin-yd4sq 10 หลายเดือนก่อน

    I'm unable to get control ID on autoit info

    • @RaghavPal
      @RaghavPal  10 หลายเดือนก่อน

      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

  • @indranilchakraborty3037
    @indranilchakraborty3037 5 ปีที่แล้ว

    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!!!!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks for your message Indranil. I will try to incorporate it. On youtube, however people like to go a little fast as there is option to pause or adjust the play speed. I will still consider it.

    • @indranilchakraborty3037
      @indranilchakraborty3037 5 ปีที่แล้ว

      Great!! All the Best!! Really finding your videos very useful!!! Do you have an email where I can reach you if required? Kindly let me know..thanks!!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      you can reach raghav.qna@gmail.com

    • @indranilchakraborty3037
      @indranilchakraborty3037 5 ปีที่แล้ว

      @@RaghavPal Thank you so much Raghav!!

  • @yuktibaheti621
    @yuktibaheti621 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Yukti, will have to troubleshoot the issue. You can also try using Robot Class

    • @sachinshinde3488
      @sachinshinde3488 4 ปีที่แล้ว

      @@RaghavPalHello Raghav. Same error I got: Exception in thread "main" org.openqa.selenium.InvalidArgumentException: invalid argument.
      Please help me to resolve the issue. Thanks

  • @saisreenadhseethamraju3773
    @saisreenadhseethamraju3773 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Saisreenadh, I will need to see more logs to check where exactly it is throwing this exception

    • @saisreenadhseethamraju3773
      @saisreenadhseethamraju3773 4 ปีที่แล้ว

      @@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)

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Can you check with a different ver of browser

    • @saisreenadhseethamraju3773
      @saisreenadhseethamraju3773 4 ปีที่แล้ว

      @@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)

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      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

  • @GilbertSBaidya
    @GilbertSBaidya 4 ปีที่แล้ว

    Brother is the anything for Mac like AutiIT?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Hi Gilbert, can get some info here - alternativeto.net/software/autoit/?platform=mac

    • @GilbertSBaidya
      @GilbertSBaidya 4 ปีที่แล้ว

      @@RaghavPal Thank you for your reply. Kindly make a new video for mac with the best one.

  • @qacloudsfer7030
    @qacloudsfer7030 4 ปีที่แล้ว

    How do i convert the all "Runtime" line to C#?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Not sure, will need to check online

    • @qacloudsfer7030
      @qacloudsfer7030 4 ปีที่แล้ว

      @@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.

  • @lucylucy8517
    @lucylucy8517 4 ปีที่แล้ว

    Sir Fileupload script compile karne se exe file kyu error shw ho rha he plz tell me

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Lucy, will need to check logs. Can you try with a diff app

    • @lucylucy8517
      @lucylucy8517 4 ปีที่แล้ว +1

      @@RaghavPal ok sir again I will try for another app but the Fileupload exe file showng errors and also problm in compilation...

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      In case I get to know something I will inform

    • @lucylucy8517
      @lucylucy8517 4 ปีที่แล้ว

      @@RaghavPal ok Sir

    • @lucylucy8517
      @lucylucy8517 4 ปีที่แล้ว

      Sir I tried for calculator app and it worked well. Thank you🙏

  • @yeuduongtamhuong
    @yeuduongtamhuong 2 ปีที่แล้ว

    How to run file AutoIT from Excel

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      I have not tried, will need to check online

  • @gpock8
    @gpock8 4 ปีที่แล้ว

    Hi tanks very much, BTW i would like to say that for me it did not work without [TITLE:Open] prefix

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome. thanks for the info

  • @aylinbekem3701
    @aylinbekem3701 4 ปีที่แล้ว

    tinyupload website does not work :(

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Can try some other Aylin

  • @vyasmail
    @vyasmail 5 ปีที่แล้ว

    How to run autoit using python ? I tried autoit.run("c://file_name.exe") it dint work .

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Vyas, I will need to check that. Pls get some online help meanwhile