Modal dialogs don't work yet in Ruby 1.9.2. The WIN32OLE API changed
substantially in Ruby 1.9.2 and we rely on a custom compiled version
of that library to provide access to the modal dialog DOM. This is
working in Ruby 1.8.7 so if you need modal dialog support you'll need
to go back (the latest
Hi Hugh,
I am using ruby 1.8.7 and watir 2.0 and trying to click a button on a Modal
dialog and nothing is happening. Being new to watir what do I need to do to
get this to work?
Button I am trying to click:
a id = accept_terms_of_useonclick = remove_submit_button(); jQuery.*
the watir action
Hugh,
Thanks that explains a lot. I can continue testing in 1.9.2. with that
in mind. I will try my code in 1.8.7 to see how it goes.
Joe,
You have to attach to the modal if you have not done that already.
Also watch out for frames. If there are frames involved you will have
to connect to the
Hi George,
Thank for responding. What do you mean by attach? Can you give me an
example? I am very new with watir though I am a long time HP QTP developer.
Thank you.
Joe
On Wed, Sep 21, 2011 at 11:44 AM, George Wiley george.wi...@gmail.comwrote:
Hugh,
Thanks that explains a lot. I can
Does watir 2.x support ruby 1.9.x? http://watir.com/installation/
still recommends 1.8.6 or 1.8.7 (although the documentation might be
slightly out of date).
orde
On Sep 16, 7:48 am, George Wiley george.wi...@gmail.com wrote:
The code below works fine with Win7, IE8, Ruby 1.8.6 and Watir 1.6.2
Ahhh...I didn't realize that Ruby 1.9.2 + Watir 2.x was ready for
testing. I'll have to upgrade a VM and take a look as well.
Sorry for getting off topic and not providing a solution to your
issue ;)
orde
On Sep 16, 11:03 am, George Wiley george.wi...@gmail.com wrote:
I read in this group