Vri Property (Description)
Distinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.
For example if you have 10 identical buttons with the text label "Buy" and no other real property to distinguish between them, you can use VRI to indicate that this test object represents the "Buy" button that is located to the right of the image of a specific product. The Vri property value is a VisualRelation object that defines the test object you are relating to, and where that related object is located on the screen relative to the object to identify. For more details, see the UFT Developer Help Center.

C# Syntax

public List<VisualRelation> Vri {get; set;}