1) After I do:

ie.file_field(:index,1).set('C:\file.txt')

I get:

Starting win setFileDialog in new process. Setting text C:\file.txt
Starting app: C:/ruby/lib/ruby/site_ruby/1.8/watir/setFileDialog.rb
C:\file.txt

Is there a way to do this without this output?

2) After I do (there is a file field with this title at page):

ie.file_field(:title,'title').set('C:\file.txt')

I get:

C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in `assert_exists': Unable to
locate object, using title and Document filename
(Watir::Exception::UnknownObject
Exception)
        from C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3099:in `set'
...

Will title be supported for file fields? I would like it.

Zeljko

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to