How does QTP identifies the object in the application

Answers were Sorted based on User's Feedback



How does QTP identifies the object in the application..

Answer / chakram -smile,smile

To find the unique ness in the objects qtp fallow the below
process
1:It depends on Mandatory Properties
2: It depends on Assistve Properties
3:Smart identification
4:Ordinal identifiers

If smart identification is enable the order is 1,2,3,4
if smart identification is disable then order is 1,2,4

Is This Answer Correct ?    7 Yes 1 No

How does QTP identifies the object in the application..

Answer / prasad.n.v.r.

The object identification concept is based on four types of
properties and ordinal identifier. The four types of
properties are as follows:
1.Mandatory Properties(MP). 2. Assistive Properties(AP)
3.Base Filter Properties(BFP) and 4. Optional Filter
Properties.(OFP).
The test engineer will specify the list of MP,List of
AP,List of BFP, the List of OFP & an ordinal identifier
depending upon his desire.
The options BFP & OFP are available in smart identification
and one has to select the check box of smart identification
to list desired BFP & OFP. However, the information of BFP &
OFP will hidden and QTP has its own method of how to use
these BFP & OFP of the particular object.
When all the four types are used, then QTP will learn all
the properties of MP, BFP & OFP simultaneousely and thinks
whether it can identify the desired object or not. If QTP
feels that it can identify the object with MP,BFP & OFP then
it stops learning. Otherwise, it will learn the first
assistive property(AP) and then thinks again whether it can
identify the desired object or not. Now the QTP thinks again
whether it can identify the object. If it feels that it can
identify the desired object then it stops learnig. Otherwise
, it learns the second assistive property and the process
continues untill all the assistive properties were usedup.
If still the QTP feels that it cannot identify the object
then it learn the ordinal identifier and stops learning.

Is This Answer Correct ?    5 Yes 2 No

How does QTP identifies the object in the application..

Answer / nanda

the above answers are correct..here some more information..

if u explain this definitely interviewer will ask u
.....what is Ordinal Identifier?

In Ordinal Identifier we have 3 properties..Index, Location
and Creation Time. we can select only one property for one
Object and Creation Time is only for Browser.

Index is Tab Order of a Object in Application.
Location is x,y position of a Object in in Application.
Creation Time is browser opened time.

If any queries...
nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 1 No

How does QTP identifies the object in the application..

Answer / ravichadnranath

firt we have to create the scrpit aftr that just execute it
and in executing time QTP take help of to find the object
in appplication by using "object repository"

Is This Answer Correct ?    3 Yes 3 No

How does QTP identifies the object in the application..

Answer / asit kumar

How does QTP identifies the object in the application? QTP identifies the object in the application by LogicalName and Class. For example: The Edit box is identified by Logical Name : PSOPTIONS_BSE_TIME20 Class: WebEdit

Is This Answer Correct ?    0 Yes 0 No

How does QTP identifies the object in the application..

Answer / bgreddy

Mainly objectives are three type's OF PROPERTIES namely
1) Mandatory properties,
2) Assistive properties
3) ordinal identifier
firstly QTP traying to identifies mandatory properties if
it is not unique then identifies assertive properties if it
is not unique then go to identifies ordinal identifier.

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More QTP Interview Questions

can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.

4 Answers  


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

0 Answers   TCS,


what type of scripts are asked in qtp?

2 Answers  


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1 Answers  


wt is playback facilityin qtp?

2 Answers   IBM,


HOW TO DO THE BATCH TESTING USING QTP?

2 Answers   Ordain Solutions,


1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.

2 Answers  


What is test object model in quicktest professional?

0 Answers  


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini

1 Answers  


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


Categories