In a variable check, when multiple values have been defined
for a variable, you can create a synchronized set of values, with
the same number of elements, which can be synchronized.
Synchronizing values requires that at least two sets of
values (series, multiple, datapool) have been defined in the test
case. Both value sets must have the same number of elements.
Without synchronization, each combination of all the values
from all sets generates one call to the function under test, or
iteration. The number of iterations is displayed in the test
case editor. Using multiple sets can rapidly generate a large number
of iterations, which can cause tests to run for long periods. For
example, for the values in the following table, the test generates
5 x 5 x 2 = 50 iterations.
| Variable |
Initialization value |
Number of elements |
| a |
[0.0, 1.0, 2.0, 3.0, 4.0] |
5 |
| b |
[0.0, 0.1, 5.0, 10.0, 10.1] |
5 |
| c |
[0, 1] |
2 |
When two or more sets are synchronized, elements of
each set are run together. In the previous example, if the initialization
values for a and b are synchronized,
a=0 is called with b=0.0, a=2 is called with 0.1, and so on. The test
generates 5 x 2 = 10 iterations.
Synchronizing variables enables
you to run two or more sets of values in parallel, such as linked
curves or sets of coordinates.
To create a synchronized multiple value set.
- In the test editor, select a check block to edit the variable
checks.
- In the Initial Expression column
of one variable, click the Menu button and
select Multiple.
- In the Multiple Initial Expression window, select Synchronized with and select
the variable which is initialized with another multiple set.
The number of iterations is evaluated and displayed on the
Iterations line of the test editor and the quick edition
area switches to multiple edition mode.

- In the quick edition area, type a value for each element
in the set.
- Press TAB to move to the next element in
the set.
- Click the Previous
and Next
buttons to scroll through the elements of the
set.
- Click the ... button to open the advanced
editor window. The advanced editor provides an expanded table view
of the values.
- Press ENTER or click
to apply the changes.