Variants 

Use

You can pass values to a test case at runtime in import parameters which can, e.g. be put in transaction input fields. This makes use of test cases flexible.

You can store sets of values which you often want to pass to the import parameters at runtime, in variants. You then only need to specify the variant name at test case runtime.

Prerequisites

Before you can create test case variants, you must have created test case import parameters.

Functions

You can maintain variants in R/3 or locally on the presentation system. You can choose between individual entry and fast entry in R/3, depending on the number of variants to be maintained.

You can decide which variant to use when you call a test case.

Activities

When a variant runs, the system checks for each import parameter whether a value is defined for it in the variant. If so, this value is passed to the parameter at runtime. Otherwise, the parameter default value is used. If there is no default value, the parameter has the initial value.

You can use the following values to define variants:

normal entry

the parameter takes the entered value

no entry

the parameter default value is used.

' '

the parameter is initialized

'

the parameter is not used. if the field for this parameter is filled by SET/GET parameters, these parameter values are used.

'!'

the field in which the parameter is used is initialized (e.g. to delete SET/GET parameters