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

wt is memory leakage?

6 Answers   BSL,


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

0 Answers  


What is error handled other than recovery scenario manager?

2 Answers  


How to use setroproperty?

0 Answers  


What is the current version of QTP?

19 Answers  






.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???

0 Answers  


QTP supports both client server and Web applications. Does it support Plug-in?

0 Answers  


Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance

1 Answers  


What is synchronization point in QTP?

0 Answers  


what are the metrics in general we use in testing.

6 Answers   TCS,


How should i find out whether the cursor is moving horizantally. when tabbing continuously

2 Answers   Livetek,


Categories