List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Iteration


  • Subject: Re: [QF-Test] Iteration
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 18 Mar 2015 08:08:32 +0100

Hello Claudio,

you can either use a plain 'Loop' node, or a 'Test-set' with a
'Data-driver' and 'Test-case' like the following:

+ Test-set
  + Data-driver
    + Data loop (or some other data source, Excel, DB...)
  + Test-case
    ...

Both the 'Loop' and the 'Data...' nodes have an 'Iteration counter'
attribute. Set it to a variable name, e.g. 'i', then use $(i) when you
need the index for your form field.

Note that iteration counters in QF-Test start with 0. If you need the
first index to be 1, use $[$(i) + 1] instead of just $(i).

Best regards,
    Greg

Claudio Boscani <bosca2512@?.com> writes:

> Happy Tuesday, everyone.
> I'm testing a Web based application for data collection.
> Identified a series of sequences, I need that they runs again and again and I want that for every
> single time they run they insert in a form field  a progressive number,for example first time
> 1,second time 2 and so on....
>
> Thanks in advice.
> Good week

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 (0)8171 38648-11
F: +49 (0)8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833