Open topic with navigation
After implementing the GetElementFromPoint method, you can test the ability of the Object Spy to identify objects in your environment.
Ensure that the Testing Agent and UFT are closed.
Install the updated Testing Agent.
Open UFT and make sure that the Testing Agent is launched. (For more information, see steps 2 to 4 in Testing That UFT Recognizes Your Testing Environment.)
Run an application that contains objects of the types you defined in the testing environment.
In UFT, open the Object Spy and click the pointing hand button. Click on an object from your environment in the application.
Make sure that the UFT identifies the object correctly. Verify the following:
The Object Spy displays the correct test object hierarchy.
The clicked test object is displayed under the correct parent.
UFT identifies the test object class correctly and displays the correct icon for this test object class (if you defined one in the testing environment XML).
The Object Spy displays all of the test object methods and identification properties as you defined them in the testing environment XML.