I have used this method for uploading files and it works fine. On Friday, 20 July 2012 02:11:23 UTC+5:30, Super Kevy wrote: > > Did you try this method: > http://wiki.openqa.org/display/WTR/File+Uploads > > sFileName='C;\upload.txt' > browser.file_field(:name,'uploadfile').set(sFileName) > > Sample code > <td width="37.5%" valign="top"> > <input type="hidden" name="escaped_document_name" tabindex="101"> > <input type="file" value="" onchange="setvalue(this);" maxlength="" > size="30" name="uploadfile" tabindex="101"> > </td> > > > > > On Tuesday, July 17, 2012 4:47:39 AM UTC-5, Mahesh Shivankar wrote: > >> I don't think, I neatly clarified my point. >> Sorry for that. >> >> I intend to drive FF only with watir-webdriver. >> >> On Tuesday, 17 July 2012 15:13:31 UTC+5:30, Željko Filipin wrote: >>> >>> > Yes, I did initially mention that. >>> >>> So, how do you plan to drive FF with watir gem? >>> >>> Željko >>> >>
-- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
