what to do if application have 3 "ok" button with same
logical name and same properties, how qtp can identify them.
Answer Posted / praveenkumar
There 3 types of Ordinal Identifiers
* 1) Index based
* 2) Location based
* 3) Creation Time
Index Based
* When using Index based ordinal identifier, while
recording , QTP will assign a value to INDEX property of an
object
* The value is based on the order in which the object
appears within the source code.
* The first occurrence has value 0
* Index property values are object-specific.
* Therefore, if you use Index:=3 to describe a WebEdit
test object, Quick Test searches for the fourth WebEdit
object on the page.
* Likewise , you use Index:=1 to describe a WebButton
test object, Quick Test searches for the third WebButton
object on the page
Location Based
* When using location based ordinal identifier, while
recording , QTP will assign a value to LOCATION property of
an object to uniquely identify the object.
* The value is based on the order in which the object
appears within the window, frame, or dialog box, in relation
to other objects with identical properties.
* The first occurrence of the object is 0.
* Values are assigned in columns from top to bottom, and
left to right.
Creation Time
* When using creation time ordinal identifier, while
recording , QTP will assign a value to CreationTime property
of an WebBrowser
* The Identifier is only available for the Web Environment
* This value indicates the order in which the browser
was opened relative to other open browsers.
* The first browser that opens while recording receives
the value CreationTime=0 and succeeding browsers are give
values 1 , 2 , 3 … an so on
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
What test you perform mostly? Regression or retesting in your testing process?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
Mention the different actions types of qtp.
what is the diffrence bw qtp architectute and qtp framework?
What is Unicode Compatibility?
what is review
please post the interview questions for QA position in FACTSET
What is the quicktest professional testing process?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
In qtp, how you can remove the spaces from string?
What are the flaws in water fall model and how to overcome it?
What is the latest version of qtp?
what type of run time errors you get while you ar edoing rpg program?
what kind of frame work you used in your last project?