Thanks for the reply! So Watir-craft does not support any latest versions of Watir or Watir-Classic? Does Watir-craft 0.5.0 supports water-webdriver, if I install Watir-webdriver instead Watir-Classic? -Pavithra
On Wednesday, April 17, 2013 5:00:00 PM UTC+5:30, Pavithra wrote: > Hi All, > > I had been working on Functional Automation using Ruby 1.8.6, Watir 1.6.5 > with Watir-Craft framework. > > Currently to support Windows 8 IE10, I have upgraded system with Ruby > 1.9.3 p392, Watir-Classic 3.6.0 & Watir-Craft 0.5.0. > > I face multiple issues in executing Scripts run through rake using > cucumber Feature files as listed below; > > Errors as *Superclass mismatch Class B* at : > C:\Ruby193\lib\ruby\gems\1.9.1\gems\bret-watircraft-0.5.0\lib\extensions\watir.rb > Errors as *undefined method `each_pair' for nil:NilClass (NoMethodError)*at > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bret-watircraft-0.5.0/lib/taza/settings.rb:84:in > > `convert_string_keys_to_symbols' > Errors at *create_watir method* at > C:\Ruby193\lib\ruby\gems\1.9.1\gems\bret-watircraft-0.5.0\lib\taza\browser.rb > > Sample Project created with features & step definitions works fine without > Watir-craft framework. > > Since I have all my Scripts written in Watir-craft framework, Can anyone > please guide me to get scripts working with Watir-Classic. Thanks in > advance! > > *** LOCAL GEMS *** > activesupport (2.3.8) > addressable (2.2.6) > bigdecimal (1.1.0) > bret-watircraft (0.5.0) > builder (3.2.0, 2.1.2) > chronic (0.2.3) > commonwatir (1.6.5) > cucumber (1.2.5, 0.7.3) > data_objects (0.10.12, 0.10.6) > diff-lcs (1.2.3, 1.1.2) > dm-core (1.0.2) > dm-do-adapter (1.0.2) > dm-migrations (1.0.2) > dm-sqlite-adapter (1.0.2) > do_sqlite3 (0.10.12 x86-mingw32) > extlib (0.9.15) > ffi (1.7.0 x86-mingw32) > firewatir (1.6.5) > fxri (0.3.6) > fxruby (1.6.12 mswin32) > gherkin (2.11.8 x86-mingw32, 1.0.30 i386-mswin32) > hoe (3.5.3, 2.6.1) > hpricot (0.6 mswin32) > hydra (0.22.2) > io-console (0.3) > json (1.5.5) > json_pure (1.4.3) > log4r (1.0.5) > metaclass (0.0.1) > mini_magick (3.5.0) > minitest (2.5.1) > mocha (0.9.8) > multi_json (1.7.2) > nokogiri (1.5.7.rc3 x86-mingw32, 1.4.2.1 x86-mswin32) > parseexcel (0.5.2) > rake (0.9.2.2, 0.8.7, 0.7.3) > rasta (0.1.10 x86-mswin32-60) > rautomation (0.8.0) > rdoc (3.9.5) > rspec (1.2.9) > rspec-core (2.13.1) > rspec-expectations (2.13.0) > rspec-mocks (2.13.1) > rubigen (1.5.5) > rubyforge (2.0.4) > rubygems-update (1.3.6) > s4t-utils (1.0.4) > sources (0.0.1) > sqlite3 (1.3.7 x86-mingw32) > sqlite3-ruby (1.3.1 x86-mswin32-60) > subexec (0.2.3) > syntax (1.0.0) > sys-proctable (0.9.0 x86-mswin32-60) > taglob (1.1.2) > term-ansicolor (1.0.5) > trollop (1.16.2) > user-choices (1.1.6.1) > watir-classic (3.6.0) > win32-api (1.4.8 x86-mingw32, 1.4.6 x86-mswin32-60, 1.0.4 mswin32) > win32-clipboard (0.4.3) > win32-dir (0.3.2) > win32-eventlog (0.4.6) > win32-file (0.5.4) > win32-file-stat (1.2.7) > win32-process (0.7.2, 0.6.2, 0.5.3) > win32-sapi (0.1.4) > win32-sound (0.4.1) > win32console (1.3.0 x86-mswin32-60) > win32ole-pp (1.2.0) > win32screenshot (1.0.8) > windows-api (0.4.2, 0.4.0, 0.2.0) > windows-pr (1.2.2, 1.0.9, 0.7.2) > xml-simple (1.1.2, 1.0.12) > > RubyGems Environment: > - RUBYGEMS VERSION: 1.8.24 > - RUBY VERSION: 1.9.3 (2013-02-22 patchlevel 392) [i386-mingw32] > - INSTALLATION DIRECTORY: C:/Ruby193/lib/ruby/gems/1.9.1 > - RUBY EXECUTABLE: C:/Ruby193/bin/ruby.exe > - EXECUTABLE DIRECTORY: C:/Ruby193/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-mingw32 > - GEM PATHS: > - C:/Ruby193/lib/ruby/gems/1.9.1 > - C:/Users/.gem/ruby/1.9.1 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://rubygems.org/", "http://gems.github.com"] > - REMOTE SOURCES: > - http://rubygems.org/ > - http://gems.github.com > > Thanks, > Pavithra > > -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
