Use #click_no_wait instead.

Jarmo

On Nov 2, 11:29 am, Pallavi Sharma <[email protected]> wrote:
> Hi
>
> I am trying a scenario, where the object click results in a pop up window so
> it hangs until the popup is handled.
>
> so i am trying something like this:
>
> begin
> Timeout::timeout(30)
> {
>  obj.click}
>
> rescue Exception => e
> message=e
> end
>
> So ideally this should time out the code in the block and come out and go to
> exception.
>
> But until i handle the popup this doesnot come out from the click.
>
> Why is this happening?
>
> Will in this case System timer  or Terminator work?
>
> Or nothing will work in here due to the way obj.click is implemented.
>
> Kindly help
>
> Regards
> --
> Pallavi.
--~--~---------~--~----~------------~-------~--~----~
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