AI

AI

AI namespace

Classes

AiObject
AiObjectTO
AIRunSettings

Type Definitions

AiTypes

The list of supported AI classes that can be used to describe AI.AiObject.

Type:

  • Object

Properties:

NameTypeDescription
bellstring
buttonstring
camerastring
categoriesstring
chatstring
check_boxstring
check_markstring
calendarstring
closestring
combo_boxstring
dot_menustring
down_trianglestring
eq_settingsstring
exitstring
filterstring
facebookstring
favoritesstring
gear_settingsstring
hamburger_menustring
helpstring
homestring
infostring
inputstring
instagramstring
left_arrowstring
left_trianglestring
lockstring
linkedinstring
locationstring
mailstring
minusstring
pencilstring
phonestring
plusstring
powerstring
profilestring
radio_buttonstring
right_arrowstring
right_trianglestring
rss_feedstring
searchstring
sharestring
shopping_bagstring
shopping_cartstring
textstring
text_blockstring
text_boxstring
toggle_buttonstring
tool_settingsstring
trashstring
twitterstring
uploadstring
up_arrowstring
up_downstring
up_trianglestring
youtubestring
viewstring
leftstringa general type for left_arrow and left_triangle.
rightstringa general type for right_arrow and right_triangle.
upstringa general type for up_arrow and up_triangle.
downstringa general type for down_triangle.
fieldstringa general type for input, text_box and combo_box.
toggleablestringa general type for check_box, radio_button and toggle_button.
togglablestringa general type for check_box, radio_button and toggle_button.

PositionalLocator

UFT Developer 2022 or later

Can be used to uniquely describe an AiObject using the object's ordinal position.

Type:

  • object

Properties:

NameTypeDescription
direction"fromLeft" | "fromRight" | "fromTop" | "fromBottom"The direction in which to count the ordinal position.
indexnumberOptional. the 0-based index of the AI object, counting in the specified direction.

RelationalLocator

UFT Developer 2022 or later

Can be used to uniquely describe an AiObject using the object's proximity to another AiObject.

Type:

  • object

Properties:

NameTypeDescription
relation"withAnchorAbove" | "withAnchorBelow" | "withAnchorOnLeft" | "withAnchorOnRight"the relation of the anchor to the AI object.
anchorobjectthe anchor AI object used to locate the AI Object.