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

Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...

1 Answers  


What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.

5 Answers   Livetek,


How many types of Test Plans are there...??

5 Answers  


what skills needed to be good test automation?

3 Answers  


In qtp, how you can get the last character from a string?

0 Answers  






what type automation is fofollowed in the project?

1 Answers   Satyam,


I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .

0 Answers  


write a script for get the following result: username password frm the string1="A=username" string2="B=password"

3 Answers   Oracle,


what are the difference between qtp8.2 to 9.0 surya

1 Answers   Bally Technologies,


If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1 Answers   scintel,


what is tool interface?

1 Answers   ITC Infotech,


Categories