2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2015


[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