Chapter 9 337
Test Sequencing
Creating a Test Execution Order
THEN
CONTINUE
Determines test branching.The drop-down menu
THEN CONTINUE (for IF PASS and IF FAIL)
contains six branching options:
n THEN CONTINUE executes the next test
configured in the Sequencer.
n THEN RETURN: tells VEE to stop executing tests
and put the specified expression on the Return
output pin of the Sequencer.
n THEN GOTO: jumps to the test named in its field.
n THEN REPEAT repeats the current test up to the
number of times specified in the MAX TIMES:
field. If the PASS/FAIL condition still exists after
the maximum number of repeats, then VEE
continues with the next test.
n THEN ERROR: stops execution by generating an
error condition with the given error number. An
error can be trapped with the Error output pin
on the Sequencer. No other output pins will
send data.
n THEN EVALUATE: calls the specified
UserFunction, which must return a string that
states a branching menu option. Valid string
results from the UserFunction are:
"Continue", "Return <expr>", "Goto
<name>", "Repeat <expr>", "Error
<expr>", where <expr> is any valid VEE
expression and <name> is the name of a test in
the sequence. This option allows you to ask the
user what to do next.
Table 9-1. Sequence Transaction Dialog Box (Continued)
Sequence
Transaction
Field
Explanation