Check functions

The Genero BDL API for GGC provides functions that check requirements 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.
checkActionlnactive(
    actionName STRING )
Checks that an action is inactive.
checkError(
    errorText STRING ) RETURNS()
Checks if an expected error message is available, and it has the expected value.
checkFieldValue(
    fieldName STRING,
    value STRING) 
Checks if a field name has the expected value.
checkFocus(
   fieldName   STRING )
Check a field has focus.
checkFormName(
   formName STRING )
Check a form has the expected name.
checkFormTitle(
   formTitle STRING )
Check the title of the form is as expected.
checkMessage(
    messageText STRING ) RETURNS()
Checks if an expected message is available, and 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 )
Check a window has the expected name.
checkWindowTitle(
   windowTitle STRING )
Check the title of the window is as expected.