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

 
facebook  
favorites rating, star

filter

* Supported on mobile applications only

 
gear_settings settings
hamburger_menu menu
help  
home  
info  
input field, edit, editfield  

instagram

* Supported on web applications only

 
left_arrow left
left_triangle left, back, previous

linkedin

* Supported on web applications only

 
location  

lock

* Supported on mobile applications only

 
mail  

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
twitter  

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.

Support calendar and table classes (tech preview)

As a tech preview, UFT One 2021 adds the support for container controls calendar and table.

With UFT One's AI Features, you can easily interact with calendar controls, table controls, and elements inside them. When you spy or record on a container control, UFT One displays the corresponding hierarchy of the learned control. This helps you create more resilient AI-based tests and increase test coverage.

For more details, see the AICalendar Object and AITable Object object reference in UFT One Object Model Reference for GUI Testing.

Note: Only table-like calendar controls are supported.

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

Back to top

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

Back to top

See also: