0

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

1 Answers1

-1

Try this:

getDriver().findElement(YourUploadButton).sendkeys(uploadFilepath);
SaiPawan
  • 1,189
  • 7
  • 20
  • 1
    How is this the right answer when the question is about Selenium IDE and not Selenium WD. – GIZNAJ Jun 19 '17 at 14:37