Show TOC

Creating Variants in Test ConfigurationsLocate this document in the navigation structure

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 .

For more information about creating variants from data stored in external files, see External Test Data (External Variants) .

Prerequisites

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

Procedure

Creating a Variant Manually

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

  2. Choose Create 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 Save.

Using Variants from Test Data Containers

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

  2. Choose Variant Maintenance Wizard.

    The variant maintenance 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. Use and to scroll through the test data containers.

  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 Continue .

    The variants are now displayed on the Variants tab.

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