Selecting Ordinal Identifier and Configuring Smart Identification

Instead of learning the assistive and mandatory properties specified in the object identification dialog box, QuickTest can also learn a backup ordinal identifier for each test object. It assigns the object a numerical value that indicates its order relative to other objects with an otherwise identical description; objects that have the same values for all the properties specified in the mandatory and assistive property lists. This ordered value enables QuickTest to create a unique description when the mandatory and assistive properties are not sufficient to do so.

ordinal 1.jpg

QuickTest uses the following Ordinal Identifiers to identify an object

  1. Creation Time: It indicates the order in which the browser was opened relative to other open browsers with an otherwise identical description.
  2. Index: It indicates the order in which the object appears in the application code relative to other objects with an otherwise identical description.
  3. Location: It indicates the order in which the object appears within the parent window, frame or dialog box relative to other objects with an otherwise identical description.

    ordinal 2.JPG
An ordinal identifier type exists by default for each test object class. To modify that ordinal identifier, you can select the desired type from the Ordinal identifier box.

ordinal 3.gif

Configuring Smart Identification

This enables you to identify objects in your application, even if some of the properties in the object's learned description have changed.

If it finds more than one object that fits the description or QuickTest is not able to find the object that matches the learned object description, then QuickTest ignores the learned description and uses the Smart Identification mechanism to try to identify the object.

ordinal 4.JPG

There are two types of Smart Identification Mechanism
  1. Base Filter Properties

    These are the fundamental properties of a test object class whose values cannot be changed without changing the essence of the original object.

  2. Optional Filter Properties

    These are the properties that help in identifying objects of a particular class. These properties cannot be changed on a regular basis, but can be ignored if they are no longer applicable.

    ordinal 5.JPG