Succeed

Succeed 1:

The succeed method is called to confirm that the test case was executed successfully. The test case runs until either a Assert method detects that the test case has failed, the configured time-out stops the test case from running, or calling succeed confirms that the test case has completed error-free.

Syntax

METHOD PUBLIC Succeed
VAR_INPUT
    sMessage : STRING(255) := ''; // optional message
END_VAR

Succeed 2: Inputs

Name

Type

Description

Default setting

sMessage

STRING(255)

Final message when the test case has completed.

„“

Sample

succeed();