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

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.