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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain abt dyanamic changing object with example?

1899


What is the difference between analog and low level recording?

614


How to handle dynamic objects in quicktest professional (qtp)?

544


How can I check if a environment variable exist or not?

537


What are main panes available in qtp test browser?

531






What is QTP’s model for test creation?

672


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1834


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1348


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2272


Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

643


Is it possible to call from one action to another action in qtp?

556


What is 'sleep' in sync point?

619


How does you test a weblink which is changing dynamically?

548


How does qtp identify objects in the application?

583


How to use Environment parameterization? Explain with an example.

1477