Ordinal Identifiers in QTP,
Introduces with Ordinal Identifiers in Quick Test Professional
Following are required to understand first before learning this
- If assistive and mandatory properties are not sufficient to recognize any instance during the period of record, QTP uses the Ordinal identifier as captured properties in addition to recognize or identify the instances or objects during the session of record.
- Each test object class contains the Ordinal Identifier type by default.
- We can update the default value of Ordinal Identifier for an Instance / Object in the Object Identification Window.
Ordinal Identifiers have 3 Types:-
- Index based
- Location based
- Creation Time
Index Based Ordinal Identifiers:
- QTP assign the value of an object's INDEX PROPERTY, during using the index based ordinal identifiers.
- It's Order based value where object visible or appears in the main source code.
- The value of First Occurrence is 0.
- Values of Index property are object specific.
- So, IF you will use index = 3 to describe a webEdit Teste Object, Qucik Test Search for 4th WebButton object of on the page.
- Same, if you use Index=1 to explain a WebButton object of Test, Quick Test searches again for the 3rd Object as WebButton on the available current page.
Location Based Ordinal Identifiers:
- While using the ordinal identifier based on location, Then during the recording, QTP assigns a value to LOCATION property to the instance or object of uniquely identify the instance.
- The Order based value where the instance visible in the frame, dialog box or window in the relation to another objects or instances with unique properties.
- 1st Occurrence of this object is 0.
- Assigned values are formatted in columns from left to right and top to bottom.
Creation Time Ordinal Identifiers:
- On a Web Browser, QTP assigns the value to the this property called Creation Time, during the recording using the creation time ordinal identifier.
- Required Identifier is available only for Web Environment.
- Such Value points the order where the browser was run relative to the another already opened browsers.
- CreationTime = 0 receives as value from the first opened browser and next succeeding browsers will provides the values like 1,2,3, …. an so on..
Android Install Apps to SD Card Default Developer vs Tester a fake competition
QTP TESTING STEPS How to Record a QTP Script
No comments:
Post a Comment