[Webtest] conditional looping
Carsten Seibert
webtest@lists.canoo.com
Wed, 19 Jun 2002 07:39:30 +0200
WebTest provides the <repeat> tag for simple loops. Is it possible to
determine the number of iterations upfront? If that is the case, the
<repeat> tag might be a solution to your problem.
Ciao,
Carsten
Carsten Seibert
seiberTEC GmbH Switzerland
mailto:seibert@seibertec.ch / phone: +41 79 636 4317
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Michael Finney
> Sent: Dienstag, 18. Juni 2002 17:28
> To: webtest@lists.canoo.com
> Subject: RE: [Webtest] conditional looping
>
>
>
> Well, simply the case is that N number of pages have
> to be dealt with and N is a random number. Thus, the
> number of iterations is arbitrary.
>
> Think of the situation with a randomn number of pages
> as a game or test. see http://www.jatitan.lycos.com/
> if you want to know what game.
>
> Michael
>
>
> --- Dierk_Konig <Dierk.Koenig@canoo.com> wrote:
> > > -----Original Message-----
> > > From: webtest-admin@lists.canoo.com
> > > [mailto:webtest-admin@lists.canoo.com]On Behalf Of
> > Michael Finney
> > > Sent: Montag, 17. Juni 2002 17:38
> > > To: webtest@lists.canoo.com
> > > Subject: [Webtest] conditional looping
> > ..
> > > (now the harder part)
> > > 6) click a button
> > > 7) click "go to decision form" button
> > > 8) click "submit decision"
> > > 9) if result page title is Simulations, jump back
> > to
> > > step 7
> > > 10) (if we reach here, we are at the
> > ..
> >
> > What are you going to test here?
> >
> > Dynamic properties of the decision form?
> > That simulation do not loop endlessly?
> > How many "goto step 7" do you expect?
> > Is the number of iterations arbitrary or fixed?
> >
> > My advise is to try everything you can to avoid
> > conditional logic in tests.
> > (as opposed to putting a lot of effort in making
> > conditional logic possible)
> >
> > cheers
> > Mittie
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
>
>
> =====
> Michael Finney
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Developer for the Java 2 Platform
> Cofounder of PPJDG
> Cofounder of cosAgile - Colorado Springs XP Users Group
> If replying to this email address fails, try finney@ACM.org
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest