Skip to main content
L3gitUI · API · MOBILE TEST AUTOMATION
[ PRODUCT ][ PRICING ][ DOCS ][ VERIFIED ][ REGULATED ][ COMPARE ][ ACCOUNT ] Start Free Trial

Home › How-to guides › How to record Android app tests without code and run them as Appium + Cucumber Java

/// Mobile · Android

How to record Android app tests without code and run them as Appium + Cucumber Java

L3git Mobile records on a real phone (or an emulator) and writes an Appium + Cucumber Java project you own. Needs the Mobile tool, a UI/API + Mobile pair, or the Suite — or the 14-day trial.

About 25 minutes · step by step, no experience needed

  1. On the phone: Settings → About phone, tap Build number seven times, then in Developer options turn on USB debugging. Plug it into the PC with a cable and tap Allow on the phone when it asks.
  2. Install adb once (Google does not allow us to bundle it): download platform-tools-latest-windows.zip from developer.android.com/tools/releases/platform-tools, unzip it to C:\platform-tools. If Android Studio is installed you already have it.
  3. In L3git’s startup window click Mobile recorder (Android). Pick your phone in the device list (click Refresh if it is empty), type the app’s package name (for example com.android.settings) or browse to an .apk, and click Connect. The first time, an online install offers to download Appium (about 200 MB, kept inside the L3git folder); air-gapped builds already include it. The phone screen appears inside a phone frame after 30–90 seconds.
  4. Click the screen. Every click happens on the phone and is recorded with the locator L3git chose — shown and highlighted so you can pick a different one. Use the mouse wheel to scroll, Type into to enter text, Check visible / Check text for assertions, Swipe, Back, Hide keyboard and Wait for the rest. Pick Navigate only to move around without recording.
  5. Click Test. The app restarts on the screen you began on and every step replays while the preview follows along — green rows passed, red rows failed. Select a step and click Test from selected step to rerun just the tail. A failing step offers Fix with AI (local Ollama or your own key); Disable keeps a step in the list without running it.
  6. Save recording, then Generate project and pick a folder. Open a terminal there and run mvn test. Reports land in target/: Cucumber HTML, Allure, failure screenshots, the Section 508 report for every screen (target/a11y/) and any self-healing log.
  7. Jenkins: the generated Jenkinsfile is a matrix of shards × devices; set MOBILE_DEVICE_UDID per agent (phones on a USB hub) or point mobile.properties at BrowserStack / Sauce Labs / LambdaTest with one line.
Hybrid app with web pages inside? Taps inside a WebView are recorded as web steps with CSS locators and the generated project switches context by itself; put a chromedriver.exe matching the phone’s Chrome under lib\appium\chromedriver\ for air-gapped runs. Tests use the whole screen, so the bottom navigation buttons are clickable in the preview too.

Done! One recording, one Maven project, phones and emulators on your own agents — no device-cloud minutes.

L3git Mobile — The Android recorder: live phone preview, self-healing locators, Section 508 audit of every screen, Appium code you own. $79/user/mo or in the Suite.

Start the 14-day free trial   About L3git Mobile

All guides: /guides · Deeper write-ups: Resources · Still stuck? Email corwinhill@l3git.com — a real person replies.