[wtr-general] Re: screenshots with watir (not webdriver)

2012-03-23 Thread Ry
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'

Re: [wtr-general] Re: screenshots with watir (not webdriver)

2012-03-23 Thread Oscar Rieken
@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 crossan...@gmail.com wrote: hilary did you find an answer to your issue? I have the same

Re: [wtr-general] Re: screenshots with watir (not webdriver)

2012-03-23 Thread hillary
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

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-29 Thread Chuck van der Linden
the actual full text of the error is generally more helpful than just knowing the type of error.. for example we might learn which line in which file is trying to require 'watir/ie' I'm curious why you would require 'watir/ie' and not just 'watir' I've seen that in some old scripts around here,

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-29 Thread hillary
This is the error: C:/Ruby192/bin/ruby.exe -S rspec ./spec/isolation/demo/login_page_spec.rb --requ ire taza --format html --out artifacts/1330543000/index.html --format p --format FailingExamplesFormatter --out artifacts/1330543000/failing_examples.txt F Failures: 1) LoginPage should

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-28 Thread Jarmo Pertman
No, there shouldn't be any difference how the browser object is created since RAutomation doesn't depend on Watir at all and the dependency between Watir-RAutomation shouldn't play any role in here either... Jarmo On Feb 28, 2:42 am, hillary weimar1...@gmail.com wrote: so it's not working,

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-28 Thread hillary
any reason why win32/screenshot would have a problem? On Tuesday, February 28, 2012 7:10:43 AM UTC-8, Jarmo Pertman wrote: No, there shouldn't be any difference how the browser object is created since RAutomation doesn't depend on Watir at all and the dependency between Watir-RAutomation

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-28 Thread enroxorz
What is the error you are getting? Also, note that rautomation 0.6.3 and 0.7.0 throws an error. Did you update to the latest win32screenshot? On Feb 28, 2:52 pm, hillary weimar1...@gmail.com wrote: any reason why win32/screenshot would have a problem? On Tuesday, February 28, 2012

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-28 Thread hillary
no such file to load -- watir/ie' error. I'm running into the same error in another place with a new taza project i created, so i think i'm running into a mixture of problems. On Tuesday, February 28, 2012 12:27:08 PM UTC-8, enroxorz wrote: What is the error you are getting? Also, note

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-27 Thread hillary
so it's not working, because the latest version of rautomation having a problem with how taza starts up the watir browser event. def self.watir_ie(params) require 'watir' puts running watir if params[:attach] browser = Watir::IE.find(:title, //) end

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-24 Thread Jarmo Pertman
That's weird. I'm not seeing that error with 1.0.11 and everything seems to be working for me. Jarmo On Feb 23, 4:59 pm, enroxorz enrique.j.ma...@gmail.com wrote: Just as a quick FYI, win32screenshot gem only works with ffi gem 1.0.9. If you have 1.0.11 you will get this error:

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-24 Thread Jarmo Pertman
I can't remember and can't find anything in changelog either. But it was done by someone else and at least feels like long time ago. Jarmo On Feb 23, 9:02 pm, Chuck van der Linden sqa...@gmail.com wrote: how long is a long time ago?  the rdoc for 2.0.4 has it listed (http://

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-24 Thread enroxorz
Is there anything you need from me to figure out why it isnt working for me? On Feb 24, 4:30 am, Jarmo Pertman jarm...@gmail.com wrote: That's weird. I'm not seeing that error with 1.0.11 and everything seems to be working for me. Jarmo On Feb 23, 4:59 pm, enroxorz enrique.j.ma...@gmail.com

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-24 Thread Chuck van der Linden
On Feb 24, 1:35 am, Jarmo Pertman jarm...@gmail.com wrote: I can't remember and can't find anything in changelog either. But it was done by someone else and at least feels like long time ago. Jarmo On Feb 23, 9:02 pm, Chuck van der Linden sqa...@gmail.com wrote: 1) how can I view the rdoc

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-24 Thread enroxorz
Cant you fire up the rdoc server? (gem server) On Feb 24, 1:16 pm, Chuck van der Linden sqa...@gmail.com wrote: On Feb 24, 1:35 am, Jarmo Pertman jarm...@gmail.com wrote: I can't remember and can't find anything in changelog either. But it was done by someone else and at least feels like

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-23 Thread Jarmo Pertman
Yes, since that method is deleted a long time ago already. Use Win32::Screenshot instead. First, install Win32::Screenshot gem install win32screenshot Then, take the screenshot by providing browser.rautomation as a parameter: Win32::Screenshot::Take.of(:rautomation,

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-23 Thread enroxorz
Just as a quick FYI, win32screenshot gem only works with ffi gem 1.0.9. If you have 1.0.11 you will get this error: c:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original _require' c:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-23 Thread Chuck van der Linden
how long is a long time ago? the rdoc for 2.0.4 has it listed (http:// rubydoc.info/gems/watir/2.0.4/Watir/ScreenCapture), and I did not notice anything in the release notes for 3.0 about it being removed or altered. On Feb 23, 4:57 am, Jarmo Pertman jarm...@gmail.com wrote: Yes, since that

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-22 Thread Chuck van der Linden
yes there is a screenshot method. see http://rubydoc.info/gems/watir/2.0.4/Watir/ScreenCapture#screen_capture-instance_method On Feb 22, 10:50 am, hillary weimar1...@gmail.com wrote: is there a built in method for taking screenshots with watir? either 2.0 or 3.0. -- Before posting, please

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-22 Thread enroxorz
Is there a small write up on how to use this? Basically, is it part of the browser object like this: @browser.text_field(:id = 'something').set @browser.screen_capture('temp.jpg',true,false) or is it more like this @browser.text_field(:id = 'something').set

[wtr-general] Re: screenshots with watir (not webdriver)

2012-02-22 Thread Chuck van der Linden
On Feb 22, 1:39 pm, enroxorz enrique.j.ma...@gmail.com wrote: Is there a small write up on how to use this? Basically, is it part of the browser object like this: @browser.text_field(:id = 'something').set @browser.screen_capture('temp.jpg',true,false) Like that except you are likely going