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 |
w is descriptive programming
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
How to create basic scripts from a manual test case in QTP?
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
What are the option you can use to synchronize your test?
What is a runtime datatable ?
What are the views available in quicktest professional?
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.
what is the qtp objects?
If you use low level recording,what objects will be recorded in Object Repository and what properties?
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.