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

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