Object Spy is used for viewing the Properties and Methods of any object in an application, the Object spy pointer is used to point an object in an application.QTP-Object-Spy

In QTP, Object Spy has two tabs –

  1. Properties Tab – In this tab, the selected object’s the hierarchy tree and its properties and values are displayed.
  2. Methods Tab – In this tab, the selected object’s run-time object methods and test object methods are displayed.