TOPIC 39/4016 MINNOT STARTED

Appium: finding elements and using mobile gestures

A phone app has no web address and no page source in the usual sense. Learn the Appium locators that last, and the gesture commands for tap, swipe and scroll.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a map and a compass. A hiker finds a place by a label on the map, not by counting steps. A label survives a new path. Steps do not.

To move on, the hiker walks, turns or climbs.

A locator is the label and a gesture is the walk. Tom, the tester at Daily List, a to-do list app, finds the Save button by its label, then swipes. The skill is to choose a label that lasts and a move that matches the control.

PLAIN WORDS · 1 in this section
locator
a pointer telling you where to find something

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB A hiker using a map label and a compass.

  1. Label
  2. Gesture
  3. Wait
Hiker

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The map labelAn accessibility id
Counting stepsA position locator
Walking or climbingA gesture command
Two different trailsAndroid and iOS drivers

WHERE THIS PICTURE STOPS

  • A map label is printed once, but an app label must be added by developers.
  • Gestures take time; readiness still needs an observable bounded condition.
  • A map is shared, but each driver has its own commands.

HOOK

Label first, then move.

TELL A FRIEND

A hiker: find the place by its label, then walk.

OFTEN MIXED UP WITH Appium: your first mobile app test. That topic writes the first Appium test. This one covers lasting locators and gesture commands.

PRACTISE AND KEEP

Sources for this topic — 2 sources
  1. Market practice

    Android mobile gestures (Appium UiAutomator2 driver repository) ↗ — Appium · Appium driver documentation: gesture commands such as click, swipe and scroll are called with the word mobile in front, a click gesture is a fallback when a standard tap fails, and the old site page points to the driver repository (search excerpt, page not opened)

    The driver documentation for gesture commands such as click, swipe and scroll, called through the mobile prefix. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Appium UiAutomator2 driver (project repository) ↗ — Appium · Appium driver repository: the Android driver maps the accessibility id strategy to the content description of an element, and the iOS driver is a separate one so Android commands do not carry over (search excerpt, page not opened)

    The project page for the Android driver, where the locator strategies and capabilities it supports are listed. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.