if Object repository contain x and y properties. we do not
know whether they are mandatory or assistive properties.
While executing the script qtp will use both the properties
or only sufficient properties to identify the object.
It means it use OR (or) AND
Answer Posted / thirumala reddy
Answer: Mandatory properties are enough to identify the object
Below i am giving the total process of object identification
QTP uses three types of object identification to identify
the object
mandatory and assitive properties
smart identification
and ordinal identifier
QTP starts with mandatory properties, if QTP unable to
identify the object uniquely using mandatory properties then
it will go to the assistive properties (if and only all
mandatory properties are matching with runtime object
properties)
(test object properties are the properties of objects in the
object repository and runtime object properties are
properties of the objects in the application)
if QTP unable to identify the object uniquely using
assistive properties then it will go to the smart
identification (we have to enable the smart identification
in object repository) (in smart identification the QTP
compares the object properties at the record or creat time
using base filter and optional filter properties) if any one
property matches then it will identifies the object.
if QTP unable to identify the object uniquely using smart
identification then it will go to the ordinal identifier.
in ordinal identifier there are three options
INDEX: Tab position (order of that object in that
application, eg: if there are three OK buttons, then it will
give the button value which is first in order is "0", second
button value is "1" and third button value is "2")
LOCATION: The value of object which is closed to x-axis
(using x and y coordinates) is "0", for second one "1", for
third one "2".
CREATION TIME: For brower we can use this (for each brower
it creates a time) using the time difference it will give
the value and identifies the object.
if any queries plz mail me a.thirumalareddy@gmail.com
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
what kind of frame work you used in your last project?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Brief the process of testing with UFT?
How does quicktest professional identifies the object in the application?
How to add verification steps to tests?
What is the short cut keys for the following?
How to run a test using quicktest professional?
How to use output values in qtp ?
How many add-ins comes by default with qtp?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
What are some test assets and related extensions of qtp?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Is QTP supports Unix. If yes, then how the test automation is done?