In TestComplete, you can explore the object hierarchy of tested applications, and object properties and methods to use them in automated tests. To explore the applications, you can use the following tools:
-
Object Browser - shows running applications, the object hierarchy in applications, and the object properties and methods. In the Object Browser, you can:
-
view all the objects that exist in applications, whether visible or invisible,
-
copy object names to the clipboard for later pasting into tests,
-
view the syntax and parameters of object methods and properties,
-
change property values and observe the effect in real time,
-
connect to mobile device clouds and explore applications running there,
-
capture object screenshots,
-
view properties and methods of COM objects,
-
and more.
-
-
Object Spy - lets you select an object on the screen to view its properties and methods. It is a pop-up version of the Object Browser without the object tree.
The Object Spy is useful if you see an object on screen, but you do not know its name in the application and its location in the Object Browser. In this case, you can use the Highlight Object in Object Tree command in the Object Spy to jump to the current object in the Object Browser.