background image
<< Marking Testplans - Adding or removing members of a Set attribute | Marking Testplans - Unmark the selected test >>
Marking Testplans - Marking a testplan
<< Marking Testplans - Adding or removing members of a Set attribute | Marking Testplans - Unmark the selected test >>
User's Guide
243
11 C
ATEGORIZING
AND
M
ARKING
T
ESTPLANS
Marking a testplan
RunWhen: - regression
Test 2
testcase: t2
In this example, Test 1 has the values UI and regression. The statement
RunWhen: - regression
removes the value regression from the previously assigned values, so Test2
has the value UI.
Note the following about using + and ­:
·
You must follow the + or ­ with a space.
·
You can add or remove any number of elements with one statement.
Separate each element with a semicolon.
·
You can specify + element(s) even if no assignments had previously been
made; the result is that the element(s) are now assigned.
·
You can specify ­ element(s) even if no assignments had previously been
made; the result is that the set's complement is assigned. Using the
previous example, specifying
RunWhen: - regression
when no RunWhen assignment had previously been made results in the
values UI and smoke being assigned.
Marking a testplan
Marks are temporary denotations that allow you to work with selected tests in
a testplan. Marks can be removed at any time, and they last only as long as
the current work session.
Black stripe denotes a
mark
You can recognize a marked testcase by the black stripe in the margin. The
following figure shows two marked tests in the outline4 testplan.