ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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
 Question Submitted By :: Bfakruddin
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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 ?    1 Yes 0 No
Thirumala Reddy
 
  Re: 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
# 2
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 0 No
Bfakruddin
 
 
 
  Re: 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
# 3
Both the properties..
It uses AND logic
 
Is This Answer Correct ?    1 Yes 0 No
Rayudu
 
  Re: 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
# 4
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 0 No
Rammy
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
setroproperty and getroproperty difference Ordain-Solutions3
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani Oracle4
Give a comment on Regular Expressions using QTP?  4
how will we run batch tests in qtp what is the process to run the multiple test sets?  3
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions? Motorola1
Explain the keyword createobject with an example.  1
Did u use check points during ur work experience ? FedEx3
what is difference betweein qtp 9.0 and 9.2  1
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance.. Wipro9
HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST  6
how will check the links in multiple pages at a time  2
what is standalone database Wipro1
how we will use output values in qtp? is there any possibulity by descriptive programming?  2
How we can add actions in the test using QTP?  3
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!  2
Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it  2
how we connect oracle or sql data server database to qtp. TCS3
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP. HCL1
can anyone please send me qtp framework material please its urgent  1
What is data driven testing in QTP? Agile-Software6
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com