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 |
tell me QTP standards ?plz
in QTP we test web based application at that time what script is run? is support vb script? plz tell me
What are the Features & Benefits of Quick Test Pro ?
Check point what is how many types of checkpoint and explain
Hi, one script having 10 Actions,but i want to execute only 3rd action and 7th action? how to execute selected actions? throgh script and through navigation?
what is descriptive.create()in qtp?
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.
How to Analyze the Checpoint results by Table and DB Checkpoints?
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
hi, i am trying to capture "web element" names in a web page, and i written the code like this,, with Browser("title:=") with .page("") .webelement("htmltag:=...").getroproperty("innertext") end with end with //////////////////////////////////////////////////////////////////////////////////// QTP RETURN ERROR like this: " object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object" ok fine , i need to search another property other than "index" i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error ..... in this webpage index is difficult to find? how to solve
Write VB script to test given number is Prime Number
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?