[Webtest] Re: New step: "sleep"

Scot Hale webtest@lists.canoo.com
Mon, 5 May 2003 08:22:06 -0700


You could probably do this by imbedding a <sleep> step inside a <repeat>
step
----- Original Message -----
From: "Christopher Painter-Wakefield" <paint007@mc.duke.edu>
To: <webtest@gate.canoo.com>
Sent: Monday, May 05, 2003 7:18 AM
Subject: [Webtest] Re: New step: "sleep"


>
>
>
>
>
> This is a function I need, too.  We have an indexing routine that only
> fires once a minute, so I can't test it without something like this sleep
> function.  I was thinking of just using the core sleep routine, but having
> something integrated as a step would be very helpful.  Another useful
> extension would be some kind of "wait" step, which would keep trying a set
> of tests until either all succeed or until a timer runs out.  E.g.,
> something like
>       <wait waitTime="60" sleepTime="5">
>             <invoke ...>
>             <verifyxpath ...>
>       </wait>
>
> -Christopher
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>