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:

Prerequisites

You must have created an instance of the class you want to test. See Creating an instance.

Procedure

  1. In the Attributes section of the object display, select the attribute that you want to test.

    Example:
  2. 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.
  3. 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.