TOPIC 31/4020 MINNOT STARTED

Mobile automation tools compared: Appium, Maestro, Espresso, XCUITest

Four well-known tools can check a phone app. Learn what each one is, how they differ, which questions pick one for your team, and how to run a fair one-afternoon trial.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: guides for a trip. A local guide lives in one city. She knows every alley and every shortcut. She works only in that city. A travelling guide works in two cities. He needs a local helper in each, and the trip is a little slower. A printed trip card lists the steps in plain words: go to the market, buy a ticket. Anyone can read it.

Daily List is a to-do list app. It runs on Android phones and on iPhones. Mei, the test lead, asks Tom, the tester, to pick a tool to check the phone app. Tom finds that the tools match the guides.

Espresso and XCUITest are like local guides. Appium is like the travelling guide. Maestro is like the trip card, because its checks are short readable lists.

There is no best tool for every team. Tom learns to ask who will write the checks, who will read them, and on which phones they must run. Then he tries two tools on the same short job.

The picture has a limit. A guide thinks and adapts. A tool only follows its steps, and it breaks when the screen changes.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 4 in this section
espresso
The name of an Android phone test tool.
appium
a free tool that drives apps on phones
maestro
A phone test tool that reads flow files.
readable
able to be read and understood, by people or software

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 Choosing a phone check tool by asking who writes and reads the checks and where they run, then trying two tools on one short job.

  1. List the facts
  2. Pick one short journey
  3. Try two tools
  4. Score the trial
  5. Write down why
From need to chosen tool

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The local guide who knows one cityA platform-native framework, Espresso or XCUITest
The travelling guide with a local helper in each cityA cross-platform tool, Appium, with a driver per system
The printed trip card with plain stepsA flow file, as Maestro uses
Trying two guides on one short walkThe one-afternoon trial
The city streets that changeScreens that change and break the checks

WHERE THIS PICTURE STOPS

  • A guide thinks and adapts. A tool only follows its steps.
  • A trip card is short. A long flow with many branches becomes hard to manage.
  • A city does not change each week. A phone app often does.

HOOK

Local, travelling or card: try two on one short walk.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

A native guide for one city, Appium for many, a for plain steps. Try two on one short walk.

What each part of the trick stands for
In the trickWhat it stands for
Local guide who knows one cityA platform-native framework, Espresso or XCUITest
Travelling guide with a local helper in each cityA cross-platform tool, Appium, with a driver per system
Printed trip card with plain stepsA flow file, as Maestro uses

TELL A FRIEND

Espresso and XCUITest are native tools for one phone system each, and Appium and Maestro work across both. Ask who writes and reads the checks, then try two tools on one journey.

OFTEN MIXED UP WITH Choosing an automation path: web, API, mobile, visual or codeless. That lesson compares tracks such as web, programs, phone and picture checks. This lesson goes deeper on the phone track and compares four named tools.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    Espresso basics (Android Developers) ↗ — Google (Android Developers) · A test finds a view with a matcher, acts on it, and then checks it with an assertion; a missing view or several matching views raises an error (search excerpt, page not opened)

    Official platform documentation. Per the search excerpt, a test finds a view with a matcher, acts on it, and then checks it with an assertion; a missing view or several matching views raises an error. Official documentation for one framework. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. 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

    User Interface Testing (Testing with Xcode, Apple Developer archive) ↗ — Apple · Describes three classes (the application, an element, and a query for elements) and says to launch the app in the set-up step so each test starts from a launched app; an old guide, so version details are out of date (search excerpt, page not opened)

    Archived official guide. Per the search excerpt, it describes three classes (the application, an element, and a query for elements) and says to launch the app in the set-up step so each test starts from a launched app. The guide is old, so treat version details as out of date. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. 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.

  3. Market practice

    Intro to Appium Drivers (Appium documentation) ↗ — Appium project · A driver turns WebDriver commands into the platform's own automation; the Android driver uses Google's UiAutomator2 and the iOS driver is built on XCUITest and a helper called WebDriverAgent (search excerpt, page not opened)

    Vendor documentation. Per the search excerpt, a driver turns WebDriver commands into the platform's own automation; the Android driver uses Google's UiAutomator2, and the iOS driver is built on XCUITest and a helper called WebDriverAgent. Documentation for one tool. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. 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.

  4. Market practice

    Intro to Appium (Appium documentation) ↗ — Appium project · Appium automates mobile apps, uses the World Wide Web Consortium WebDriver protocol as its interface, and has a client-server design with a driver for each platform (search excerpt, page not opened)

    Says Appium automates mobile apps, uses the World Wide Web Consortium WebDriver protocol as its application programming interface (API), and has a client-server design with a driver for each platform. Vendor documentation for one tool. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  5. Market practice

    Writing Your First Flow (Maestro documentation) ↗ — Maestro · A Maestro flow is a YAML file that starts with the app identifier, then a separator line, then commands such as launching the app and tapping a labelled element; it is run from the command line (search excerpt, page not opened)

    Vendor documentation. Per the search excerpt, a Maestro flow is a YAML file that starts with the app identifier, then a separator line, then commands such as launching the app and tapping a labelled element; it is run from the command line with a test command. Vendor documentation for one tool. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. 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.

  6. Market practice

    Mobile app test automation: choosing a framework and running it at scale (TestingBot) ↗ — TestingBot · Among vendor results that compare native and cross-platform mobile tools; vendor claims are treated as opinion and not as measurement (search excerpt, page not opened)

    Vendor article. It appeared among results that compare native and cross-platform mobile tools. Vendor claims, so treated as opinion and not as measurement. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. 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.

  7. Market practice

    Testing Flutter apps (Flutter documentation) ↗ — Google (Flutter) · docs.flutter.dev testing overview (unit, widget, integration levels; integration_test cannot drive native UI such as permission dialogs; Patrol recommended). Search excerpt, page not opened. Not claimed: whether Appium or Maestro support Flutter widgets.

    Unit, widget and integration test levels; integration_test cannot drive native UI; recommends Patrol for that. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

  8. Market practice

    Install the UiAutomator2 Driver (Appium quickstart) ↗ — Appium project · r8a-appium-quickstart-uiautomator2 (drivers installed through the extension CLI; XCUITest needs macOS); appium-session-capabilities. Search excerpt, page not opened.

    Appium 2 installs drivers separately with the extension CLI; the XCUITest driver needs macOS. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

  9. Market practice

    Session Capabilities (Appium Documentation) ↗ — Appium project · r8a-appium-quickstart-uiautomator2 (drivers installed through the extension CLI; XCUITest needs macOS); appium-session-capabilities. Search excerpt, page not opened.

    Per the search excerpt, capabilities are the settings that start an Appium session: platformName is required, and automationName chooses the driver, such as UiAutomator2 for Android or XCUITest for iOS. The docs are versioned. · Checked 2026-10-18

    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.