How to upload / download file in selenium

ashok.nt at 08h38
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
This topic belongs to the forum
  • Numbers of topics : 2330
  • Numbers of messages : 6044
  • Numbers of users : 5007
  • Numbers of points : 240
Similar topics
Code:  WebElement UploadImg = driver.findElement(By.xpath("//*[@id='file_upload_button']"));;   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 Everyone, I am struck with an issue of file upload, i m using Selenium RC with Java, the file upload fields are described below:::
1. I have installed the Autoit V3 and copied the script and converted into .exe file. 2. the Autoit v3 script is as follows:--- FileCopy("C:\W3C.png", "C:\"&$CmdLine[1]&".png") ;Make a duplicate copy of the file, as same file name is not
Tip's Name: Up file .css .php .js lên google (Upload) Write by: Kirigaya Kazuto Description: Tình hình là bây giờ Google Code không up file được nữa (em nghĩ vậy) nên viết cái Tip này để mọi người up dễ hơn. B1: Vào trang
Forums from same category