How to upload file using AutoIT tool in Selenium WebDriver | create & run Auto IT script in Selenium

preview_player
Показать описание
Here, in this video, we will see How to upload file using AutoIT tool in Selenium WebDriver.
Also I have shown how you can create your own html page having upload file feature with type='file'.

Steps:
=======

1. Download and install AutoIT

- Click on Download AutoIT button
- Download "AutoIt Script Editor"
- Run AutoIT setup exe file and install it.
- Run Script Editor exe file and install it.

2. Create Script
- Open the script editor
- ControlFocus()= to focus the window
- ControlSetText()= to give the File path
- ControlClick()= to click on open button

-Note: controlID=Class + Instance (ComboBox1)

3. Save and compile/Build it= we need to create a .exe (executable file of AutoIT script)

4. Integrate with Selenium

===========================

Learn automation from basic !!

Selenium series videos Playlist :=

Protractor series videos playlist :=

Maven Tool videos playlist :=

Thanks for watching!

Keep Learning...Keep Sharing...Keep Growing.

#AjAutomation #SeleniumWebDriver
Рекомендации по теме
Комментарии
Автор

Nice video, how to do the same when we use selenium grid. I have 8 windows node machine and want to do the same, can you please help me with this?

mizanur
Автор

Many thanks for your time and effort on creating this wonderful video tutorial. How do you use AutoIT script to upload multiple files?

adewale
Автор

This is helpful. Sir, do you have tutorial on Selectorshub?

testtesting
Автор

Hello Sir, i need to automate uploading a .jpg file in one testcase and multiple .jpg files in another testcase.. and it should run in Jenkins.. wat i suppose to implement. AutoIt or Robot class or anything else..
Please do reply

mukeshkumarnayak
Автор

I tried Sir to uplaod the file usinf AuroIt tool where type =file, but it is unable to..I am giving the same xpath address for the website of cgi-lib...why It is not identifying the xpath address?
Cud u please show that in the video if u cud makw a separate small video showing how to navigate through smae website and uploading file using Autoit instead of Sendkeys method.
Thank you for teaching us Sir

marlynj
Автор

May I know how to validate print output(pdf ) or print dialog output by selenium automation

chandanam
Автор

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

kshipra
Автор

Hi

How to upload local files by drag and drop in selenium

crazy_Folks