Tap an element in a smartphone test

Tap an element in the app, located by selector, AI description, or screen coordinates.

Tap an element on the screen: a button, a list item, a tab. Locate it with an XPath selector or an AI description, or switch the step to Coordinates mode and tap an exact X/Y position when no element can be targeted.

Parameters

ParameterRequiredDescription
Target elementYes in Selector mode, unless a manual selector is setNatural-language description of the element. The AI uses it to find the element.
Manual selectorNoXPath selector in the app's UI tree, used when AI is disabled or as the saved selector.
ApproachNo0 = Selector (default), 1 = Coordinates. Toggle in the step's details panel.
X Position, Y PositionYes in Coordinates modeScreen position to tap, in pixels from the top-left corner.
AI usageNosmart (default), always, or inherit.
Enable AINoDefault: off. Turn it on to locate the element from the description.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: success, warning, or failed, with the error message on failure.
  • Screenshot: captured after the tap, showing the screen it led to.
  • AI usage: if the AI located the element, the healed selector is saved on the test and the AI cost is added to the run.

What's next?

Long press

Hold the press to open context actions

Verify element

Check the result of the tap before moving on

Last updated on