Table of Contents

Class Description

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

The base class for all Description classes that support the index and Visual Relation Identifier (VRI) test object properties.

public class Description : PropertiesDescription, ICloneable, IDescription
Inheritance
Description
Implements
Derived
Inherited Members

Constructors

Description()

Constructs an empty description.

public Description()

Properties

Index

The 0-based index of this object, relative to all other objects with an otherwise identical description.

public uint? Index { get; set; }

Property Value

uint?

ObjectProperties

The concrete test object properties, including custom properties created by the developer of the object.

public IDictionary<string, object> ObjectProperties { get; set; }

Property Value

IDictionary<string, object>

Vri

Distinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.

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

Property Value

List<VisualRelation>

Remarks

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