Appium: your first mobile app test
Appium drives a real or virtual phone with the same style of commands as web automation. Learn drivers, capabilities and a first small test.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a robot hand on a phone. A robot hand sits above a phone. You say tap here, type this, read that. It does what you say, one step at a time.
Before it starts, you must tell it which phone and which app.
Appium is a robot hand in software. Tom, the tester at Daily List, a to-do list app, tells it the phone and the app, then gives steps.
PLAIN WORDS · 1 in this section
- appium
- a free tool that drives apps on phones
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 Driving a phone app from code, like a robot hand that must be told which phone and app first.
- Driver
- Caps
- Session
- Quit
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The robot hand | Appium |
| Which phone and app | Capabilities |
| The type of phone | The driver |
| One go on one phone | A session |
WHERE THIS PICTURE STOPS
- A robot hand is physical, but Appium is software.
- You can change what a hand holds, but capabilities are fixed.
- A hand has one phone, but a grid can have many.
HOOK
Driver, capabilities, session.
TELL A FRIEND
A robot hand: tell it which phone and app, then give steps.
OFTEN MIXED UP WITH Mobile automation tools compared: Appium, Maestro, Espresso, XCUITest. That topic compares mobile tools. This one walks through one of them, Appium, in a first test.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Market practice
Intro to Appium Drivers (Appium documentation) ↗ — Appium project · Appium documentation: drivers are plugins for specific platforms, with UiAutomator2 for Android and XCUITest for iOS, and they are installed separately from the server (search excerpt, page not opened)
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.
- Market practice
Session Capabilities (Appium Documentation) ↗ — Appium project · Appium documentation: capabilities are the parameters that define a session, they cannot be changed after it starts, and appium:automationName names the driver to use (search excerpt, page not opened)
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.