Sorry, read your post too fast On windows machines: see the thread for using AutoIT https://groups.google.com/forum/?hl=en&fromgroups#!searchin/watir-general/download/watir-general/st7NdUcDMS4/kU__10n-floJ
On Thursday, July 19, 2012 10:28:03 PM UTC-5, Mahesh Shivankar wrote: > 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]
