Table of Contents

Class AIObjectDescription

The description of a AiObject test object.

Inheritance
AIObjectDescription
Namespace: HP.LFT.SDK.AI
Assembly: HP.LFT.SDK.dll
Syntax
public class AIObjectDescription : PropertiesDescription, IDescription, ICloneable

Constructors

AIObjectDescription()

Constructs a new AiObjectDescription.

Declaration
public AIObjectDescription()

AIObjectDescription(string)

Constructs a new AiObjectDescription.

Declaration
public AIObjectDescription(string aiClass)
Parameters
Type Name Description
string aiClass

The AI Class type of the AI object (you can use the AITypes helper class).

AIObjectDescription(string, TextWithMatchOptions)

Constructs a new AiObjectDescription.

Declaration
public AIObjectDescription(string aiClass, TextWithMatchOptions textWithMatchOptions)
Parameters
Type Name Description
string aiClass

The AI Class type of the AI object (you can use the AITypes helper class).

TextWithMatchOptions textWithMatchOptions

The text and match method used to identify the AI Object.

AIObjectDescription(string, RegExpProperty)

Constructs a new AiObjectDescription.

Declaration
public AIObjectDescription(string aiClass, RegExpProperty regExp)
Parameters
Type Name Description
string aiClass

The AI Class type of the AI object (you can use the AITypes helper class).

RegExpProperty regExp

The RegExpProperty to use to identify the AI object.

AIObjectDescription(string, string)

Constructs a new AiObjectDescription.

Declaration
public AIObjectDescription(string aiClass, string text)
Parameters
Type Name Description
string aiClass

The AI Class type of the AI object (you can use the AITypes helper class).

string text

The text to use to identify the AI object.

Properties

AIClass

The AI Class type of the AI object.

Declaration
public string AIClass { get; set; }
Property Value
Type Description
string

Dictionary

For internal use only.

Declaration
public IDictionary<string, object> Dictionary { get; }
Property Value
Type Description
IDictionary<string, object>

Locator

The locator to use to uniquely identify the object.

Declaration
public ILocator Locator { get; set; }
Property Value
Type Description
ILocator

RegExp

The regular expression used to identify the AI Object.

Declaration
public RegExpProperty RegExp { get; set; }
Property Value
Type Description
RegExpProperty

Text

The text used to identify the AI Object.

Declaration
public StringProperty Text { get; set; }
Property Value
Type Description
StringProperty

TextWithMatchOptions

The text and match method used to identify the AI Object.

Declaration
public TextWithMatchOptions TextWithMatchOptions { get; set; }
Property Value
Type Description
TextWithMatchOptions

Implements

IDescription
ICloneable