AI-based testing: Supported control types
GUI UFT Mobile and Web tests only
This topic lists the control types that UFT One can recognize using Artificial Intelligence (AI).
Supported control types
Below is the list of control types that UFT One can identify using AI. The aliases defined for each class are alternative names that refer to the same controls. They are the keywords you can use for a control's type or class, when describing a control for a test step.
Class | Aliases | Examples |
---|---|---|
bell | alarm, notification |
![]() |
button | ||
calendar (tech preview) |
![]() |
|
camera |
![]() |
|
categories |
![]() |
|
chat |
![]() |
|
check_box | checkbox, togglable | |
check_mark |
tick |
![]() ![]() |
close | clear |
![]() |
combo_box |
combobox, field |
![]() |
dot_menu | menu |
![]() |
down_triangle | collapse, down |
![]() |
eq_settings | settings |
![]() |
exit * Supported on mobile applications only |
![]() |
|
![]() |
||
favorites | rating, star |
![]() ![]() |
filter * Supported on mobile applications only |
![]() |
|
gear_settings | settings |
![]() |
hamburger_menu | menu |
![]() ![]() |
help |
![]() |
|
home |
![]() |
|
info |
![]() |
|
input | field, edit, editfield | |
* Supported on web applications only |
![]() ![]() ![]() |
|
left_arrow | left |
![]() |
left_triangle | left, back, previous |
![]() |
* Supported on web applications only |
![]() ![]() |
|
location |
![]() |
|
lock * Supported on mobile applications only |
![]() |
|
![]() |
||
minus |
subtract, zoom_out |
![]() |
pencil | edit |
![]() |
phone | call |
![]() |
plus |
add zoom_in |
![]() |
power |
![]() |
|
profile | person, user |
![]() |
radio_button | radiobutton, togglable |
![]() |
right_arrow | right |
![]() |
right_triangle | right, next, forward, play |
![]() |
rss_feed * Supported on web applications only |
rss |
![]() ![]() |
search |
![]() |
|
share |
![]() |
|
shopping_bag | bag |
![]() |
shopping_cart | cart |
![]() |
sort * Supported on mobile applications only |
![]() ![]() |
|
table (tech preview) * Supported on desktop web applications only |
||
text | ||
text_box includes multi-line text boxes |
textbox, field |
![]() ![]() |
toggle_button | toggle, switch, togglable |
![]() |
tool_settings | settings |
![]() |
trash | delete |
![]() |
![]() |
||
up_arrow * Supported on web applications only |
up |
![]() |
up_down * Supported on web applications only |
![]() |
|
upload * Supported on mobile applications only |
![]() |
|
up_triangle | up |
![]() |
view |
![]() |
|
Youtube * Supported on web applications only |
![]() |
Note:
-
An underscore can be replaced with a space.
-
Use the text class only in AI Codeless Testing tests. In UFT One, identify text objects using the AIUtil.FindText or AIUtil.FindTextBlock methods.
You can use general names to include multiple control types:
Generic name | Used for | Included controls |
---|---|---|
down | down triangles | down_triangle |
field | areas that accept text | input, text_box, combo_box |
left | left pointers | left_arrow, left_triangle |
menu | buttons that open a menu | dot_menu, hamburger_menu |
right | right pointers | right_arrow, right_triangle |
toggleable, togglable | Controls with changing states | check_box, toggle_button, radio_button |
up | up pointers | up_triangle, up_arrow |
Calendar and table containers (tech preview)
In UFT One, as a tech preview, calendar and table controls can be used as container objects. Creating an object hierarchy helps create more resilient AI-based tests and increase test coverage.
When using AI object identification, if you choose to use calendar and table controls as containers, you can easily interact with the containers and the elements inside them. When you inspect or record a container control, UFT One displays the corresponding hierarchy of the control.
Note:
-
Only table-like calendar controls are supported.
-
Table cell objects are identified using ABBYY OCR. UFT One version 2021 R1 and later: To identify TableCell objects, you must have the ABBYY OCR Engine feature installed in UFT One.
For more details, see the AICalendar Object and AITable Object object reference in UFT One Object Model Reference for GUI Testing.
Control types that can be identified by text
Controls of the following types can be more specifically identified by their text:
- button
- check box
- combo box
- input
- radio button
- text box
- toggle button
See also: