Share this page

AIObjectDescription Class
The description of an AIObject test object.

C# Syntax

    public class AIObjectDescription : HP.LFT.SDK.PropertiesDescription

Inheritance Hierarchy

System.Object
HP.LFT.SDK.PropertiesDescription
HP.LFT.SDK.AI.AIObjectDescription

Public Constructors

| Name | Description
--- | --- | ---
| AIObjectDescription Constructor | Initializes a new instance of the AIObjectDescription class. C# Syntax
    AIObjectDescription ()
| AIObjectDescription Constructor (string) | Initializes a new instance of the AIObjectDescription class. C# Syntax
    AIObjectDescription (string aiClass)
Parameters aiClass - The AI Class type of the AI object (use the AITypes helper class).
| AIObjectDescription Constructor (string, string) | Initializes a new instance of the AIObjectDescription class. C# Syntax
    AIObjectDescription (string aiClass, string text)
Parameters aiClass - The AI Class type of the AI object (use the AITypes helper class). text - The associated text of the AI object.
| AIObjectDescription Constructor (string, RegExpProperty) | Initializes a new instance of the AIObjectDescription class. C# Syntax
    AIObjectDescription (string aiClass, RegExpProperty regExp)
Parameters aiClass - The AI Class type of the AI object (use the AITypes helper class). regExp - The regular expression to use to identify the AI object by its text.
| AIObjectDescription Constructor (string, TextWithMatchOptions) | Initializes a new instance of the AIObjectDescription class. C# Syntax
    AIObjectDescription (string aiClass,
        TextWithMatchOptions textWithMatchOptions)
Parameters aiClass - The AI Class type of the AI object (use the AITypes helper class). textWithMatchOptions - The text and match method used to identify the AI Object by its text.

Top
Public Properties

| Name | Description
--- | --- | ---
| AIClass | The AI Class type of the AI object. This can be an AIType or a registered custom class. C# Syntax

    string AIClass {get; set;}
| RegExp | The regular expression used to identify the AI Object.
    RegExpProperty RegExp {get; set;}
| Text | The associated text of the AI object. C# Syntax

    StringProperty Text {get; set;}
| TextWithMatchOptions | The text and match method used to identify the AI Object.
    TextWithMatchOptions	TextWithMatchOptions {get; set;}
| Locator | The locator to use to uniquely identify the object. C# Syntax

    ILocator Locator {get; set;}

Top
Public Methods

| Name | Description
--- | --- | ---
| Clone | Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: