How does QTP identifies the object in the application
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
Where the text version of script file located in file system?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
how to disable the pop ups through QTP using a script
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
What is the extension of 'Log file' in QTP
Write test cases for copy and past password in password field ?
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
why don’t use real time they r not using check points