What is Object Spy in QTP?
Answers were Sorted based on User's Feedback
Answer / ravichandranath
we want to know the object properties & methods then we
will use object spy
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / bgreddy
Object spy is used to know physical properties and trhe
methods containing to an object.
| Is This Answer Correct ? | 23 Yes | 4 No |
Answer / umasankar
The Object Spy enables you to view both the run-time object
methods and the test object methods associated with an
object and to view the syntax for a selected method. You
use the Object Spy pointer to point to an object. The
Object Spy displays the object hierarchy tree and the run-
time object methods or test object methods associated with
the selected object in the Methods tab of the Object Spy
dialog box.
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / kishore
by using the object spy we can view the properties and
methods of the object
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / yezdani
object spy is used to view the properties of the
objects.this object spy is used while writing descriptive
programming
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / ram mohan reddy
Object Spy is a future provided by QTP,Which displays the total objects information like list of properties,list of methods,syntax of methods as well as description of the methods of both Runtime objects and Test objects.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / zia ur rehman
Using the Object Spy, you can view the properties of any object in an open application. You use the Object Spy pointer to point to an object. The Object Spy displays the selected object’s hierarchy tree and its properties and values in the Properties tab of the Object Spy dialog box.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / praveena
if u want to see the objects like
dialog,edit,static,activex........ then we will use the
object spy in qtp
just like gui spy in win runner
if it is wrong plz tell the correct........
thank you
| Is This Answer Correct ? | 4 Yes | 5 No |
from what stage you will start automation in your project
I want to do QTP Certification what is the pattern of Question paper.
what is the difference between call to copy action and call to an existing action
Explain Descriptive Programming Types with Examples?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
What does Reporter.Reortevent2 does?
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.
What are the various automation frameworks available in qtp?
How to capture screen shots when an error occurs?
how will u choose a tool for test automation ?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?