So, the popup is modal dialog.
What did you use for handling popup?
browser.enabled_popup()  <-- that will not work. It requires browser to be 
enabled.

So, try using 'autoit'.

Michael




----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: Watir General <[email protected]>
Sent: Wednesday, December 10, 2008 1:11:15 PM
Subject: [wtr-general] Re: button.Click_No_Wait only highlights the button, 
does not click


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, Bret.
> > That puzzles me the reason to use a new process to do the click_no_wait.
>
> > Since click() is working, I suggest to use 'click!' as click_no_wait 
> > alternate way for now.
>
> The reason is complicated. The problem is that if the click triggers a
> modal dialog, then the call will block. This means that the method won't
> return until after the dialog has been dismissed.
>
> Because the call blocks, we make the call in a separate process. That
> process gets blocked, but we don't care about it any more.
>
> Using click! is a good idea. It might work in circumstances where the
> call won't be blocked.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to