Entering content frameProcedure documentation Testing an Interface View of an Object Locate the document in its SAP Library structure

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 must already have instantiated the class that you want to test. (see Creating an instance).

Procedure

  1. In the object display, select an interface.

    Example:
    This graphic is explained in the accompanying text
  2. Click the "magnifying glass" icon to generate an interface view of the object.
    The system generates the view of the test object.

    Example:
    This graphic is explained in the accompanying text
  3. If necessary, change the attribute values (see Testing attributes).
  4. If necessary, execute the methods (see Testing methods).

Result

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

 

 

 

 

Leaving content frame