You can do two things:
1. Either you can wait for a particular text to appear on the page
2. You can wait for an element to exists or enabled or certain text in text
box etc.

Have a look here:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIdealwithtimingissuesandnotusesleep%3F

- Angrez

On Tue, Mar 24, 2009 at 10:34 AM, vladimir...@hotmail.com <
vladimir...@hotmail.com> wrote:

>
> In comercial tools, like QuickTest Pro, there are API for
> synchronization points.
> You may wait for a certain time while the page is downloded before
> performing any operations on it.
> The API ranges from simple wait() to more sophisticated functions
> waiting for specific object properties.
>
> Do we have analogs for synchronization points in Watir?
> Do we need to create a loop checking if the web page contains some
> text to guarantee it downloaded?
>
> So far I did not insert any synchronization points in the scripts and
> everything worked fine.
> >
>

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

Reply via email to