[wtr-general] watir help: click_no_wait doesn't actually click

2008-12-08 Thread larryni...@gmail.com
Hey all - I'm trying to dismiss popups as described at http://wiki.seleniumhq.org/display/WTR/JavaScript+Pop+Ups, solution #5. The first problem was that watir/contrib/enabled_popup was unhappy, but that was fixed by requiring watir/ie (per another post from this group, http://groups.google.com

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-09 Thread larryni...@gmail.com
That's correct: the click method succeeds where the click_no_wait method fails. I'm not entirely sure how to go about checking that, so can you give me more details? Or, equally, can you provide a button or a link that you know for sure to be classed as Input rather than with the tag? Because if

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-10 Thread larryni...@gmail.com
That has the same problems as click: it successfully forces the site to launch a popup, but then the script hangs instead of executing the popup-handling code. But maybe patrick will have more luck? On Dec 10, 1:12 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Michael Hwee wrote: > > Correct,

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-11 Thread larryni...@gmail.com
Okay, so: autoit. Here's some code that I got off another site that doesn't work to dismiss popups: require 'watir' require 'watir/dialog' def check_for_popups autoit = WIN32OLE.new('AutoItX3.Control') # # Do forever - assumes popups could occur anywhere/anytime in your application

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-11 Thread larryni...@gmail.com
Sorry, Michael, your code doesn't work either. It opens the page, highlights the button yellow, and then just sits there. No popup is ever launched because it doesn't actually click the button. Watir doesn't report any errors, but it never completes, either. If I change click_no_wait to click!

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-12 Thread larryni...@gmail.com
; > > > That is disappointing. > > I believe that is something like OS and/or configuration issues, rather > > than watir itself. > > > Michael > > > - Original Message > > From: "larryni...@gmail.com" > > To: Watir Gener