Skip to main content

Element: Test Script

Function: The element manages the metadata of the corresponding test script. The element is always located at the top position in the test script.

Call: Test Script element in the test script editor

Tab: Test Script

Changes that you make to the settings on the tab are saved only temporarily.

Name

Path (folder structure and name) of the test script in the test repository to uniquely identify the test script

The path contains the hierarchical folders, each separated by a period, and then the test script name.

Example: Examples.ApplicationTest

Hint: When you change the path and then click the Save button or Save + Run button, a dialog opens for you to confirm the changes. Then the test script is copied and saved under the changed path.

Version

Version number of the test script in the test repository

Example: 4.1.2.3

Hint: When you specify a new version and then click the Save button or Save + Run button, a new version of the test script is created and saved.

Author

(optional) Author of the test script

Title

(optional) Title of the test script

Description

(optional) Comment, for example to describe the test run

Tip

A test script is displayed hierarchically in a folder structure in the Test Manager view. This corresponds to storage in the test repository. As a result, you need to specify its path when accessing the test script. The path contains the hierarchical folders separated by a period, and then the test script name.

Tip

Changes in the test script editor are stored for the following actions:

  • Button _tm_icon_save.png: Save the test script.

  • Button _tm_icon_run.png: Save the test script and start the test run.

  • Button _tm_icon_debug_run_continue.png: Save the test script and start debugging the test script.

The File → Save Project menu command saves the open CODESYS project.