ggc.Action

The ggc.Action type defines a record for retrieving actions in the tested application.

Syntax

TYPE ggc.Action RECORD
     name STRING,
     active BOOLEAN,
     text STRING              
END RECORD
  1. name is the name of the action.
  2. active is the status of the action, whether enabled or disabled.
  3. text describes the action.

Usage

You can use it to retrieve actions in an application testing actions. A variable of the type Action must be defined, for example, calling the function getActions():

DEFINE i INTEGER
DEFINE actions DYNAMIC ARRAY OF ggc.Action
CALL ggc.getActions() RETURNING actions
DISPLAY "Actions:"
FOR i = 1 TO actions.getLength()
  DISPLAY "ac", i, " = ", actions[i].name
END FOR