Skip to main content

Window: Test Progress

Symbol: _tm_icon_test_porgress.png

Function: The window shows the progress of a running test script. It also contains buttons and displays for debugging.

Call: The window opens automatically when you start a test script with Execute Script, Execute Test Script with Calibration, or Debug Script.

The window is independent of the main window of CODESYS and has its own button in the Windows taskbar. If you close the window, then it is only minimized. You can bring it back to the foreground via the taskbar.

Table 85. Toolbar

_tm_icon_abort.png Abort

Aborts the test run after the currently executed test element has finished

_tm_icon_debug_stop.png

Halt: Halts the execution before the next test script element

_tm_icon_debug_run_continue.png

Step: Executes the next test element and then halts again

_tm_icon_run_script.png

Continue: Continues the execution

_tm_icon_debug_collapse.png Auto Collapse

Button pressed: Successful test cases are collapsed automatically in the test log.

_tm_icon_debug_scroll.png Auto Scroll

Button pressed: The test log scrolls automatically to the last entry.

_tm_icon_debug_break_on_failures.png Halt on Error

Button pressed: The execution halts when an error has occurred.



Test log

Shows the test log (in the upper area)

During the test run, the status of the executed test elements is displayed continuously.

Errors tab

Shows errors (in the lower area)

Error Site

For each error that has occurred

Error Message

For each error that has occurred

Double-click a message to move the focus to the error location. You can copy selected lines to the clipboard with Ctrl+C.

Variables (scope #<ID>) tab

Shows variables (in the lower area)

The ID of the scope is a randomly generated number. It shows you whether the selected test element is located in the same scope as the previous one. The scope changes, for example, when the test run jumps from an action to a call.

Variables (no scope) tab

Without a current scope, the tab is named Variables (no scope).

Name

Name of the test variable

Outer Name

Displayed only for variables which were passed to the scope as input or output parameters. The column shows the name of the variable outside of the scope. In this way, you can trace the data flow between the test script and the called test script.

Value

Value of the test variable in the current scope

Table 86. Status bar

Status

During the test run, the status of the executed test elements is displayed continuously:

  • Running: The test execution is running.

  • Step: The next step is executed.

  • Continue: Continue: The test execution is continued.

  • Breakpoint: The test execution halts at a breakpoint.

  • Stopped: The test execution has been aborted.

Statistics

Number of test elements with the result Succeeded, Skipped, and Failed



For more information, see the following: Execute Script, Command: Debug Script, Command: Toggle Breakpoint