How can we handle Upload File component using Selenium IDE?

Karunagara Pandi picture Karunagara Pandi · Dec 24, 2013 · Viewed 8.4k times · Source

Can anyone please provide idea or site reference for handling File Upload Process using Selenium IDE?

Rest of the actions are recording thru' Selenium IDE but this upload process is alone giving trouble...

Thanks Karunagara Pandi

Answer

Jeroen Kransen picture Jeroen Kransen · Feb 20, 2014

A command like this works for me on Selenium IDE 2.5.0

Command: type
Target:  id=idOfFileInput
Value:   /full/path/to/uploadfile

Now I'm trying to find out how to pass a relative path from the Selenium script :-)