Hi,

Are you running a test that encounters unexpected popups?
If they are expected, why not use click_no_wait and handle them
individually.


Regards,
Darryl

On Mar 23, 11:38 am, al3kc <[email protected]> wrote:
> I have found work around for my problem. I use the following methods
>
> def check_for_popups
>
>   loop do
>
>     popup = autoit.WinWait('Confirm, '', 0.1)
>
>     if  popup == 1
>       autoit.Send('{ENTER}')
>     end
>
>   end
> end
>
> and create new process with this method:
>
> @pid = Process.create(
>     :app_name       => 'ruby popup_closer.rb',
>     :creation_flags  => Process::DETACHED_PROCESS
>     )
>
> So in my case popup should be clicked almost instantly, otherwise
> tests will hang. Is this expected behavior?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to