Hi, I've gone through the below link
http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir but it says that

sleep 1 until ie.text.include? "new results are loaded"

This code will keep sleeping until the text "new results are loaded" appears
on the page. However, you may not want to wait forever. Using the following
code will wait; for the text "new results are loaded" to appear on the page
*OR* 60 seconds, whichever comes first.

wait_until {ie.text.include? "new results are loaded"}

just need to know where in the watir library this 60 seconds has been
mentioned so that I can change it to the 120 secs and it would be applicable
to globally for wait_until  method whereever it is called


Thanks

Arihan







On Fri, Apr 9, 2010 at 12:24 PM, arihan sinha
<arihan.si...@googlemail.com>wrote:

> I am using wait_until and its working fine and it seems the default value
> is 60 secs. I mean it waits for 60 secs . If it doesnt find then status is
> fail.
>
> but if I want to change that to say 120 secs (  because in our apps few
> cases it takes more than 60 secs) then where i need to change. there must be
> something in the library file where we can change. anyone can suggest pls
>
> Thanks
> Arihan
>
>
> On Mon, Mar 29, 2010 at 3:24 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Mon, Mar 29, 2010 at 4:22 PM, arihan sinha <
>> arihan.si...@googlemail.com> wrote:
>> > can I use the synchronisation statement in the ruby test rather than
>> sleep statement.
>>
>> Did you read this?
>>
>> http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
>>
>> Željko
>> --
>> watir.com - community manager
>> pledgie.com/campaigns/2982 - donate to Watir
>> watirpodcast.com - host
>> testingpodcast.com - audio podcasts on software testing. all of them
>>
>>
>>  --
>> 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: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>>
>> 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.
>>
>
>

-- 
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: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.

Reply via email to