Take a look at 
http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Waiter.html#M000580.

The wait_until method is defined in commonwatir/lib/watir/waiter.rb,
and there's an instance method in the Waiter class on line 36 that
should do the trick (note: untested): @@default_timeout = 60.0

Hope that helps.

orde

On Apr 9, 4:24 am, 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 readhttp://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...@goog 
> > legroups.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