According to the rdoc for the wait_until method, you can provide your own
timeout value:

http://wtr.rubyforge.org/rdoc/classes/Watir/Waiter.html

So maybe something like this will work for you:

wait_until(360, 1) { BLOCK }

In that example 360 is the total number of seconds to wait, and 1 is the
polling interval.

Thanks
Bill


On Thu, Aug 20, 2009 at 4:19 AM, Maumita <[email protected]> wrote:

>
> I have read the topics mentioned by you. I already have used the
> wait_until method..but after 60 secs I got the time out error. And my
> webpage within the time perioed is not able to display the product
> images on UI. The product images to display on UI is taking time.Some
> time it takes 5 minutes..sometime more than that..
>
> Is there anyway that my script will wait untill all product images are
> loaded and displayed properly?
> Or is there anyway to verify that all the images on the page are
> visible or not?
>
> In this scenario, how I will capture the page load time?
>
> On Aug 20, 3:03 pm, Željko Filipin <[email protected]>
> wrote:
> > Have you read this?
> >
> > http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
> >
> > Željko
> > --http://watirpodcast.com/
> >
>

--~--~---------~--~----~------------~-------~--~----~
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