Macro reference
Tests created by the Genero Ghost Client (GGC) use macros.
The generated test file includes an
&include
statement which specifies the
file containing macros:&include "GGCTestUtilsMacro.4gl"
The standard is that macros are written in uppercase. In this snippet from the generated test
file, two macros can be found:
WAIT_FOR_APPLICATION
and
ASSERT_EQUALS
:...
WAIT_FOR_APPLICATION("app_1484", 1025)
ASSERT_EQUALS(getWindowName(), "w_orderform")
...
Refer to the GGCTestUtilsMacro.4gl file to view the definitions of each of the macros.