This is just what you need:

        http://webtest.canoo.com/webtest/manual/repeat.html

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place
http://www.tabbysplace.org


--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place
http://www.tabbysplace.org


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of mascis
Sent: Friday, August 20, 2010 6:06 AM
To: [email protected]
Subject: [Webtest] While -step in Webtest



I need to make a test that generates a (partly) random address and verify if
it's existing or not. If it's not test should generate a new address and go
there until the generated page exists. 
This could easily be done with a simple while-loop but as far as I know
Webtest does not have one. I'm not sure if this could somehow be made with
just if-step (I guess if-step should be able to refer to itself somehow). 
While-loop could be made by groovy-step but I don't know how to put verify
text etc. steps inside the groovy code.

Can someone help me?
-- 
View this message in context:
http://old.nabble.com/While--step-in-Webtest-tp29490451p29490451.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to