List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


[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