PromptTest Studio — Autonomous Mobile QA Brain & Desktop IDE
Autonomous Zero-Code Mobile Crawler, Heuristic Selector Engine & Live Spec Generator for Android

670+ on NPM
Weekly Downloads
386 (100% Green)
Automated Tests
Autonomous Mobile Crawler + Studio IDE
Architecture
NPM Registry (CLI & SDK)
Distribution
Application Screenshots



Project Overview
Engineered PromptTest and PromptTest Studio, an open-source autonomous mobile testing engine, CLI runner, and visual desktop IDE distributed via npm and GitHub. Designed to eliminate manual mobile test scripting, PromptTest leverages low-level Android Debug Bridge (ADB) protocols and UIAutomator XML hierarchy parsing to autonomously explore application states, detect dead-ends and no-op actions, verify visual regressions, and produce real-time audit reports. Key architectural achievements include building a resilient Hierarchical Depth-First Search (DFS) engine with package jail containment to prevent external app escapes, developing an interactive session recorder that translates live device gestures into reproducible test specs, and integrating natural language prompt execution with heuristic fallback resolution. Accompanied by PromptTest Studio, an interactive Electron/Web workspace featuring real-time device screen mirroring, element inspector tree, and zero-code scenario generators.
Key Features & Engineering
- Autonomous DFS State Graph Exploration: Traverses screen hierarchies, interactive widgets, navigation tabs, and drawers with zero test scripting
- PromptTest Studio Desktop IDE: Companion visual workbench featuring live ADB screen mirroring, interactive XML node inspector, and 1-click test generator
- Jail Containment & Foreground Guardrails: Monitors Android dumpsys activity states to prevent launcher escapes and suppress destructive actions (exit/quit/delete)
- Real-Time Interaction Recorder: Captures live touch events, typing, and gestures with instant file auto-flushing into reproducible test specs
- Natural Language Prompt Runner: Translates plain-English test instructions into deterministic Android UIAutomator interactions
- Comprehensive Visual Audit Reporting: Generates markdown reports complete with device info, execution metrics, screen state graphs, and failure screenshots
- Bulletproof Engineering Rigor: Strictly typed in TypeScript with a single-file bundled CLI (280KB) and 386 passing automated unit & integration tests (100% green)