Adds an iteration into the current test and gives the values of test parameters for this iteration.
Remark: This function can only be used in the code of an automated test. It must be used in the event "Before the test".
// The current test performs an addition, it is described with 3 parameters (p1, p2 and res)
// The code of the test scenario is res=p1+p2
// In the code before test, add the test data
TestAddIteration(1, 0, 1)
TestAddIteration(2, 2, 4)
TestAddIteration("a", "b", "ab")
// The test scenario will be run 3 times and it will check that
// 1 + 0 = 1
// 2 + 2 = 4
// "a" + "b "= "ab"
Syntax
TestAddIteration(<Parameter 1> [, <Parameter 2> [... [, <Parameter N>]]])
<Parameter 1>: Variant
First parameter that will be passed to the test. This parameter was defined in the event "Test scenario".
<Parameter 2>: Optional variant
Second parameter to pass to the test. This parameter was defined in the event "Test scenario".
<Parameter N>: Optional variant
Nth parameter that will be passed to the test. This parameter was defined in the event "Test scenario".
Business / UI classification: Neutral code
Component: wd280testexe.dll