How to use the Object spy in QTP 8.0 version?

Editorial / Best Answer

Answered by: sivaprasad

  • Jul 29th, 2005


There are two ways to Spy the objects in QTP 
1) Thru file toolbar 
---In the File ToolBar click on the last toolbar button (an icon showing a person with hat). 
 
2) Tru Object repository Dialog 
---In Objectrepository 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 minimised then Hold the Ctrl button and activate the required window to and release the Ctrl button. 
 
 

Showing Answers 1 - 31 of 31 Answers

Prasad

  • Jul 15th, 2005
 

The SPY will be used to recognize and read all the objects on the application.

sivaprasad

  • Jul 29th, 2005
 

There are two ways to Spy the objects in QTP 
1) Thru file toolbar 
---In the File ToolBar click on the last toolbar button (an icon showing a person with hat). 
 
2) Tru Object repository Dialog 
---In Objectrepository 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 minimised then Hold the Ctrl button and activate the required window to and release the Ctrl button. 
 
 

sans

  • Sep 21st, 2005
 

How do we use XML checkpoints

  Was this answer useful?  Yes

Priya

  • Sep 26th, 2005
 

hey thanks Ravi !!

  Was this answer useful?  Yes

neeraj

  • Mar 15th, 2006
 

Thank you Ravi

  Was this answer useful?  Yes

priti

  • May 4th, 2006
 

hey thanks a lot ravi for such an insightful info bout QTP. and if u have more of it plz send it to my email id as i'm in desperate need of it.

  Was this answer useful?  Yes

Rishi Raj

  • Jun 17th, 2006
 

Hey Ravi, Nice answer...

this option is used to identify the list of properties ,its values and methods of selected object.from toolsmenu choose obj repository,in that choose object spy from toolsmenu choose obj spy or from file tool bar click on object spy icon-click on pointing hand-and select object from the application.by default test objects radio button will be selected,the other option being runtime object

  Was this answer useful?  Yes

Hariprasad.MS

  • Jun 12th, 2007
 

Using tool bar or in object repository window we can find the object spy option. This option will used to find the property files of a GUI objects.

  Was this answer useful?  Yes

ujwal99

  • Jul 27th, 2007
 

Go to tools menu select object spy and click on the required object from which you want to retrieve properties(Run time or Test object)


secondly in the object repository go to object spy and click on the objectwhere you want to retrieve properties.

  Was this answer useful?  Yes

venkateswarlu

  • Sep 28th, 2007
 

The Object spy is a handly feature which is used to shows the compleate information about the objects (Test objects and Runtime objects). The object information is like list of objects & Properties,description, syntax etc.  And also it works as guider to get the object information while using the Descriptive Program.

  Was this answer useful?  Yes

ssoma78

  • Oct 24th, 2008
 

The object spy is very much useful while identifying the properties of objects while writing the descriptive program.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions