File upload using Selenium?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

File upload using Selenium?

softwaretestingforum
Administrator
This post was updated on .
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: File upload using Selenium?

Illusion0Reality
I used AutoIT to interact with ---  File- Open etc components, and called the EXE from SElenium. Because all the above buttons/components are windows related. Any other way ?
Reply | Threaded
Open this post in threaded view
|

Re: File upload using Selenium?

softwaretestingforum
Administrator
If you are using Selenium 1 then it is supported out of box for Firefox. Use type method to type path in text box.
I heard that attached file works in IE but I never tried this method.
If not then I don't see any other solution than attachFile
~ seleniumtests.com