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



if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

Answer / 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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

Answer / rayudu

Both the properties..
It uses AND logic

Is This Answer Correct ?    1 Yes 1 No

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

if Object repository contain x and y properties. we do not know whether they are mandatory or assi..

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

Post New Answer

More QTP Interview Questions

What does Reporter.Reortevent2 does?

2 Answers  


Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?

2 Answers  


Can we run multiple QTP scripts one after the other without manual intervention? How?

0 Answers  


Please give me the steps to carry out datadriven in QTP8.2

2 Answers  


How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &R. How do I displayed the result of the Msgbox (such as R) to an excel sheet? Please let me know.Thanks

2 Answers   ADC,






Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna

0 Answers  


Hi my name is mohan. I am working as a manual tester.. And now i want learn QTP.. is there any online websites to learn QTP for free if u know any plz help me out..,.or send mail to k.mohann.mohan@gmail.com

3 Answers   Wipro,


how to count spaces in a given string ex: "this is jagadeesh" in QTP with simple functional script

5 Answers   Cap Gemini,


How to do excception handling ( error handling ) in QTP

6 Answers   Institute for Medical Education,


Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.

1 Answers   Virtusa,


How to execute the test cases using QTP. i.e What is the use of QTP while execution

2 Answers  


give me an example where u used good judgement and logic in solving a problem

0 Answers  


Categories