is this just one particular place in your script?

You could do something like grab current time into a variable 'start
time'

then have a while loop repeats if the process is not finished, and
inside the loop you
  sleeps for a few seconds,
  checks to see if 5 min has elapsed  (and take appropriate action,
then break out of the loop)

lots of potential ways to skin this cat, just need to really have a
better idea of exactly what you are trying to do to suggest what might
be considered an 'optimal' way to handle this.

On May 15, 12:28 am, suri <[email protected]> wrote:
> Hi,
>
>   I have a scenario where i stucked, I have got a script alert in
> application, If i want to capture it and then after 5 mins i have to
> click on OK saying a mesg time out in my log.
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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