[wtr-general] Re: Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-21 Thread Hugh McGowan
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

[wtr-general] Newbie Dilemma

2011-09-21 Thread bala
Hi I am in the process of finalizing our test automation tool and I am in favour of Watir. However there are couple of questions. This is what I have in mind. I would appreciate your help. 1. If I select Watir-Webdriver, can also use the same test script with Watir. I do understand that there

Re: [wtr-general] Re: Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-21 Thread Joe Fleck
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

[wtr-general] Re: Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-21 Thread George Wiley
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

[wtr-general] Re: firefox (on windows) DL path in browser prefs has issues

2011-09-21 Thread jw
You're an OSX user, true? So this is happening there as well? On Sep 17, 5:34 am, Alister Scott alister.sc...@gmail.com wrote: Thanks SO much for this. I was experiencing this EXACT same problem yesterday and it was driving me nuts! With this patch, will it also work with a newer version of

Re: [wtr-general] Re: Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-21 Thread Joe Fleck
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

[wtr-general] Re: firefox (on windows) DL path in browser prefs has issues

2011-09-21 Thread jw
Successfully tested the above patch on FF6.0.2 on XP. I saw the 'double escaping' patch you/he recommended in your change request but I'm sticking to this for the time being... works on my machines :) On Sep 21, 11:54 am, jw joshuawal...@gmail.com wrote: You're an OSX user, true? So this is