new AiObject(propsopt) → {AiObject}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props | Object |
<optional> | Initializes a description of an object identified using Artificial Intelligence. using the supplied property bag. |
Returns:
- Type
- AiObject
Methods
aiClass(aiClassopt) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
aiClass | string |
<optional> | When provided, this method acts as a setter and sets the aiClass value. |
Returns:
- Type
- string | Description
locator(locatoropt) → {object|Description}
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
locator | object |
<optional> | When provided, this method acts as a setter and sets the locator value. Properties UFT Developer 2022 and later: Should be either AI.PositionalLocator or AI.RelationalLocator. UFT Developer 2021 R1 and earlier:
|
Returns:
- Type
- object | Description
text(textopt) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
text | string |
<optional> | When provided, this method acts as a setter and sets the text value. |
Returns:
- Type
- string | Description