background image
<< Inserting a Scenario | Relating Preconditions Set in Suites to Those in Test Cases >>
<< Inserting a Scenario | Relating Preconditions Set in Suites to Those in Test Cases >>

Setting a Precondition Within a Suite

212
Chapter 7 - Creating Functional Testing Suites
To create a new scenario:
s
From the Scenarios section of the suite, click
Suite > Insert > Scenario
.
Note:
For detailed procedures, see the TestManager Help.
To insert a scenario into a suite:
s
Click where you want to place the scenario, and then click
Suite > Insert > Scenario
.
Note:
For detailed procedures, see the TestManager Help.
After you have created the scenario and the computer group that runs the scenario, it
is a good idea to populate the scenario. A scenario requires only test scripts to run.
However, like a computer group, a realistic scenario may also contain test cases,
suites, and selectors.
Setting a Precondition Within a Suite
When you insert a test script, test case, or suite into a suite, you can specify whether
successful completion of that item is a precondition for the remainder of that suite
sequence. The item must pass for the remaining suite items at the same level to run.
For example, suppose a suite includes two suites, each of which contains an
initialization test script and several test cases. If you set a precondition on the
initialization test script and the test script fails, TestManager skips all remaining test
cases within that suite only. The suite run resumes at the beginning of the second
suite.
Preconditions apply only to the specific instance of the test script, test case, or suite.
For example, if you insert a test script multiple times and you want to set a
precondition on all instances of the test script, you must set the precondition for each
test script.