Verify runtime behavior
Proof has to follow the full blast radius of a change. On mobile, that radius eventually reaches a running app on a device.
Test the complete flow
A clean diff can still produce a broken flow. Unit tests cannot fully reproduce touch input, keyboard behavior, permissions, navigation transitions, application state changes, or interactions with native surfaces.
This is where the settings-screen failure from Section 1 finally gets caught. Every static artifact looked healthy. A device run reveals that the keyboard covers the new control and the Android back action exits the flow.
Scripted end-to-end tests and agent-driven verification cover different kinds of evidence. A framework such as Maestro can replay a known flow as a repeatable test. An agent-facing layer such as agent-device lets a verifier inspect the current interface, choose the next action, capture screenshots or recordings, and judge whether the flow reached the expected state. Both can operate simulators, emulators, or physical devices when the platform and setup allow it.
Suppose an agent fixes a validation error on a registration screen. It launches the app, enters an invalid value, submits the form, and sees the error label. Good. The test should keep going.
Dismiss the keyboard. Rotate the device if the layout supports it. Navigate away, return, and confirm that the state still makes sense. A screenshot of the error label proves one moment; the rest of the flow tells us whether the fix holds together.
Prepare a reproducible run
Fresh context still carries the truth of the task. Give the verification agent the product requirements, acceptance criteria, correct build, starting state, and expected checkpoints. Leave the author's implementation narrative behind unless the verifier needs a detail to reproduce the environment. The agent approaches the feature like a new engineer who knows what the product should do and still has to prove that it does it.
Run device checks through a controlled lane with prerequisite checks and a lock or lease. Report pass, fail, busy, or unavailable, and identify acceptance criteria not covered. Missing hardware, an occupied device, or a required person is an environment blocker. Required verification stays pending until it can run.
Before running, select the target, install the correct build, and prepare the environment, account, starting state, flow, checkpoints, and evidence location. Complete the receipt afterward.
| Receipt field | Record |
|---|---|
| Before · revision and build | Commit SHA; identifier of the build actually installed |
| Before · target and environment | Platform, device, environment, and test account reference |
| Before · scenario and criteria | Starting state, flow, acceptance criteria, expected checkpoints, and evidence destination |
| After · criterion results | For each checked criterion: pass, fail, busy, or unavailable, plus an evidence link. List uncovered criteria separately |
| After · evidence | Links to recordings or screenshots for the checked flow |
| After · blockers | Missing hardware, occupied device, or required person; required verification stays pending |
A recording proves only the flow it captures.
Make the app testable by agents
Reaching the state needed for one test can take a long chain of slow, fragile UI actions. Give agents a controlled shortcut layer with explicitly allowlisted functions for logging in, seeding state, flipping feature flags, starting flows, moving time, or emulating events.
Expose relevant business events or state checkpoints as well. The shortcuts prepare and observe the scenario; device interaction still verifies what the user can see and do.
For example, use controlled calls to sign in as a test user, seed a cart, and open checkout. Then use device interaction to apply a discount and verify the displayed total. Appduct provides this shortcut layer in our factory. Keep it in development or explicitly configured testing builds, with allowlisted tools and test data; exclude it from production.
After every meaningful action, verify the outcome. A successful tap command proves that input was sent. The following screen, state change, business event, or system response proves whether the tap worked.
Store recordings and screenshots outside the application source. They belong in the delivery record, review system, or temporary run directory. Keep credentials and personal data out of captured evidence.
Know where device automation stops
Device automation has limits, and anyone who has maintained an end-to-end suite will recognize them. Selectors change. Animations affect timing. System dialogs interrupt flows. Some failures appear only on particular hardware.
Performance and thermal behavior often require a physical device. Accessibility, gestures, background execution, notifications, and hardware integrations may also need specialist testing and human judgment.