Chapter 39

Object Identification Using Visual Relation Identifiers

Visual Relation Identifier (VRI) is a set of definitions that enable UFT to locate the object in AUT according to the relative location of its neighboring objects. Users are expected to select those neighboring objects as VRI whose relative location to the test object does not change, even if there is a user interface design modification.

VRI enables UFT to identify similar objects much as a human tester would, and helps create more stable object repositories that can withstand predictable changes to the application’s user interface. Ordinal Identifier mechanism is not used if VRI is defined for a test object.

How Visual Relation Identifiers Work

Suppose that someone shows you ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.