Android Automation Testing: Plain-English Tests | Momentic

Verify the Android build you ship.

Test complete user flows across native screens and debuggable WebViews. Momentic checks your assertions and resolves controls again when the UI changes.

Works with Kotlin · Java · React Native · Expo · Flutter

Momentic app

Steps Running

  1. Open app com.google.android.apps.maps
  2. Tap Skip button
  3. Tap Search Bar
  4. Module search-restaurants
  5. Type "Coffee near Ferry Building"
  6. Tap Search
  7. Check a list of map results with at least 5 options on screen
  8. Tap first list result
  9. Exists Directions
  10. Tap Menu
  11. Scroll to first menu item
  12. Tap Reviews tab
  13. Check: a user review is visible

Verify Android apps and embedded web flows together.

How Android test automation works.

Check the expected behavior on your APK. Save the test and run it again as your app changes.

Example: momentic wizard

$npx @momentic/wizard@latest
Select android when prompted.
✓ Signed in as dev@acme.com
✓ momentic-mobile installed
✓ Project initialized
✓ Coding agent skills installed
✓ Running sample test
Sample test passed

Connect your app

Run the wizard to install Momentic and try a sample. Upload your APK to start testing the build your team produces.

Example: checkout.test.yaml

fileType: momentic/mobile-test/v2
id: checkout-flow
platform: android
steps:
  - openApp: com.example.shop
  - act: add the backpack to the cart
  - assert: cart shows 1 item

Describe the flow

Describe the interaction and expected screen in plain English. Your coding agent can author and run the YAML test on a live emulator.

Example: momentic-mobile run

$npx momentic-mobile run checkout.test.yaml
✓ Open app com.example.shop
✓ AI action · add the backpack to the cart
✓ AI check · cart shows 1 item
Passed · 3 steps

Verify the build

Run tests on local or hosted emulators. Review screenshots and step results, then use the same tests to verify new builds in CI.

Example YAML

fileType: momentic/mobile-test/v2
id: android-sign-in
description: A user signs in and reaches the dashboard.
platform: android
steps:
  - openApp: com.example.shop
  - tap: The Sign in button
  - type:
      text: qa@example.com
      into: The Email field
  - type:
      text: test-password
      into: The Password field
  - tap: The Submit button
  - assert: The account dashboard is visible

Cross native and web screens

Momentic detects debuggable WebViews and switches context as the flow enters or leaves them. Describe the controls in each screen and keep the complete user flow in one test.

Run tests on fresh hosted emulators

Momentic installs your APK on a fresh emulator for each hosted test. Run independent tests concurrently and keep your CI focused on the build and its results rather than emulator maintenance.

Adapt when controls change

Momentic uses the current screen and accessibility signals to find the control you described. It checks saved element matches before replaying an interaction and finds the control again when the match changes.

Author with your coding agent

MCP lets your coding agent inspect a live emulator, try steps, and run the test it saves. Engineers review the simplified YAML and run it against future builds in CI.

Android test automation that keeps up with your code.

Keep native and web screens in one flow. Replay successful steps, find changed controls again, and run independent tests in parallel.

Write Android tests in plain English

Describe controls by their label, role, and surrounding screen. Mix preset steps with goal-driven AI actions, then assert the expected outcome.

Fresh hosted Android emulators

Momentic installs your uploaded APK on a fresh emulator for each test. Run independent tests in parallel without maintaining an emulator fleet.

Native and embedded web flows

Test Kotlin, Java, React Native, Expo, and Flutter builds. Momentic switches between native screens and debuggable WebViews as your flow crosses them.

Targets that adapt to UI changes

Momentic checks saved element matches against the current screen and accessibility signals. When a match changes, AI finds the control again from your description.

Reuse successful AI actions

Momentic caches successful actions and replays their steps on later runs. If replay misses the goal, the agent attempts to repair the flow.

MCP support for coding agents

Claude Code, Cursor, and Codex can author and run tests on a live emulator. Your team reviews the resulting YAML beside application code.

Android testing, answered.

Frequently Asked Questions

Verify what you ship.

Run your first test, or book a demo using your app.