Assign values to parameters 

Assigning values in a test case:

The system assigns values to the system variables and CATT special variables automatically. You can assign values to the remaining variables as follows:

Refer to or run test case

You must ensure that the import and export interface has the correct values when you refer to or run test cases, as follows:

Go to the detail maintenance screen by double-clicking on the line. You can maintain the import and export parameters used by the referred test case.

Constants (not for export parameters) and parameters are allowed. The import interface values can also come from a variant of the referred test case.

You can assign one-off valid values to the test case import parameters.

You specify sets of test case import parameter runtime values in variants.

Import parameter default values

The use of default values reduces the test case maintenance effort. The default values are overwritten by values passed during the test.

Choose Goto ® Parameters. You go to the import parameter maintenance screen. You can enter import parameter default values.

Examples of the resolution of default and passed import parameter values:

Default value

Import parameter contents

'abc'

abc

space

not defined on the screen

''(2 inverted commas)

space

SY-xxxx (system variables)

SY-xxxx contents

&JHR (standard variables)

&JHR contents

Value passed

Import parameter contents

'abc'

abc

&Vnn, &Dnn (variables)

&Vnn contents, &Dnn contents

(Parameter)

&Inn contents, &Enn contents (from calling procedure or test module

' (1 inverted comma)

not defined on the screen or initial in tables

''(2 inverted commas)

space

SY-xxxx (system variables)

SY-xxxx contents

%xxx

%xxx contents

&JHR

&JHR contents

The following uses of variables in default values can lead to errors:

Default

Import parameter contents

(internal variables)

not resolved

(Parameter)

not resolved

' (1 inverted comma)

error

%xxx (SET/GET parameters)

not resolved