Answered also in the other thread - http://groups.google.com/group/watir-general/browse_thread/thread/7848bd844917b925
Let's continue in this thread instead? :) Jarmo On Aug 23, 2:23 pm, Jarmo <[email protected]> wrote: > What browser are you using? > > I have run watirspec with Ruby 1.9.2 and did get as much failures as with > 1.8.7 so it should work :) > > Jarmo > > On Tue, Aug 23, 2011 at 4:02 AM, Alister Scott <[email protected]>wrote: > > > > > > > > > To answer my own question, I don't think it does. Using a .set on a > > text_field throws: > > > irb(main):011:0> b.text_field(:name => "q").set "s" > > NoMethodError: unknown property or method: `createEvent' > > HRESULT error code:0x80020006 > > Unknown name. > > from > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:377:in > > `method_missing' > > from > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:377:in > > `create_event' > > from > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:343:in > > `dispatch_event' > > from > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/input_elements.rb > > :376:in > > `set' > > from (irb):11 > > from C:/Ruby192/bin/irb:12:in `<main>' > > > _______________________________________________ > > Wtr-development mailing list > > [email protected] > >http://rubyforge.org/mailman/listinfo/wtr-development -- 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]
