Share this page

# TextWithMatchOptions Class

A structure that contains the text together with the match method for describing an IAIObject.

C# Syntax

    public class AIObjectDescription : HP.LFT.SDK.PropertiesDescription

Public Constructors

| Name | Description
--- | --- | ---
| TextWithMatchOptions (string, MatchMethod) | Constructs a new TextWithMatchOptions object that can be used to uniquely identify an IAIObject by its text and specifies the match method to be used for identification. C# Syntax
    TextWithMatchOptions (string text,
                          MatchMethod matchMethod)
Parameters text - The text to use to identify the AI object. matchMethod - The text match method to use when identifying the AI object by its text.
| TextWithMatchOptions (RegExpProperty, MatchMethod) | Constructs a new TextWithMatchOptions object that uses a regular expression to identify an IAIObject's text and specifies the match method to be used for identification. C# Syntax
    TextWithMatchOptions (RegExpProperty regExp,
                          MatchMethod matchMethod)
Parameters regExp - The regular expression to match to the AI object's text. matchMethod - The text match method to use.

Top
Public Properties

| Name | Description
--- | --- | ---
| Text | The text used to identify the AI Object. C# Syntax

    StringProperty Text {get; set;}
| RegExp | The regular expression used to identify the AI object. C# Syntax

    RegExpProperty RegExp {get; set;}
| MatchMethod | The match method to use when identifying the AI object by its text. C# Syntax

    MatchMethod MatchMethod {get; set;}

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: