Open topic with navigation
Using the Object Spy pointing hand mechanism, the UFT user can view the supported properties and methods of any visible object in an open application. To support this UFT capability, the Testing Agent must provide the object ID of the object in the application that is located at the screen coordinates that UFT specifies. To do this, implement the GetElementFromPoint method in the ISpyable interface.
The Object Spy can also display the native operations and properties of the object in the application if the objects in your environment are COM objects. For more information, see Developing Support for Accessing Native (Run-Time Object) Properties and Methods.
The following diagram shows the general sequence of methods that UFT calls when the Object Spy is used. This illustrates the purpose of the methods that the Testing Agent must implement. For example, UFT calls GetElementFromPoint, which is implemented by the Testing Agent in the ISpyable interface, and then GetElementType from the ITestable interface:
For more information, see: