When we use Object Spy?
can we write QTP script before built is came in testing?

Answers were Sorted based on User's Feedback



When we use Object Spy? can we write QTP script before built is came in testing?..

Answer / raj

When we use record and play back method in QTP, QTP
automatically identifies the objects and store them in
object repository. In some cases where QTP fails to
identify like alert windows, alert messages we use object
spy to capture the object manually.

In other cases like key word driven framework, while
creating the test scripts we use object spy and based on
the type and class of the objects, we can use the
respective keywords.

We can write QTP scripts before the build is released based
on the wireframes/mockups provided. If the
wireframes/mockups are not available, discuss with the
developers and know the nature of the objects. Based on
that we can create scripts. Ultimately the aim must be
independant or min. use of record and playback.

Is This Answer Correct ?    4 Yes 0 No

When we use Object Spy? can we write QTP script before built is came in testing?..

Answer / rajendra

Using the Object Spy pointing hand mechanism, you can view
the supported properties and methods of any object in an
open application. As you move the pointing hand over the
objects in the application, their details are displayed in
the Object Spy. These details may include the test object's
hierarchy tree, its properties and values, and the methods
associated with the object. For methods, the syntax is also
displayed. In most environments, you can choose to view the
test object properties and methods or the run-time (native)
properties and methods.

Without Application in Hand , we can also write scripts
Subjected to All the properties of the objects must known
to you

Thanks,
Rajendra

Is This Answer Correct ?    0 Yes 0 No

When we use Object Spy? can we write QTP script before built is came in testing?..

Answer / francis

The purpose of spy is to find which of the properties the
Qtp identifies for the particular control so that we can
manupulate using this properties
with out gui we can write script using descriptive progra
and also manupulate if the user knows the property of the
objects

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is InStr()

6 Answers   Kanbay,


Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance

5 Answers   Cegonsoft,


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,


What is the meaning Work bench?

0 Answers  


Synchronozation types in QTP

11 Answers   Diebold,






How to change the priorities of the recovery scenario properties?

0 Answers  


Name the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


How to handle the exceptions using recovery scenario manager In QTP?

2 Answers  


What are parameterizing tests?

0 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


Wher to use DATA TABLE METHODS in Qtp?What is the use of it?

8 Answers   Wipro,


Categories