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 |
How to capture all the data of a webtable, weblist and combolist using QTP?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
give me descriptive programing code sample flight application in qtp?
After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?
what is output parameters in qtp?explain? 2)
What are private functions in QTP? How they can be called from the function library?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
how can I read text in browser and export the same into text file?
Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks
Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya
How to open an application through scripting?
What is Descriptive Programing? In which cases, we will go for descriptive programing?