Supported controls, operations, and keywords

This is a technology preview, enabling you to experiment with AI Codeless testing.

UFT AI Codeless supports testing mobile and web applications on mobile devices connected to UFT Mobile.

Supported control types

UFT AI Codeless identifies common application controls such as camera, categories, chat, check box, facebook, favorites, radio button, share, toggle button, trash, twitter, and view. For a complete list of controls that UFT AI Codeless can identify, see the AI testing section of the UFT Help Center.

Back to top

Supported operations

The following is a list of operations that Codeless tests can perform on an identified control. In parentheses, you can find alternative names or aliases that refer to the same operations.

These are the keywords you can use for operations when writing a test step:

AI actions

  • check, uncheck (select, clear)
  • click (press, tap)

  • search (find)

  • toggle (set, switch)
  • type (enter, input)
  • Verify <object> exists
  • Verify <object> does not exist

PB (property-based) actions

  • check, uncheck (select, clear)

  • click

  • increase, decrease

  • navigate

  • set

  • select

  • toggle (set, switch)

  • Verify <object> exists

  • Verify <object> does not exist

Back to top

Reserved words

UFT AI Codeless uses the following words as part of the test step syntax:

  • the
  • for
  • into
  • that

Back to top

Test step syntax

Write your test steps in plain English, using one of the following structures (the words the and that are optional):

Click/press/tap the <control type>

Example: Click the bell.

Click/press/tap the '<text for identification>' button/text

Example: Click the 'SIGN IN' button

Type '<text to type>' into '<text for identification>' input

Example: Type 'My Name' into 'USER NAME' field

Search for '<text to find>'

Example: Search for 'Wikipedia'

Verify that the '<text for identification>' <control type> exists

Example: Verify that the 'urgent' alarm exists

Verify that the '<text for identification>' <control type> does not exist

Example: Verify the 'INPUT' button does not exist

Note:  

  • Verify steps are supported in UFT AI Codeless versions 15.0.1 and later.
  • Do not include apostrophes, single quotes, or double quotes in a string. For example, this step is not valid: Type 'Boy's shirt' into 'Description' field

Back to top

See also: