
Use
CHEATTR ( <object parameter> , <attribute> , <parameter> ).
This command compares the value of a parameter <parameter> to a public instance attribute <attribute> of a global class. If the comparison fails, the test script fails.
A prerequisite is the instantiation of the class, and assignment of the object to a parameter <object parameter>. This is usually done using the CREATEOBJ command.
<attribute> can be a path - for example, <structure>-<field> to address parts of a structure. Here, the separator is a hyphen. The path can also have other classes. In this case the separator is an object component selector (->), for example, <class>-><field>.