Creating Variants in Test Configurations

Use

You can specify variants, which are sets of different parameter values. The default variant is called ECATTDEFAULT and takes the parameter values from the test script that was entered on the eCATT Objects tab. ECATTDEFAULT cannot be altered or deleted. You can add additional variants by manually entering values or by referencing test data containers.  

Each variant has an Execute Variant field. If this field is selected and the mode is Internal Variants, the variant will be executed when you execute the test configuration. You can override this field in the start options.

See External Test Data (External Variants) for creating variants from data stored in external files.

Prerequisites

To reference variants from test data containers, you must have entered the test data containers on the eCATT Objects tab.

Procedure

Creating Variants Manually

...

       1.      In the test configuration editor, choose the Variants tab.

       2.      Choose  to append a new variant.

       3.      In the Variants field, enter a name for the variant.

       4.      For each of the parameters, either enter a value or leave the field empty.

       5.      Choose .

Using Variants from Test Data Containers

...

       1.      In the test configuration editor, choose the Variants tab.

       2.      Choose .

The Wizard appears. The left half of the screen displays the variants belonging to a test data container. The right half of the screen displays the variants belonging to the test configuration.

       3.      Scroll through the test data containers by using  and .

       4.      Select the variants that you want to use, and choose  Attach as Variant. Alternatively, you can drag and drop the variants to the test configuration.

Only the parameters in the test data container that match those of the test script are appended. The value in a field is determined by the following syntax:

<parameter name>(<alias>,<variant>)

         where the parameter name, alias, and variant all refer to a test data container.

       5.      Choose Enter.

The variants are now displayed on the Variants tab.

       6.      You can use the variants as they are, or further edit the values.