!--a11y--> Testing Attributes
When you have created a test object, you can address a container for attributes. This can be simulated for classes. You can both display and change the attributes.
The attribute display contains the following types of attribute field:
- Fields for direct input
- Lengthened fields
- Read only fields
- Complex data fields (tables)
- Attributes that are themselves object references.
Prerequisites
You must have created an instance of the class you want to test. See
Creating an instance.
Procedure
In the Attributes section of the object display, select the attribute that you want to test.
Example:
Click the icon that corresponding to the data type of the attribute.
If the field is an input field, you can change the attribute values. If it is an object reference, the relevant object is displayed.
If the field is an object reference, repeat step 2.
Example:
Result
You have now tested the access to the attributes of a class. The access is displayed in the first line of the object display.