It worked if i used it without requiring 'rautomation' or 'win32screenshot' (rautomation 0.6.3 and watir rc2).
I haven't tried screenshots recently, but it seems to be working with the latest rautomation (0.7.2) and watir (rc3). It seems to be working fine now. On Friday, March 23, 2012 8:20:49 AM UTC-7, Oscar.Rieken wrote: > > @hillary > does it work if you just use watir and ie in the config.yml? > > it could just be the Watir:IE.new I will give this a look when i get some > chance this weekend. > > On Fri, Mar 23, 2012 at 10:53 AM, Ry <[email protected]> wrote: > >> hilary did you find an answer to your issue? I have the same problem. I >> know it is related to win32screenshot because if I remove it from script, >> than script is fine. >> >> I am using Watir 2, no webdriver >> >> Error: test_me(My_test) >> LoadError: no such file to load -- watir/ie >> wet.rb:12:in `test_me' >> 9: include Watir >> 10: >> 11: def test_me >> => 12: ie = Watir::IE.new >> 13: >> >> then my list of gems >> >> *** LOCAL GEMS *** >> >> actionmailer (3.2.1) >> actionpack (3.2.1) >> activemodel (3.2.1) >> activerecord (3.2.1) >> activeresource (3.2.1) >> activesupport (3.2.1) >> arel (3.0.0) >> builder (3.0.0) >> bundler (1.0.21) >> cheri (0.5.0) >> childprocess (0.3.0) >> ci_reporter (1.7.0) >> coffee-rails (3.2.2) >> coffee-script (2.2.0) >> coffee-script-source (1.2.0) >> commonwatir (2.0.4) >> crypt (1.1.4) >> cucumber (1.1.9, 1.1.4) >> diff-lcs (1.1.3) >> domain_name (0.5.2) >> erubis (2.7.0) >> execjs (1.3.0) >> ffi (1.0.11) >> firewatir (1.9.4) >> gem_plugin (0.2.3) >> gherkin (2.9.0 x86-mingw32, 2.7.6 x86-mingw32) >> git (1.2.5) >> hike (1.2.1) >> hoe (2.14.0) >> hpricot (0.8.6) >> i18n (0.6.0) >> jar_wrapper (0.1.2) >> jeweler (1.8.3) >> journey (1.0.1) >> jquery-rails (2.0.0) >> json (1.6.5) >> logger (1.2.8) >> mail (2.4.1) >> mechanize (2.3) >> mime-types (1.17.2) >> mini_magick (3.4, 3.2.1) >> minitest (2.11.1, 1.6.0) >> multi_json (1.0.4) >> net-http-digest_auth (1.2) >> net-http-persistent (2.5.2) >> nokogiri (1.5.0 x86-mingw32) >> ntlm-http (0.1.1) >> polyglot (0.3.3) >> rack (1.4.1) >> rack-cache (1.1) >> rack-ssl (1.3.2) >> rack-test (0.6.1) >> rails (3.2.1) >> railties (3.2.1) >> rake (0.9.2.2, 0.8.7) >> rautomation (0.7.2, 0.6.3) >> rdoc (3.12, 2.5.8) >> rspec (2.9.0, 2.8.0) >> rspec-core (2.9.0, 2.8.0) >> rspec-expectations (2.9.0, 2.8.0) >> rspec-mocks (2.9.0, 2.8.0) >> rubygems-update (1.8.20) >> rubyzip (0.9.5) >> s4t-utils (1.0.4) >> sass (3.1.14) >> sass-rails (3.2.4) >> selenium (0.2.5) >> selenium-webdriver (2.19.0, 2.18.0) >> shoes (3.0.1) >> sprockets (2.1.2) >> sqlite3 (1.3.5 x86-mingw32) >> subexec (0.2.1, 0.0.4) >> term-ansicolor (1.0.7) >> test-unit (2.4.8) >> thor (0.14.6) >> tilt (1.3.3) >> treetop (1.4.10) >> tzinfo (0.3.31) >> uglifier (1.2.3) >> unf (0.0.5) >> unf_ext (0.0.4 x86-mingw32) >> user-choices (1.1.6.1) >> watir (2.0.4) >> watir-webdriver (0.5.3) >> webrobots (0.0.13) >> win32-api (1.4.8 x86-mingw32) >> win32-process (0.6.5) >> win32screenshot (1.0.7) >> windows-api (0.4.1) >> windows-pr (1.2.1) >> wxruby-ruby19 (2.0.1 x86-mingw32) >> xml-simple (1.1.1) >> zip (2.0.2) >> >> >> On Wednesday, February 22, 2012 10:50:58 AM UTC-8, hillary wrote: >>> >>> is there a built in method for taking screenshots with watir? either 2.0 >>> or 3.0. >>> >> -- >> 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<http://groups.google.com/group/watir-general> >> watir-general+unsubscribe@googlegroups.com<watir-general%[email protected]> >> > > -- 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]
