Thanks a lot for the link. Now i can upload an image by using the following command Browser.file_field(:name, "photo").set("path name i.e. C:\\abc\\abc.jpg")
Please dont forget to enter double slash. :-) On Thu, Oct 15, 2009 at 1:40 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Thu, Oct 15, 2009 at 10:07 AM, Amit <amitkkulkarni...@gmail.com> wrote: > > <input id="product_photo" class="file" type="file" size="20" > > name="product[photo]"/> > > http://wiki.openqa.org/display/WTR/File+Uploads > > Željko > -- > http://watirpodcast.com/ > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---