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
Answers were Sorted based on User's Feedback
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 |
Answer / vishnu
All the defined properties will be checked to identify
the object uniquely.
eg: html id AND html tag AND and Class...etc.
So, AND is the answer.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / baba fakruddin
Hi,
Thanks for your Valuable Answers...
I got some information about this question..
Answer is here
While running the Test Script... QTP uses all the
information (property values) available in Object
Repository and try to identify that object by using those
values... It doesn't check whether they are mandatory or
Assistive properties.
Simply, It uses "AND" Logic
Thanks & regards
Baba Fakruddin.D
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikumar reddy
How to display mandatory properties using object repository
method?. i mean is there any way to predefining of
properties for OR method
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / udham singh
i
The right answer is
Qtp first checks all Mandatory properties .it means AND operation on all Mandatory properties ,if all properties matches then the object is identified and operation is performed.if even a single property in MANdatory property mismatches then it fails. in this case QTP will move to ASSISTIVE properties.IN assistive qtp PERFORMS or OPERATION.IF EVEN A SINGLE PROPERTY MATCHES THEN (INCLUDING MANDATORY) THEN ALSO IT WILL IDENTIFY THE OBJECT.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bfakruddin
Thanx mr.Thirumala Reddy,
But I have not asked explanation, I asked just answer for my
question,
QTP uses description in Object Repository in AND Logic or OR
Logic,
The properties available in OR is Mandatory properties or
Assistive Properties?
plz give simple answer for this
thanx in advance, Bye
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / rammy
its not And--Or logic, It first check mandatory, if those
are enough, Thats it.
If those are not enough then it goes to Assistive.
| Is This Answer Correct ? | 0 Yes | 2 No |
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
What are the 3 main stages involved in testing with qtp?
what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
Diff b/n image n bitmap checkpoints?
Which Databases supports for QTP?
Plz Explain AUTOMATION REFERENCE MODEL?
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Differenece betwen Project and product ? when company need project or product?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is the new version of qtp which is recently released in the market?