I have a scenario where in i need to upload a file using Selenium IDE version 2.9.0. I tried using "Type" command with id of that element and path of that file as argument. But its not working. Is there any other way to upload a file using IDE? If there is no other way to upload using IDE, then what might be the issue? Please suggest
Asked
Active
Viewed 838 times
0
-
Check http://stackoverflow.com/questions/16896685/how-to-upload-files-using-selenium-webdriver-in-java I'm guessing the solution is similar for the IDE – apokryfos Jun 21 '16 at 12:08
-
Is it working for you – SaiPawan Jan 11 '17 at 08:17
1 Answers
-1
Try this:
getDriver().findElement(YourUploadButton).sendkeys(uploadFilepath);

SaiPawan
- 1,189
- 7
- 20
-
1How is this the right answer when the question is about Selenium IDE and not Selenium WD. – GIZNAJ Jun 19 '17 at 14:37