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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Jueves, 01 de Junio de 2006 03:50 p.m.
To: [email protected]
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 <[EMAIL PROTECTED]> 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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to