getActions()

Returns the list of actions in the tested application.

Syntax

getActions()
   RETURNS DYNAMIC ARRAY OF ggc.Action

Usage

Return the list of actions, both enabled and disabled, of the tested application. Use it to get the actions in a scenario. You must declare a variable of type ggc.Action for the return. For example:

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]
    END FOR