- Start with a user goal, not a screen or feature name.
- Record setup, actions, expected results, and failure signals.
- Make outcomes observable and capture evidence when a check fails.
- Choose device and Android-version coverage based on user risk.
An Android test case is useful when another person can follow it, see what should happen, and tell exactly what went wrong. That means describing a user journey in concrete actions and observable outcomes—not writing “check login” and leaving the details to the tester.
The method below helps you write tests that reproduce failures reliably, whether you run them manually, automate them, or use both approaches. The examples are hypothetical and should be adapted to your app’s design and supported devices.
Start with the user’s goal
Choose a task that matters to someone using the app: signing in, saving a draft, completing a purchase, or recovering from a lost connection. Describe the conditions that affect the task before listing taps, so another tester can begin from the same state.
- Name the goal. Write what the user is trying to accomplish, such as “save a draft and return to it later.”
- Define the starting state. Record relevant details: whether the user is signed in, what data exists, and whether the device has network access.
- List user actions in order. Include taps, text entry, scrolling, waiting, and system actions such as rotating the device when they matter.
- State the expected result. Describe what the user should see or be able to do after each important action.
- Define failure signals. Say what observable result makes the test fail, such as a missing saved item, an error message, or an app that stops responding.
Use the same words for controls and screens that appear in the app. If a control has no visible label, describe its location and appearance clearly enough to identify it.
Write a case another person can repeat
Keep a test case focused on one user goal and a small number of related outcomes. If a case covers several unrelated tasks, a failure can leave the tester unsure which part broke and make reruns slower.
- ID and title: Use a stable identifier and a concise title, such as “Save draft while offline.”
- Preconditions: State account status, permissions, test data, network conditions, and any required app setup.
- Steps: Number actions in the order a user performs them; avoid combining several distinct actions into one step.
- Expected result: Describe visible or otherwise verifiable behavior, including what should persist after leaving and reopening a screen.
- Failure signal: Specify the condition that counts as a failure, rather than relying on “does not work.”
- Evidence: Note what to capture if the test fails, such as a screenshot, screen recording, relevant logs, or the time of the failure.
For example, a case for saving a draft could start with a signed-in user and a prepared draft. The tester edits one field, saves, navigates away, and reopens the draft; the expected result is that the new value remains, while a missing or reverted value is a failure signal.
A reproducible test describes what the user did, what should have happened, and what proves it did not.
Do not make “the screen looks right” the only expected result. A screen can appear correct while data is not saved, a button is inaccessible, or a later step fails.
Make results observable and diagnosable
An expected result should be something a tester can verify without guessing about internal implementation. A failure signal should narrow down what happened, but it should not prescribe a specific code fix before the cause is known.
| Weak check | Stronger check | Useful failure signal |
|---|---|---|
| Test saving | Save an edited draft, leave the screen, then reopen it | The edited value is missing or reverted |
| Check sign-in | Submit valid credentials and open the account screen | Sign-in reports success but the account screen remains unavailable |
| Try offline use | Open a previously available item with network access disabled | The app shows an endless loading state or loses the item |
| Check a button | Reach the action using touch and, where supported, accessibility navigation | The action cannot be found, activated, or understood |
When a failure occurs, preserve enough context to repeat it: device model, Android version, app build, relevant settings, test data, exact steps, and whether the result happens every time or intermittently. Capture information that helps diagnosis while avoiding unnecessary personal or sensitive user data.
- For a visual issue: Capture the affected screen and note display settings that could change layout.
- For a state issue: Record the state before and after the action, including whether relaunching changes the result.
- For a timing issue: Note how long you waited and whether the app was in the foreground or background.
- For a crash or hang: Preserve relevant diagnostic logs when available and record the last completed action.
Choose coverage and keep tests useful
You cannot run every journey on every device and Android version for every change. Prioritize by user impact, likelihood of failure, and how much the app depends on a particular device capability or system behavior.

- Protect critical journeys. Include sign-in, core tasks, data saving, and recovery paths that would block meaningful use if broken.
- Cover relevant environments. Select devices and Android versions that reflect your supported audience and the features involved; confirm current platform and Play requirements in official documentation.
- Check variations that change behavior. Consider network loss, permission denial, rotation, backgrounding, accessibility settings, and low-resource conditions when relevant to the journey.
- Rerun after changes. Add a focused regression check for a fixed bug, then run nearby journeys that could be affected by the same screen, data, or component.
- Review and retire cases. Update steps when the app changes, and remove or replace checks that no longer represent a real user task.
Automation is especially useful for repeatable checks with stable setup and clear results. Manual and exploratory testing remains valuable for discovering confusing flows, unexpected combinations, and usability or accessibility problems that a scripted path may miss.
For a new personal developer account, Google Play’s closed-testing requirements can depend on account and policy details. Check the current Play Console Help guidance; passing a test plan does not guarantee production access.
- Can a tester start from the stated preconditions without asking what to do?
- Does every important action have an observable expected result?
- Is each failure signal specific enough to distinguish a failure from a slow or incomplete step?
- Would the evidence help another team member reproduce the issue?
- Does the selected device and version coverage match the risk of this journey?
Frequently asked questions
Use these answers to decide how much detail to include and where manual or automated checks fit.
How many steps should an Android test case have?
There is no fixed ideal count. Include enough ordered actions to make one user goal repeatable, and split the case if it combines unrelated outcomes or becomes difficult to diagnose.
Should every test case be automated?
No. Automate stable, repeatable checks when setup and results can be defined reliably. Use manual or exploratory testing for discovery, changing flows, and judgments that need human observation.
What should I do when a failure is intermittent?
Record each attempt, the exact build and environment, timing, network or app state, and any available logs. Avoid changing several conditions at once, so you can identify what affects reproduction.
How should I choose Android versions and devices?
Start with your supported audience and app requirements, then prioritize environments where a failure would have high impact or where system behavior differs. Check current Android and Play documentation for requirements that may change.
Key takeaways
Use a consistent structure so each case guides both execution and follow-up.
- Describe a real user goal, its starting conditions, and ordered actions.
- Make expected results and failure signals visible and specific.
- Capture enough environment and evidence to reproduce a failure safely.
- Prioritize coverage by user risk, then maintain focused regression checks.
Want real people on real phones to test your app? Explore Android app testing on AndroidTesters. Learn more
Prepared with AI assistance and checked against AndroidTesters' editorial guidelines. AndroidTesters is not affiliated with Google. Rules and numbers change: confirm important details in the official documentation before you act.