qa / mobile testing
Mobile App Testing: What to Test by Hand, Which Devices, and When to Use Appium
A manual test pass built from Google's own app-quality checklist, a way to choose between emulators, simulators and real devices without buying a drawer of phones, and a first Appium script based on Appium's quickstart. Facts were checked on Google, Apple, Firebase and Appium documentation in October 2026.
People who search for how to test a mobile app usually want a list of things to try. Most guides give a vague one: "test on different devices, check the network." There is a better source. Google publishes core app quality guidelines for Android with a numbered test for each requirement, written as steps you can follow on a phone. This page turns that list into a manual test pass, then covers the decisions around it: where to run the tests, what a free cloud-device quota actually buys, and the point at which automating with Appium starts to pay off.
01 · THE MANUAL PASS
Eight checks that find real mobile bugs
These come from the test steps in Google's Core app quality guidelines. Each takes under a minute and each targets something desktop testing never exercises: the operating system taking your app away from you and giving it back.
| Check | What you do | What should happen |
|---|---|---|
| Sleep and resume | Press the power button, wait, press it again | The app returns to the screen you left |
| Lock and resume | With a screen lock set, sleep the device, wake and unlock it | The exact state you left, with entered data intact |
| App switcher | Open another app, then return through the recents list | No reset, no crash, no blank screen |
| Rotation | On every screen, rotate between portrait and landscape at least three times | Same function in both, no rendering problems, state kept |
| Back navigation | Press Back or use the back swipe on each screen | Goes to the previous screen or home, with no custom back prompts |
| Interruptions | Receive a call or notification mid-task; change network, battery or GPS state | The task survives and the app recovers |
| Foreground service | Play audio, then lock the screen | Audio continues and lock-screen controls work |
| Stability | Use every feature; watch for crashes or a frozen UI | No crash and no Application Not Responding errors |
The guideline asks you to introduce interruptions "from other apps, such as receiving a notification or a phone call" and to apply transient changes to connectivity, battery, GPS and system load while you test. That is the habit to build: do not test a flow only on a calm phone with full signal. Try the checkout screen while switching from Wi-Fi to mobile data, because that is where a duplicate order can appear.
- Android: Core app quality guidelines ↗Every requirement has a test ID and step-by-step instructions covering UX, functionality, performance, stability and privacy.developer.android.com
- Android: Test your app's accessibility ↗Manual testing with TalkBack, Switch Access and Voice Access, plus the Accessibility Scanner and the pre-launch report.developer.android.com
02 · WHERE TO RUN IT
Emulator, simulator or real device
The answer depends on what the check is about. Apple's documentation is direct on the limit of simulation: simulators run on your Mac and do not replicate the performance or features of a physical device, so verifying that an app runs as intended means running it on one or more physical devices.
| You are checking | Emulator or simulator | Real device |
|---|---|---|
| Layout on several screen sizes | Good: create several virtual devices | Only for your own device |
| Rotation, back stack, resume logic | Good | Worth a final pass |
| Performance, battery, heat | Unreliable | Required |
| Camera, sensors, biometrics | Partial | Required |
| Real network handoffs | Simulated only | Required |
You do not need to own many devices to get coverage. Firebase Test Lab's no-cost Spark plan allows up to 15 test runs per day in total: 10 on virtual devices and 5 on physical devices, according to Firebase's quota page. Google Play Console can also generate a pre-launch report for an uploaded build, so crashes on a range of devices can surface before release. For the iOS side, Apple documents running an app on simulated or physical devices from Xcode.
- Android Studio: Create and manage virtual devices ↗Hardware profiles, system images and how to build a small matrix of virtual devices.developer.android.com
- Firebase Test Lab: usage, quotas and pricing ↗The Spark plan's daily limits for virtual and physical device runs, and how Blaze quotas differ.firebase.google.com
- Play Console: Use a pre-launch report ↗What the automatic pre-launch testing covers and how to read the findings.support.google.com
- Apple: Running your app on simulated or physical devices ↗How to choose a run destination in Xcode, with the caveat about simulator fidelity.developer.apple.com
03 · AUTOMATION
A first Appium test, and what to automate
Appium is an open-source (Apache-2.0) automation framework for native, hybrid and mobile web apps, built on the W3C WebDriver protocol. Its architecture has four parts, per its introduction: the core server, drivers for specific platforms, client libraries for specific languages, and plugins. For Android you install the UiAutomator2 driver; for iOS, the XCUITest driver, which automates apps on simulators and real devices.
| Step | Command or requirement |
|---|---|
| Runtime | Node.js ^20.19.0, ^22.12.0 or 24 and later, with npm 10 or later |
| Install the server | npm install -g appium |
| Install the Android driver | appium driver install uiautomator2 |
| Android SDK and JDK | Set ANDROID_HOME and JAVA_HOME |
| Device | An Android Virtual Device, or a real device with USB debugging on; check with adb devices |
| Python client | pip install Appium-Python-Client |
This script is adapted from the quickstart. It opens the built-in Settings app, taps "Apps", then presses Back and confirms the original screen is still showing, which automates the Back navigation check from section one. Start the Appium server in another terminal before running it.
import unittest from appium import webdriver from appium.options.android import UiAutomator2Options from appium.webdriver.common.appiumby import AppiumBy capabilities = dict( platformName='Android', automationName='uiautomator2', deviceName='Android', appPackage='com.android.settings', appActivity='.Settings', language='en', locale='US', ) class TestBackNavigation(unittest.TestCase): def setUp(self): self.driver = webdriver.Remote( 'http://localhost:4723', options=UiAutomator2Options().load_capabilities(capabilities)) def tearDown(self): self.driver.quit() def test_back_returns_to_previous_screen(self): apps = self.driver.find_element(by=AppiumBy.XPATH, value='//*[@text="Apps"]') apps.click() self.driver.back() # The list entry we tapped should be on screen again again = self.driver.find_element(by=AppiumBy.XPATH, value='//*[@text="Apps"]') self.assertTrue(again.is_displayed()) if __name__ == '__main__': unittest.main()
Automate the checks you will repeat every release: login, the main purchase or save flow, and the back-stack behaviors above. Leave exploratory testing, visual judgment and accessibility with a screen reader to people. The Appium Inspector, a separate GUI, lets you click an element in a running app and read its attributes, which is the easiest way to find reliable locators. Ask developers for stable accessibility identifiers rather than relying on XPath that breaks when the layout shifts.
- Appium quickstart ↗Install Appium, add the UiAutomator2 driver and write a first test in JavaScript, Python, Java, Ruby or .NET.appium.io
- Appium system requirements ↗The Node.js and npm versions the current server needs, and supported host operating systems.appium.io
- Appium Inspector ↗A GUI for inspecting an app's element tree and trying locators, Apache-2.0 licensed.github.com
- Appium XCUITest driver ↗The iOS, iPadOS and tvOS driver, covering simulators and real devices.appium.github.io
04 · COMMON GAPS
What mobile testers usually miss
Only testing the newest operating system. Google's guidelines require the app to run on the latest public Android version, but users sit on older ones. Keep at least one older virtual device in your matrix.
Treating an emulator pass as a release sign-off. Performance, battery and sensors need real hardware, as the table above shows.
Skipping state restoration. Most mobile-only defects are about leaving and returning, not about the first launch. If you test one thing beyond the happy path, test resume.
Forgetting accessibility. Run one pass with TalkBack on. Unlabeled buttons are common and easy to file.
05 · FAQ
Frequently asked questions
What is mobile app testing?
Mobile app testing verifies that an app works correctly on real conditions of phones and tablets: different screen sizes, operating system versions, interruptions such as calls, changing networks and battery state. It combines manual checks with automation tools such as Appium.
What tools do I need for mobile testing?
For Android, Android Studio with its emulator is enough to start. For iOS, you need Xcode and its Simulator. To automate, add Appium with the UiAutomator2 driver for Android or the XCUITest driver for iOS. Firebase Test Lab adds cloud devices.
Do I need a Mac to test iOS apps?
Apple's documentation describes simulators running on your Mac within Xcode, so local iOS simulator testing needs a Mac. If you do not have one, a cloud device service is the usual alternative; Android testing works on Windows, macOS and Linux.
How do I decide which devices to test on?
Start from your users: check your analytics, or the device data in Play Console, for the most common models and operating system versions. Cover a small-screen phone, a large-screen phone, a tablet if you support one, and an older operating system version, then add devices as bug reports show gaps.
Should I test on emulators or real devices?
Use both. Emulators and simulators are fast for layout, rotation and navigation. Real devices are required for performance, battery, sensors and network handoffs. Apple notes that simulators do not replicate a physical device's performance or features.