When we use Object Spy?
can we write QTP script before built is came in testing?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How to compare the two strings?
How do you test siebel application using qtp?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
How the objecs properties are identified?Tell me in Hierarchical order?
can u store QTp frame work folders in VSS? If Not where u store those?
What is the maximum size of Object Repository in QTP 8.2?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
Hello Friends, I am working with QTP 9.2 descriptive programming. Can you please let me know how to work with below. Browser is IE, for my site, it opens another page with different browser name, For example Parent Page is google.com and child page is inteview questions. How to work with this second page.
How many types of Parameters are available in QTP?
Tell me the QTP Advantages and Disadvatages ?
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)