Skip to main content

Command: Test Manager

Function: The command opens the Test Manager view. In the view, you manage test repositories and test scripts and execute test scripts.

Call: Tools → Test Manager

View: Test Manager

By default, the view is docked to the left edge of the main window.

_tm_img_view_test_manager.png

(1) Manage Test Repositories

Opens Dialog: Manage Test Repositories. There you add, edit, or remove test repositories.

(2) Manage Test Reports

Opens Manage Test Reports. There you define the report directory and the save options for test reports.

(3) Test Scripts tab

Shows all known test repositories with their folders and test scripts

Important

If there is no valid license for CODESYS Test Manager, then an error message is displayed in the view. All editors and views of the Test Manager are then disabled.

Important

Do not edit the files of a test repository directly in the file system, for example with a file manager. Edit and manage test scripts in the Test Manager view only.

Tab: Test Scripts

Function: The tab shows all known test repositories with their folders and test scripts. Here you manage the test scripts and start them.

The tab is split into two parts. The top part shows the tree structure of the test repositories. The bottom part shows the description of the test script which is selected in the tree structure.

Table 3. Tree structure

Element in the tree

Function in the tree

Test repository

Top node in the tree structure of a test repository; its name is displayed with its location in square brackets

Example: Test Script Repository [D:\Test Script Repository]

Folder

Folders are subordinate to a test repository or a folder and are used to sort the test scripts. They are displayed with their name.

Test script

Name of the test script with the newest version in square brackets

Example: Examples.ApplicationTest [5.2.0.0]



Table 4. Operation

Action

Effect

Double-click a test script or press Enter

Opens the test script in the test script editor

Del key

Deletes the selected test scripts and folders after a confirmation prompt

Drag a test script or folder and drop it in the same test repository

Moves the element (drag-and-drop)

Drag while holding down the Ctrl key and drop in the same test repository

Copies the element (drag-and-drop)

Drag and drop in another test repository

Copies the element to the other test repository (drag-and-drop)

The original test script is not modified and remains in the original repository.

Tip

A test script cannot be moved between repositories. Therefore, delete the test script manually after copying it, if necessary.



Important

Drag-and-drop is possible only within the same CODESYS instance.



Important

A test script is addressed by its full name. The name contains the folders, each separated by a period, followed by the name of the test script.

Example: The test script ApplicationTest in the Examples folder is named Examples.ApplicationTest.