Check functions

The Genero BDL API for GGC provides functions to verify conditions the tested app is expected to meet. A detailed error message is provided in the test report when a check fails.

Table 1. Functions testing checks
Function Description
checkActionActive(
    actionName STRING )
Checks that an action is active.
checkActionInactive(
    actionName STRING )
Checks that an action is inactive.
checkError(
    errorText STRING ) RETURNS()
Checks if an expected error message is available, and if it has the expected value.
checkFieldValue(
    fieldName STRING,
    value STRING) 
Checks if a field name has the expected value.
checkFocus(
   fieldName   STRING )
Checks a field has focus.
checkFormName(
   formName STRING )
Checks a form has the expected name.
checkFormTitle(
   formTitle STRING )
Checks a form has the expected title.
checkMessage(
    messageText STRING ) RETURNS()
Checks if an expected message is available, and if it has the expected value.
checkNoError() RETURNS()
Checks that there is no error message for display.
checkNoMessage() RETURNS()
Checks that there is no message for display.
checkValue(
    value STRING) 
Checks if the focused field has the expected value.
checkWindowName(
   windowName STRING )
Checks a window has the expected name.
checkWindowTitle(
   windowTitle STRING )
Checks a window has the expected title.