List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au 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