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 cresated test cade import parameters.
Functions
There are two types of variants, which only differ in their maintenance:
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 |