Skip to main content

Element: Call

Symbol: _tm_icon_call.png

Function: The element calls another test script and as a result allows for the nesting of test scripts.

Tab: Call

Test script to call

A test script can be called with the following information:

  • Absolute paths

    All paths that contain a dot are considered absolute paths. It does not matter whether or not the dot is at the beginning.

    Examples:

    • .Script

    • .Folder_1.<folders>.Folder_N.Script

    • Folder_1.<folders>.Folder_N.Script

  • Relative paths

    • With relative paths, you can reference only scripts which are located in the same folder as the calling script.

    • You reference scripts in subfolders only by means of absolute paths.

Recommendation

Use absolute paths. The Input Assistant helps you avoid having to manually enter the full path.

_tm_icon_copy_selection_device_tree.png

Copies the absolute path of a script selected on the Test Scripts tab of the Test Manager view to the input field

_tm_icon_open_script.png

Opens the test script for processing which is specified in Test script to call.

Version (leave blank for newest)

Version of the test script which is called

Example: 2.1.0

If the field is blank, then the newest version is used automatically.

_cds_icon_delete.png

Removes the entry from the Version (leave blank for newest) field

Table 12. Input parameter

Input parameter which acts as an interface between the calling test script and the called test script

Hint: The input parameter name and variable name may be identical.

Name

Name of the input parameter

At the same time, this is also the declaration of the interface variable that can be used in the test script to be called.

Example: Subscript_Var_A

Variable

  • Name of the variable of the calling test script

    The value of the variable is passed to the input parameter.

    Note: The variable is declared in the calling test script.

  • Literal (string) which is passed to the input parameter

Up

Moves the selected input parameter one line up

Down

Moves the selected input parameter one line down

Remove

Deletes all selected input parameters



Table 13. Output parameter

Output parameter which acts as an interface between the calling test script and the subscript to be called

Hint: The output parameter name and variable name may be identical.

Name

Name of the output parameter

At the same time, this is the declaration of the interface variable which can be used in the calling test script.

Variable

Name of the variable in the called test script.

Note: The variable must exist in the called test script.

Up

Moves the selected output parameter one line up

Down

Moves the selected output parameter one line down

Remove

Deletes all selected output parameters