Entering content frameProcedure documentation Creating Variants in Test Configurations Locate the document in its SAP Library 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 Configuration tab. ECATTDEFAULT cannot be altered or deleted. You can add additional variants by manually entering values or by referencing test data containers.

Prerequisites

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

Procedure

Creating Variants Manually

  1. In the test configuration editor, choose the Variants tab.
  2. Choose This graphic is explained in the accompanying text 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 This graphic is explained in the accompanying text.

Using Variants from Test Data Containers

  1. In the test configuration editor, choose the Variants tab.
  2. Choose This graphic is explained in the accompanying text.
  3. 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.

  4. Scroll through the test data containers by using This graphic is explained in the accompanying text and This graphic is explained in the accompanying text.
  5. Select the variants that you want to use, and choose This graphic is explained in the accompanying text Attach as variant. Alternatively, you can drag and drop the variants to the test configuration.
  6. 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.

  7. Choose Enter.
  8. The variants are now displayed on the Variants tab.

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

 

 

 

 

 

Leaving content frame