Retrieve information and data

The Genero BDL API for GGC provides functions for retrieving information and data when testing applications.

Table 1. Functions for retrieving information and data
Function Description
getFieldValue(
  fieldName STRING)
  RETURNS STRING 
Return the value in a specified form field.
getFieldValues(
  name STRING)
  RETURNS DYNAMIC ARRAY OF STRING 
Return a list of values from a table, tree, or screen record.
getFocus()
  RETURNS STRING
Return the name of the current focused element.
getFormName()
  RETURNS STRING
Get the current form name.
getFormTitle()
  RETURNS STRING
Get the current form title.
getValue()
   RETURNS STRING 
Return the value in the current field.
getValues()
   RETURNS DYNAMIC ARRAY OF STRING
Returns the values of the current row of the current table, tree, or matrix.
getWidgetType(
  fieldName STRING)
  RETURNS STRING
Return the widget type of the specified field.
getWindowName()
  RETURNS STRING
Get the current window name.
getWindowTitle() RETURNS STRING
Get the current window title.