O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

HOW UFT LEARNS OBJECT DEFINITION?

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required