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   SiteMap shows list of All Categories in this site.
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
 
Is it possible to convert QTP scripts to Silk scripts? Sierra-Atlantica2
What are the QTP advantages and disadvantages?  4
w is datatable CTS5
What are the different types of Database checkpoints in QTP? when they are used?  1
Explain the concept of object repository & how QTP recognises objects?  1
Tell about descriptive programing in qtp8.2? GE4
why the smart identification is not there in WinRunner DigiTech1
Is it possible to check the Run time value property of a field through a Database Checkpoint ? Further, is it possible to localize and mention a particular cell , in the database dynamically. My requirement is that I would need to check the status of a particular field , that would change from an "Active" state to a "Stopped" state dynamically. CTS1
hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ? Syntel16
What is Virtual Object? Plz Explain me with an example? Ordain-Solutions2
what is the Descriptive Progarmming? how it is help to testers in QTP? TCS4
What is All object and Local object in Object Repositary? Explain me please.  3
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.  2
When it be decided to go for either Per - Action or Shared?  2
what are the metrics in general we use in testing. TCS5
How many types of Recordings are there in QTP and what are they? First-Indian-Corporation6
Can any one tell me Difference between Keyword Driven Frame work and Hybrid framework? Its Urgent. IBM1
Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.  1
how we connect oracle or sql data server database to qtp Tanla-Solutions2
How function returns a value?  1
 
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