On Thursday, May 16, 2013 4:34:56 AM UTC-7, Marc Westwood wrote:

> I'm having some problems with click_no_wait.
>
> I have a button which when clicked displays a modaldialog. I am using 
> click_no_wait when clicking the button the button turns yellow but I am not 
> getting the modal dialog displayed. If I use .click the button turns yellow 
> and the modal dialog is displayed. I have also tried .click! this also 
> displays the modal dialog but scripts haults because of the dialog. The 
> button is located within a frame and I am using IE.
>
> I read that a few people have had this issue in the past I was wondering 
> if it has being resolved, I am using ruby version 1.9.3p374 and 
> wait-classic 3.7.0
>

if it's a true JS 'alert' type modal, why not just use .click and the new 
.alert methods?  

these are supported by both Watir-classic and Watir-webdriver.   See here 
for some examples http://watirwebdriver.com/javascript-dialogs/

at this point click_no_wait is pretty much deprecated when it comes to 
dealing with JS dialogs 

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to