UrbanPro

Learn Selenium from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How do I upload a latest file version using the AutoIt using the Selenium WebDriver?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Selenium Expert

ControlFocus("File Upload", "", "Edit1") ControlSetText("File Upload", "", "Edit1", "C:\Users\SomeUser\Downloads\somefilename") Sleep(1000) ControlClick("File Upload", "", "Button1") In the above SciTE script (of AutoIT), instead of hardcoding the file-path you may pass it through command line parameters...
read more
ControlFocus("File Upload", "", "Edit1") ControlSetText("File Upload", "", "Edit1", "C:\Users\SomeUser\Downloads\somefilename") Sleep(1000) ControlClick("File Upload", "", "Button1") In the above SciTE script (of AutoIT), instead of hardcoding the file-path you may pass it through command line parameters to the script. ControlSetText("File Upload","","Edit1",$CmdLine[1]) If the file name (to be uploaded) has a pattern for version updates - use appropriate method to pass required arguments to the script while calling AutoIT executable. Hope this helps read less
Comments

QA Automation Expert

Dont use auto it, instead you can use robot class. In a framework every one has to save autoit exe this is not a good practice
Comments

Related Questions

Can I learn selenium without knowladge programing language

The mentor will guide you the java basics wrt selenium automation. You can able to learn. Gayatri
Ch
I have 5 year of experience in android application development but never got much to work on it. As i have a good knowledge on core java , want to switch for automation testing and want to learn selenium tool. Will it be possible to switch and show my experience in testing for 5 yrs to crack testing interview?
Hi Ekta, You can use your existing experience in software testing, i would tell you, How you could use existing experience in testing. you should start your training on Selenium tools. as you know software...
Ekta

Can I learn selenium without manual testing knowledge?

The mentor will guide you the basics of Manual Testing ...You can able to learn.
Krishna

I have been working in a medical billing company for five years. I want to switch my carrier from non-IT to IT. I have only a BA degree, but I have good knowledge of computers. I know some basics of HTML and manual testing; can I learn java selenium directly to get a job in automation?

Hi Sirajudeen.. Java selenium is one of the good options.. one more easy way to shift to IT is learning Oracle SQL.. Scope of Oracle SQL always stands high since the database is backbone of all developement,...
Sirajudeen

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Setting Up Environment For Selenium Webdriver
1. Installation of Selenium IDE: i. Launch Firefox and navigate to https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/ . Click on Add to firefox. ii. Wait until Firefox completes the download...

Selenium Interview Question and answers
https://www.youtube.com/watch?v=YWdAh3gTc6c

Bhanu P.

0 0
0

Difference between find element () and findelements () in webdriver
findElement Find the first element within the current page using the given "locating mechanism". Returns a single WebElement. findElements Find all elements within the current...

Dada Provider concepts in Selenium
https://www.youtube.com/watch?v=5olSfyB1r9A

Bhanu P.

1 0
0

Constructor Overloading
public class ConstructorOverloading { public ConstructorOverloading(){ System.out.println("default"); } public ConstructorOverloading(String a){ System.out.println("a"); } public ConstructorOverloading(int...
S

Sarthak C.

0 0
0

Recommended Articles

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for Selenium Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Selenium Classes?

The best tutors for Selenium Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Selenium with the Best Tutors

The best Tutors for Selenium Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more