checkMessage()

Checks if an expected message is available, and if it has the expected value.

Syntax

checkMessage(
    messageText STRING ) RETURNS()
  1. messageText is the expected text of the message to test.

Usage

Use checkMessage() to check if a message exists. If the message is not found, or its text is not as expected, an error message is generated for the test report. Only a failed check is reported.
CALL ggc.checkMessage("Enter the customer email address")