On Tue, May 8, 2012 at 4:53 PM, Cassiano Leal <[email protected]>
wrote:
>     def file_name
>       @browser.frame.file_field(id: 'fileName')
>     end
>
>     def file_name=(filename)
>       file_name.set filename
>     end
>
> The problem is that neither work. :)

Does this work?

@browser.frame.file_field(id: 'fileName').set filename

Do you get any errors or exceptions?

Željko
--
watir.com/book - author

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