Skip to content
Projetos

Sobre

EchoBench — local-first Android/iOS mobile test studio: recording, replay, locator validation, multi-device sync and AI CSV export; Electron desktop with GitHub Releases updates. 本机优先的 Android/iOS 移动测试工作台:录制、回放、定位器校验、多端同步、AI 用例导出,支持 Electron 桌面版和 GitHub 更新。

Desenvolvimento web e de aplicativos

Como estes números são medidos

O que você pode fazer

  • Recording and replay — tap, input, swipe, back, double-tap, long-press, and pinch; supports locator-first and relative ratio coordinates (0~1), automatic target app package/bundleId capture, single-step debugging, and replay from any step.
  • Resource-saving headless view toggle — toggle live video on/off anytime in single-device or batch replay; batch mode disables live video by default while allowing on-demand snapshots or per-device live streaming.
  • Locator candidates and real-time validation — each tap generates multiple candidates and uses Appium /elements to confirm uniqueness and element bounds; safe candidates are used when the primary locator fails.
  • Assertions — exists, visible/hidden, enabled/disabled, checked/unchecked, text match, empty, and page stable; assertions are editable wait steps.

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original
EchoBench — Mobile Test Studio

EchoBench

Record. Replay. Echo.

Operate Android / iOS apps in your browser, record steps, validate locators in real time, run the same action across multiple devices, and replay.

English | 简体中文

Version Node.js Appium License Desktop Device

EchoBench is a local-first mobile test studio. You click on a device mirror in the browser; EchoBench sends the action to a physical device or emulator, identifies targets through the Appium UI tree, and records taps, input, swipes, and back actions as an editable, replayable YAML DSL. It also provides multi-device live views, one-device operation with multi-device execution, real-time locator validation, and AI-assisted CSV test-case export.

EchoBench can run from source in the browser or as an Electron desktop app. The desktop build reuses the same frontend and server, bundles Chromium, and checks GitHub Releases on every platform; when an update exists it shows the version, release notes, and a download URL for manual installation. Browser mode does not check for updates.

Screenshots

EchoBench recording, assertions, and locator candidates

Recording steps, assertions, and locator candidates. Captured from a local Android emulator; the sample pages are for demonstration only.

Connected device and live view
Connected device and live view
Element tree and node-based locators
Element tree and node-based locators
Multi-device sync
Multi-device sync: operate one, the others execute together
AI test-case export
AI test-case export
Global settings and AI configuration
Global settings and AI configuration

Workbench, element tree, multi-device sync, AI export, and global settings. Sample pages are for demonstration only.

Why EchoBench

  • Local-first — data, devices, logs, and AI settings stay on your machine. No account, cloud queue, or third-party device farm is required.
  • Explainable locators — candidates, match counts, recommended/brittle roles, and replay fallback decisions are visible, not a black-box selector.
  • Multi-device sync — operate one device and broadcast the action to every participating device; each device has independent live/sync switches and online state.
  • Attach without taking over — connect to an existing Appium session; detaching does not end the external session by default.
  • Controllable AI — AI is optional and works with any OpenAI-compatible endpoint, including local models.
  • Portable scripts — YAML, WebdriverIO, Python, and Java can all run outside EchoBench.

It is a good fit for QA and developers who need local debugging, compatibility comparison, and a path from manual steps to scripts. It is not a large-scale cloud device matrix or an enterprise test-management suite. See Comparison.

Comparison

Category / representative How EchoBench differs
Element inspection tools (Appium Inspector) More than inspection: recording, replay, candidate validation, multi-device sync, and AI CSV
Open-source flow tools (Maestro) Live device views, interactive recording, locator candidates with real-time validation, and multi-device sync
Visual / game testing (Airtest / Poco) Focused on native UI trees and semantic locators; no visual recognition at this stage
Cloud device farms (BrowserStack / Sauce Labs / LambdaTest) Data stays local, no per-minute cloud billing, convenient local debugging; no large-scale concurrency or cloud device coverage
Commercial suites (Katalon / TestComplete / Ranorex) Local, lightweight, reviewable, no license fee; test management and enterprise governance are not yet covered

Full comparison and use cases

Quick start

Prerequisites: Node.js 22.12+, Chrome or Edge, Android SDK Platform-Tools, scrcpy 3.2, and a JDK. iOS also requires macOS and a full Xcode installation.

npm ci
npm run build
npm start

Open http://127.0.0.1:4710, choose a device, and click Connect. Appium starts automatically on the first connection; you do not need a global Appium installation or a second Appium terminal.

The commands above are for browser mode. Desktop:

npm run desktop:dev          # development
./local-package.sh --dir     # unpacked app directory
./local-package.sh --dist    # installer for this OS; DMG on macOS

On macOS, drag EchoBench.app to Applications first; do not run it directly from the DMG. For the unsigned build, right-click → Open on first launch.

  • Full installation (Windows / macOS / Linux): Installation
  • Connect a device, record your first flow, add assertions, and replay: Quick start
  • From first launch to recording, assertions, replay, and export: EchoBench user guide
  • Desktop installers and updates: GitHub Releases
  • The first physical iOS connection needs Xcode and WebDriverAgent signing; see the installation guide.

Core capabilities

  • Recording and replay — tap, input, swipe, back, double-tap, long-press, and pinch; supports locator-first and relative ratio coordinates (0~1), automatic target app package/bundleId capture, single-step debugging, and replay from any step.
  • Batch YAML replay and real-time webhook reporting — batch import YAML suites per Android/iOS platform in natural filename order (1, 2…9, 10); supports matrix (all cases on every device) and shard dispatch with strict single-case serial execution per device, unified initial-page reset (restart app / DeepLink / Setup YAML / activate only), custom report directory, per-case JSON persistence, and asynchronous webhook delivery with default packageId / platform / batchId / batchName metadata.
  • Resource-saving headless view toggle — toggle live video on/off anytime in single-device or batch replay; batch mode disables live video by default while allowing on-demand snapshots or per-device live streaming.
  • Locator candidates and real-time validation — each tap generates multiple candidates and uses Appium /elements to confirm uniqueness and element bounds; safe candidates are used when the primary locator fails.
  • Assertions — exists, visible/hidden, enabled/disabled, checked/unchecked, text match, empty, and page stable; assertions are editable wait steps.
  • Gestures and keyboard — drag directly on the device mirror (recording relative swipe ratios across screen sizes); keyboard input is enabled by default, supports Chinese input methods, and merges continuous typing into one step.
  • Multi-device sync — operate any one device and have every participating Android/iOS device execute the same tap, swipe, input, or back action; live/sync switches are independent. Operation only, no recording.
  • Adaptive cross-Mac iOS connection — simulators connect without signing; physical devices prefer preinstalled WDA and automatically fall back to local Xcode certificate/profile signing when WDA is missing or expired.
  • Attach session and element tree — take over an existing Appium session; expand the native hierarchy, search attributes, highlight elements, and generate locators from a node.
  • Multi-language export — runnable WebdriverIO JavaScript, Appium Python Client, and Appium Java Client scripts.
  • AI test-case export — configure an OpenAI-compatible endpoint globally, enter the test-case title manually, and export one operation plus optional assertion per CSV row.
  • Environment checks — check Node, Appium drivers, adb, scrcpy, JDK, Android SDK, and Xcode by OS; missing system tools have install actions.
  • Draft and workbench — steps, project name, device config, replay settings, and batch replay preferences are cached locally; drafts restore, steps can be reordered, labeled, and annotated.

Platform support

Host OS Android physical Android emulator iOS physical iOS simulator
Windows 10/11 x64 Supported Supported Supported (preinstalled WDA + iTunes) Not supported
macOS Supported Supported Supported Supported
Linux x64 Supported (not fully validated on a device matrix) Supported (not fully validated on a device matrix) Not supported Not supported
  • macOS: full iOS physical device and simulator support via Xcode + XCUITest (reuses preinstalled WDA or signs automatically).
  • Windows: supports physical iOS devices assuming valid WDA is already installed on the phone and iTunes / Apple Devices driver is installed on the PC (go-ios and wintun.dll are bundled in the Windows desktop installer, and Environment Check verifies iTunes service status).
  • Linux: disables iOS entry points and supports Android only.

How it works

flowchart LR
    B["Chrome / Edge workbench"] -->|tap, input, replay| N["Local Node.js service"]
    N --> Y["YAML DSL / JavaScript"]
    N --> A["Appium 3.8.0"]
    A --> U["UiAutomator2 / XCUITest"]
    U --> T["UI tree and semantic locators"]
    N --> D["Low-latency ADB control"]
    S["Android scrcpy-server"] -->|H.264 frames| N
    N -->|H.264 with frame headers| M["WebCodecs decoding"]
    W["iOS WDA MJPEG"] --> N
    M --> B
    N --> B

Android video does not use Appium screenshot polling and does not require FFmpeg. scrcpy-server sends H.264 with frame boundaries and PTS through ADB reverse to Node.js; the browser decodes it directly with WebCodecs and drops stale non-key frames when decoding falls behind. See Architecture.

Documentation

Document Contents
Documentation index Entry point for all English docs
EchoBench user guide Beginner-oriented environment checks, recording, assertions, replay, export, and troubleshooting
Installation Windows / macOS / Linux, Android SDK, scrcpy, JDK, Xcode, ports
Quick start Connect a device, record, assert, replay, draft, and stop
YAML format Actions, assertions, replay policy, candidate structure
Script export WebdriverIO, Python, and Java runners
Multi-device sync One-device operation, multi-device execution, and platform risks
Batch YAML replay (ZH) Matrix/shard dispatch, natural filename order, unified initial page, headless mode, and report directory
Third-party report API (ZH) Batch replay JSON report schema, webhook protocol, and server integration examples
Attach session and element tree Session ID, attach mode, element tree, and node-based locators
AI test-case export OpenAI-compatible configuration, CSV structure, and assertion rules
Logs and cleanup Log rotation, environment variables, shutdown, and residual processes
Performance Android/iOS video, iOS latency optimizations, and multi-device overhead
Troubleshooting Device connection, iOS signing, black screens, locator risk, and session failures
Security and limitations Local-service risks, plaintext input, boundaries, and platform limits
Architecture Data flow, source layout, verified environment, and tradeoffs
Comparison Differences from inspection, flow, cloud-farm, and code-framework tools
Desktop app and online updates Electron shell, unsigned packaging, GitHub Releases, and update policy

Security and privacy

  • The service listens only on 127.0.0.1:4710 and has no login. Do not reverse-proxy it or expose it to the public internet.
  • Appium also has no authentication by default; a server URL plus Session ID is equivalent to device control.
  • YAML, the UI, and exported scripts store input values in plaintext. Do not record real passwords, tokens, or personal sensitive data. secret: true does not hide or encrypt values.
  • Drafts and AI settings live in the current browser's localStorage; AI requests pass through the local service only temporarily.
  • Logs may contain page source and device information. Redact them before filing an issue.

For vulnerability disclosure, see SECURITY.md. For full limitations, see Security and limitations.

Contributing

Issues, documentation improvements, and pull requests are welcome. Please read:

  • Contributing guide — development, testing, and submission conventions;
  • CLA — first-time contributors sign it in a PR comment; checking the PR checkbox alone is not a signature;
  • Corporate CLA — for contributions made as part of employment;
  • Code of Conduct.

CI runs npm run typecheck, npm test, and npm run desktop:build. Run the same three commands locally before submitting.

Contact

Author's WeChat QR code
Author's WeChat
Please mention EchoBench when adding
WeChat Official Account QR code
WeChat Official Account
Follow for project updates and articles
X (Twitter) @AiYouyisi
X (Twitter)
Follow for project news

The QR codes are for project communication. Please read Troubleshooting before filing an issue.

License

EchoBench is licensed under the Apache License 2.0, which permits personal and commercial use, modification, and distribution. Redistributions must retain the copyright notice, the license text, and NOTICE, and must indicate changes.

Apache-2.0 permits commercial use. Third-party dependencies remain subject to their own licenses.

Acknowledgements

EchoBench builds on Appium, UiAutomator2, XCUITest, scrcpy, React, Vite, and lucide-react. Thanks to their maintainers and all contributors.

Explore projetos relacionados

Carregando…