[Wtr-general] [question] Setting timeout for a ie.wait method?

Rodrigo Julian Martin rodrigo.martin at enratio.com
Thu Jun 1 16:22:41 EDT 2006


Thanks for all your replies...

 

The Chris McMahon answer doesn't fit exactly with what I'm trying to do,
but maybe is a good approach...

 

Bret, with the assert sentence, can I say something like... If assert
fails, do some code?

 

John, I can't understand your code, I guess I'm too newbie to OO
programming...Are you waiting always for 30 seconds? Could this be
parametrized too?

 

Thanks again to all of you!

 

 

________________________________

From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Bret Pettichord
Sent: Jueves, 01 de Junio de 2006 03:50 p.m.
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] [question] Setting timeout for a ie.wait
method?

 

The problem is that link().click won't return until the page is loaded.
Maybe you meant to use link().ole_object.click instead?

Bret

On 6/1/06, Chris McMahon <christopher.mcmahon at gmail.com> wrote:

> P.S. I have my doubts about McMahon's suggestion.

:)
I'm doing something very similar to this in my current Watir scripts
right now, except I haven't put in the max-retries logic yet.
-Chris
_______________________________________________ 
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060601/9c2bd723/attachment.html 


More information about the Wtr-general mailing list