How to upload / download file in selenium

ashok.nt at 08h38
13
Apr
2012
How to upload / download file in selenium

How to upload / download file in selenium,

Please any one can give a sample code for downloading and uploading a file in selenium RC and WebDriver, or please provide a link which helps me to solve this doubt.

Thanks & Regards,
Ashok N T
About
This topic belongs to the forum
  • Numbers of topics : 2338
  • Numbers of messages : 6053
  • Numbers of users : 5036
  • Numbers of points : 142
Similar topics
Code:  WebElement UploadImg = driver.findElement(By.xpath("//*[@id='file_upload_button']"));   UploadImg.click();   WebElement frame =driver.switchTo().activeElement();  
Hi All, Any body having sample code on uploading file in web driver.If so then plz paste the code.
Hi Guys, Please help me in uploading file by using selenium IDE. Is there any issue in selenium IDE with firefox version also because my calendar pop-up is working in firefox version 10 but not in 3.6, And file upload is working successfully in
Hi All, How to upload a file in selenium? If we click on upload button a browse window will open, then have to select a file and upload into the application. Can anyone Please help me... Thanks, Balu.
Hi Everyone, I am struck with an issue of file upload, i m using Selenium RC with Java, the file upload fields are described below:::
Forums from same category