There are two ways to Spy the objects in QTP
Thru file toolbar: In the File ToolBar click on the last toolbar button (an icon showing a person with hat).
Thru ObjectRepository Dialog: In Object Repository dialog click on the button “object spy…” In the Object, spy Dialog click on the button showing hand symbol. The pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object. If at all the object is not visible or window is minimized then hold the Ctrl button and activate the required window to and release the Ctrl button.