Chapter 22

Test Object Learning Mechanism

UFT captures the object definition in object repository and during test execution uses this definition to locate objects in UI. Object definition can be added to object repository by using Objet Spy tool or by using the add objects to object repository button of OR.


Object definitions which help uniquely describe an object can be one of the following:

  • Object source index
  • Object automatic xpath
  • Object description properties such as
    • Object attributes such as html id, tag name, etc.
    • Object absolute ordinates, logical ordinates, etc.
    • Object automatic xpath
    • Object XPath
    • Object CSS path
  • Object Visual Relation Identifiers (VRI)
  • Object ordinal identifiers
    • Object source index ...

Get Agile Automation and Unified Funtional Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.