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
- name is the name of the action.
- active is the status of the action, whether enabled or disabled.
- 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