Entering content frame

Procedure documentation Testing Attributes Locate the document in its SAP Library structure

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:
    This graphic is explained in the accompanying text
  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:
    This graphic is explained in the accompanying text

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.

 

 

 

 

Leaving content frame