Show TOC Start of Content Area

Procedure documentation Testing an Interface View of an Object  Locate the document in its SAP Library structure

Use

Interface views of objects allow you to test access to interface attributes and methods of an object, and so to simulate interface references.

Prerequisites

You already have instantiated the class that you want to test. For more information, see Creating Instances.

Procedure

...

       1.      In the object display, select an interface.

       2.      Choose the “magnifying glass” icon to generate an interface view of the object.

The system generates the view of the test object.

       3.      If necessary, change the attribute values. For more information, see Testing Attributes.

       4.      If necessary, execute the methods. For more information, see Testing Methods.

Result

You have simulated accessing the attributes and methods of an object using interface references.

 

 

End of Content Area