Ordinal Identifiers in QTP, Introduces with Ordinal Identifiers in Quick Test Professional



Ordinal Identifiers in QTP, Introduces with Ordinal Identifiers in Quick Test Professional
Following are required to understand first before learning this 
  1. 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.
  2. Each test object class contains the Ordinal Identifier type by default.
  3. We can update the default value of Ordinal Identifier for an Instance / Object in the Object Identification Window.

Ordinal Identifiers have 3 Types:-
  1. Index based
  2. Location based
  3. Creation Time


Index Based Ordinal Identifiers:
  1. QTP assign the value of an object's INDEX PROPERTY, during using the index based ordinal identifiers.
  2. It's Order based value where object visible or appears in the main source code.
  3. The value of First Occurrence is 0.
  4. Values of Index property are object specific.
  5. So, IF you will use index = 3 to describe a webEdit Teste Object, Qucik Test Search for 4th WebButton object of on the page.
  6. 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:
  1. 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.
  2. 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.
  3. 1st Occurrence of this object is 0.
  4. Assigned values are formatted in columns from left to right and top to bottom.

Creation Time Ordinal Identifiers:

  1. On a Web Browser, QTP assigns the value to the this property called Creation Time, during the recording using the creation time ordinal identifier.
  2. Required Identifier is available only for Web Environment.
  3. Such Value points the order where the browser was run relative to the another already opened browsers.
  4. 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

Popular Posts