Create a unique test object description for an object

Relevant for: GUI tests and components

View the current test object description for your object and try to find the other object(s) that have the same values for the properties in the test object description.

  • If you can find one or more description properties that can differentiate the similar objects, modify the properties that are used to identify your object, so that UFT One can uniquely identify it during the run session.

    For details, see Add Properties Dialog Box.

  • Define a Visual Relation Identifier to help differentiate between two similar objects based on other objects that are always near the object you need UFT One to identify. For details, see Visual relation identifiers.
  • If there are two or more objects in your application with completely identical properties (such as two identical images on either side of a title in a Web page) and you cannot define a reliable visual relation identifier, add an ordinal identifier (index or location) to the test object description in the Object Properties or Object Repository window. For details on ordinal identifiers, see Ordinal identifiers.