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 |
What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
What scripting language is QTP of?
Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
How to customize checkpoints with parameters?
In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?
What is the Test Object model in QTP?
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function
How to convert manual test cases to automated testcases
What the differences are and best practical application of Object Repository?
Hi Samrat, Thank u very much, what u said it is right.