Mobile Development 13 min read

Soloπ: A Wireless, Non‑Intrusive, Root‑Free Android Testing Solution for Mobile Devices

The article introduces Soloπ, Alipay's comprehensive wireless and non‑intrusive Android testing framework that enables root‑free functional, performance, compatibility, and stability testing on mobile devices through wireless ADB, record‑playback, multi‑device control, and integrated performance tools such as mobile Lighthouse.

AntTech
AntTech
AntTech
Soloπ: A Wireless, Non‑Intrusive, Root‑Free Android Testing Solution for Mobile Devices

With the rapid growth of mobile Internet, testing technologies have evolved from script‑based automation to cloud‑based platforms, recording‑playback, image recognition, and wireless solutions, continuously improving test efficiency.

This article presents Soloπ, Alipay's wireless, non‑intrusive, root‑free Android testing solution that allows direct control of phones for functional, performance, compatibility, and stability testing.

Evolution of Mobile Testing

Mobile testing 1.0 (exploration phase) relied on tools like Monkey, UiAutomator, and open‑source frameworks, typically running on a few PCs with Jenkins for CI. Mobile testing 2.0 introduced cloud‑test platforms that package real devices, task management, and automation frameworks, enabling one‑click script upload and result viewing. Mobile testing 2.0+ adds IDE‑level integration, drag‑and‑drop script creation, and multi‑device “mobile‑testing” capabilities, emphasizing cross‑device interoperability.

Overall Architecture

The solution builds on wireless ADB, system accessibility services, Chrome DevTools Protocol, and image‑recognition techniques. Core capabilities—widget locating, event driving, performance collection, and dependency injection—are encapsulated as services providing recording, playback, and data processing.

Wireless ADB

By using the socket‑based ADB protocol (port 5555) and integrating the open‑source AdbLib library, Soloπ replaces the PC‑side ADB server, enabling command execution over Wi‑Fi.

Record‑Playback

Recording intercepts user actions via AccessibilityService, Chrome DevTools, or image matching, storing widget IDs, text, layout, and screenshots. Playback parses the recorded JSON, locates widgets using intelligent algorithms, and executes actions such as clicks or swipes, finally presenting logs and screenshots.

Widget Finding Capabilities

Native apps: AccessibilityService provides a view hierarchy with IDs and text.

H5/mini‑programs: Chrome DevTools Protocol injects JavaScript to obtain DOM layout and attributes.

Games or complex UI: Image‑matching (template and feature matching) serves as a fallback and improves accuracy.

One‑Device‑Multiple‑Control

Soloπ records actions on a master device and streams them via socket connections to multiple slave devices, enabling simultaneous playback for compatibility testing across different models, ROMs, and screen sizes.

Performance Testing

Soloπ collects real‑time CPU, memory, FPS, and network traffic metrics, supports manual or broadcast triggers, and can upload data for server‑side analysis.

Response Time Calculation

Using screen‑recording frame analysis, Soloπ marks the click event as the start point and the moment the UI stabilizes as the end point, computing a user‑perceived response time.

Mobile Lighthouse

By leveraging the Chrome DevTools Protocol, Soloπ implements a Lighthouse‑like tool on Android, measuring H5/mini‑program startup performance, resource loading, request quality, JavaScript quality, and API usage, and generates a report with over 30 best‑practice checks.

Beyond these core features, Soloπ offers test case editing, flow control (loops, conditions), data mocking, network simulation, and intelligent Monkey testing. Parts of the source code are open‑sourced at https://github.com/soloPi/SoloPi, inviting the community to contribute.

performance testingMobile Automationrecord and playbackAndroid TestingSoloπwireless ADB
AntTech
Written by

AntTech

Technology is the core driver of Ant's future creation.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.