[Wtr-general] How can i upload an image when i click browse button(input type=File)

Željko Filipin zeljko.filipin at gmail.com
Fri Dec 1 04:36:04 EST 2006


On 12/1/06, Dhamodharan <forum-watir-users at openqa.org> wrote:
>
> i'm getting this error
> The above file is in valid
> ie.fileField(:name, "avatar").set("damu")


Hi Damu,

File is invalid because windows can not find it. Make sure that you provide
full path to file, something like this:

ie.fileField(:name, "avatar").set('C:\damu.txt')
-- 
Zeljko Filipin
zeljkofilipin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061201/051bb284/attachment.html 


More information about the Wtr-general mailing list