
Part 7 - Using Test Configurations and Variants
Use
A test configuration contains references to the test script, system data, and test data needed to execute a test.
Prerequisites
You have created a test script and a test data container as described in part 6 of this tutorial. You have created a system data container as described in part 5 of this tutorial.
Procedure
Create a Test Configuration
.The test configuration editor appears.
, and save as a local object.Create a Variant Manually
You see that the ECATTDEFAULT variant has the parameters ALPHA, BETA, and GAMMA. The parameters have the values specified in the test script. Only input parameters in the test script are visible in the test configuration. You can create other variants that have different values for the parameters.
to create a new variant. Name it
to create a new variant. Name it |
Variant |
ALPHA |
BETA |
GAMMA |
|
ECATTDEFAULT |
1 |
2 |
3 |
|
VAR1 |
3 |
||
|
VAR2 |
5 |
3 |
6 |
.
.The Start Options dialog box appears.
.
Create a Variant from a Test Data Container
.
.The Wizard appears. The left half of the screen displays the variants in a test data container. The right half of the screen displays the variants in the test configuration.
and
.
Attach as Variant. Only the parameters in the test data container that match those of the test script are appended.
.The variant is now displayed on the Variants tab.

All variants have been executed.
Summary
If no value is specified for a parameter in a variant, the value from the ECATTDEFAULT variant is used.
Values can be entered directly into a variant, or be held as references to values in test data containers.
Using the start options, you can choose to execute using only one variant.