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


Please Help Members By Posting Answers For Below Questions

Explain features of the latest version of qtp/ uft 12.1?

621


What is CMMP and CMMH?

710


Explain how you can delete excel file in qtp?

604


Explain advantages and disadvantages of ddf?

613


Explain advantages and disadvantages kdf?

541






How to find Operating system information using QTP script?

584


what is clean sweep?

1898


How to export quicktest professional (qtp) results to an .xls file?

615


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1694


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

1621


What is Test Fusion Report in QTP?

632


what is actually contain test report? can anybody post the test report

1485


What are table and db checkpoints?

602


how u will evaluate the tool for test automation?

1382


Give the syntax to load function at run time.

651