[Webtest] ANT Sleep and WaitFor calls

Jeannie Graham webtest@lists.canoo.com
Mon, 23 Feb 2004 09:05:57 -0800


Thanks for responding, but I am still not quite understanding.   I get that
it can't be in the <steps> area, but I don't understand how to make my own
subclass for "Step".   Do I need to make a seperate xml file (with task
structure and Sleep) and then call it, using the antcall command?

Thanks for your time,
Jeannie

-----Original Message-----
From: Marc Guillemot [mailto:mguillemot@yahoo.fr]
Sent: Friday, February 20, 2004 1:16 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] ANT Sleep and WaitFor calls


Currently only Webtest Steps can be contained within a <steps>, therefore I 
guess you have to write your own Step subclass performing a Sleep or a
WaitFor 
action.

Personally, I think that we should refactorate Webtest to allow arbitrary
ant 
tasks to be contained in <steps>.
Mittie and the other committers: do you mean that it makes sense or am I
dreaming?

Marc.


Jeannie Graham wrote:
> Hello Group,
> 
> 	I need to use either the Sleep call or the WaitFor call in my Canoo
> scripts, but I keep running into build errors around both calls:
> 
> 	"Task must be of type "Step"
> 
> I have it inside a <target> and a <testSpec> and <steps> commands.   I'm
> sure this is remedial, so please forgive me, I'm new at all this.
> 
> Thank you for your time,
> Jeannie Graham   
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 


_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest