Linked Questions

6 votes
4 answers
12k views

Unable to upload a file using selenium/web driver running with java [duplicate]

I have a complicated interface where uploading a file is three step ( The forum is not allowing me to add screenshots of my window so please try to visualise it) step 1 click on browse tab and select ...
user3018's user avatar
-1 votes
5 answers
4k views

Selenium: Unable to automate file upload [duplicate]

Can someone please help me in automating file upload on this page- https://www.designerexchange.com/index.php/sell/quote I tried everything, but the file upload is very dynamic.
Peter Parker's user avatar
1 vote
1 answer
752 views

Selenium File Upload [duplicate]

Having an issue trying to upload a file via php unit through selenium. This is the code for my current attempt. public function testFileUpload() { $filePath = '/Users/cdolan/Desktop/...
Christian's user avatar
  • 375
0 votes
0 answers
207 views

Selenium IDE - fakepath [duplicate]

I need to upload a file through "browse" button , but when I chose a file , it seems as "fakepath" . My test faces an issue. How can I deal with it?
erhan's user avatar
  • 1
1 vote
0 answers
103 views

Upload file in Selenium using AutoIt? [duplicate]

I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/. The web page I'm using is this one ...
Cesare's user avatar
  • 91
1 vote
0 answers
64 views

How to simulate scenario using selenium wherein User needs to upload a excel file? [duplicate]

I am new to selenium. I want to replicate a scenario in which User clicks on 'Choose file' and then uploads an excel file lying on the same desktop and then clicks on submit. I have tried using ...
Rohan Kalia's user avatar
17 votes
4 answers
35k views

Is it possible to automate drag and drop from a file in system to a website in selenium using TestNG

Is it possible to automate drag and drop from a file in system to a website in selenium using TestNG? Same as we do in Gmail where we can send attachment by drag and drop operation? please suggest.
iAutomate's user avatar
  • 359
5 votes
2 answers
29k views

Upload a file in Selenium Webdriver using sendKeys

I'd like to side step the dialog box and upload a file using the sendKeys method but it doesn't seem to work. Is anything wrong with the following code? WebDriver driver = new FirefoxDriver(); String ...
ilm's user avatar
  • 386
3 votes
3 answers
25k views

How to handle file upload and download using Robot Class?

I'm trying to build a framework using Selenium. There is a scenario where I need to download a file, and there is another where I need to upload one. I've gone through the option in AutoIt, but it ...
kanayikkaran's user avatar
4 votes
1 answer
9k views

How to handle a native OS (Ubuntu) file upload window in selenium webdriver with python?

This is my first time here but I have already posted this question on SO. I keep getting solutions for Windows + Java and not for Linux or python for that matter. I am using Selenium and Python to ...
Praveen Pandey's user avatar
3 votes
1 answer
11k views

Uploading a file to a web site: how to handle Windows dialog to choose a file

Just reviewed questions that may already have the answer, but failed to find anything relevant. So the site I am testing has a file upload dialog. When you click Select File -> Browse, a Windows File ...
Racoon's user avatar
  • 201
2 votes
1 answer
14k views

How to Handle the File Upload dialog in Protractor for IE11?

I know the default answer to handling explorer.exe is to use AutoIT, but AutoIT utilizes Java Runtime to use the exported .exe to upload the file and close the dialog. My tests are all in Protractor ...
ItsASine's user avatar
  • 143
0 votes
1 answer
7k views

Handling Image upload

<span class="span3 config_camera_wrapper img-rounded" style="border: 2px solid #fff;" align="center"> <img class="img-rounded" src="images/bookappt_v3/logo-placeholder.png" alt="140x140"> &...
STE's user avatar
  • 749
0 votes
1 answer
1k views

Upload image via ajax form with selenium and Python

I'm trying to get familiar with selenium. I decided to try to work with facebook, and fulfill my profile with selenium, But they use too much Ajax. It's not very complicated to fulfill my hometown ...
user6160's user avatar
1 vote
1 answer
563 views

selenium web driver c # and I try to access the file excel is not working.get error > System.IndexOutOfRange Exception. cannot find column 5

I wrote code selenium web driver c # and I try to access the file excel is not working. It is throwing System.IndexOutOfRange Exception. cannot find column 5. public class ExcelLib { ...
Daniel Shmayovich's user avatar