On Sat, Aug 4, 2012 at 2:35 PM, mani racha <[email protected]> wrote:
>
C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/elem
> ents/file_field.rb:13:in `set': No such file or directory -
C:UsersmanikanthDesk
> tophai.txt (Errno::ENOENT)

Ruby can not find the file. Put the file in C:\ and try this:

browser.file_field(:name,'userfile').set("C:\\hi.docx")

Željko
--
filipin.eu

-- 
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]

Reply via email to