There are known issues with Ruby 1.9.2 which i'd like to fix in the next version - e.g. 2.0.1. In the meantime, use 1.8.7.
Jarmo On Jul 25, 8:39 pm, Chuck van der Linden <sqa...@gmail.com> wrote: > So just to be clear, at this point for Watir 2.0.0 what would be our > 'recommended' version of Ruby, and which versions would be > 'supported'? > > (in that context I consider: 'supported' = should work, may have been > tested; 'recommended' = 'tested' and likely to work 'best' and/or used > by watir developers.) > > On Jul 25, 5:03 am, Jarmo <jarm...@gmail.com> wrote: > > > > > > > > > Don't use Ruby 1.9.2 right now since it is related with other bugs related > > with 1.9.2. Didn't want to fix those at the moment to avoid even bigger > > changes. > > > Jarmo > > > On Mon, Jul 25, 2011 at 2:59 PM, Alister Scott > > <alister.sc...@gmail.com>wrote: > > > > I am having a play around with this on Win7/Ruby 1.9.2, but can't get very > > > far. > > > > What am I doing wrong? > > > > irb(main):001:0> require 'watir' > > > => true > > > irb(main):002:0> b = Watir::Browser.new > > > => #<Watir::IE:0x..f90492b14 url="about:blank" title=""> > > > irb(main):003:0> b.goto 'www.google.com' > > > => 1.363929 > > > irb(main):004: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.0.rc2/lib/watir/element.rb:37 > > > 7:in > > > `method_missing' > > > from > > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/element.rb:37 > > > 7:in > > > `create_event' > > > from > > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/element.rb:34 > > > 3:in > > > `dispatch_event' > > > from > > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/input_element > > > s.rb:376:in > > > `set' > > > from (irb):4 > > > from C:/Ruby192/bin/irb:12:in `<main>' > > > irb(main):005:0> > > > > Cheers, > > > > Alister Scott > > > Brisbane, Australia > > > Watir Web Master:http://watir.com > > > Blog:http://watirmelon.com > > > LinkedIn:http://www.linkedin.com/in/alisterscott > > > > "There are two ways to get enough: One is to continue to accumulate more > > > and more. The other is to desire less." *~ G. K. Chesterton* > > > > On Mon, Jul 25, 2011 at 8:59 PM, Jari Bakken <jari.bak...@gmail.com>wrote: > > > >> On Sun, Jul 24, 2011 at 11:53 PM, Jarmo <jarm...@gmail.com> wrote: > > >> > Good news everyone! > > >> > I've found some time to play with Watir and managed to release a new > > >> version > > >> > - 2.0.0.rc2 (rc1 had buggy dependency, sorry)! > > >> > There are some big changes including 0-based-indexing, which is enabled > > >> by > > >> > default and not releasing new versions of FireWatir. > > >> > Also, all collection factory methods accept now (multiple) > > >> > specifiers/locators. A lot of these changes are compatible with > > >> > Watir-WebDriver (see the list of incompatibilities compared with > > >> previous > > >> > versions > > > >> Nice work! > > > >> > * renamed CheckBox class to Checkbox > > >> > * renamed CheckBoxes class to Checkboxes > > > >> What's the rationale for this? This adds a new incompatibility with > > >> watir-webdriver and breaks backwards compatibility for anyone relying > > >> on the class name. The change seems rather arbitrary. > > > >> Jari > > > >> -- > > >> Before posting, please readhttp://watir.com/support. In short: search > > >> before you ask, be nice. > > > >> watir-general@googlegroups.com > > >>http://groups.google.com/group/watir-general > > >> watir-general+unsubscr...@googlegroups.com<http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...> > > > > _______________________________________________ > > > Wtr-development mailing list > > > wtr-developm...@rubyforge.org > > >http://rubyforge.org/mailman/listinfo/wtr-development -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com