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 the difference between rational rose and QTP?

0 Answers  


What are the benefits of qtp?

0 Answers  


Hi How to retrieve data from web element line by line?

0 Answers  


What are the types of Object Repositories in QTP?

1 Answers   Ordain Solutions,


suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..

2 Answers   Core Logic,






How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.

1 Answers  


there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..

10 Answers   HealthAsyst,


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

0 Answers  


what is the another name for blackbox testing?

7 Answers  


How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


how we connect oracle or sql data server database to qtp.

4 Answers   TCS,


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

0 Answers   BirlaSoft,


Categories