How does QTP identifies the object in the application

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the exception handling can be done using quicktest professional (qtp)?

569


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3051


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1576


how to post xml data from QTP scripts to any application?

1499


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1441






What are the key elements available in test result window?

620


What are the different attributes used with regular expression?

549


With what extension you can save the list of tests in a file to run in test batch runner?

561


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1597


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1581


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3215


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1715


What are the different ways to invoke an application using QTP?

641


How to use output values in qtp ?

554


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2891