Intelligent Compatibility Testing Platform for Mobile Game Development
This article describes the design and implementation of an intelligent compatibility testing platform for mobile games, covering device fragmentation challenges, testing strategies, hardware setup, automated and AI‑driven testing services, real‑time monitoring, remote maintenance, and the integration of Airtest for script automation.
For mobile game development, device fragmentation severely impacts compatibility. Manual testing is time‑consuming, and writing automation scripts has a high entry barrier. To address these issues, an "Intelligent Compatibility Testing" platform was built to ensure product quality efficiently.
01 Compatibility Testing Background
Compatibility testing verifies the interaction between software and hardware. This section explains why testing is needed, common compatibility problems, and testing methods.
Why Compatibility Testing Is Needed
Android fragmentation leads to a vast variety of devices differing in brand, OS version, resolution, CPU/GPU, and screen shapes (curved, notch, etc.). Examples of compatibility issues include installation failures, screen tearing, UI obstruction, and resolution mismatches.
Common Compatibility Issues
Installation incompatibility (e.g., app cannot be downloaded).
Screen artifacts such as flickering or black spots.
Irregular screen shapes causing UI elements to be hidden.
Resolution incompatibility resulting in black borders.
02 MTL Compatibility Testing Services
Four services are offered to handle fragmentation challenges:
Expert Manual Compatibility Testing : Experienced testers manually test on mainstream Android and iOS devices. Features include a decade of experience, broad device coverage, precise issue localization, and deep user‑experience testing.
Fast Automated Compatibility Testing : Cloud‑based automation covering major devices, generating reports within ten minutes. Supports basic functions such as install, launch, random clicks, close, hot‑start, and uninstall.
Deep Automated Compatibility Testing : Custom scripts target core game scenarios, providing thorough compatibility checks.
Intelligent AI‑Driven Compatibility Testing : AI scripts automatically traverse all UI scenes, detect anomalies, and report issues with 24/7 support.
03 Real‑Device Cluster Construction
The platform consists of three parts: a hardware device farm, software for device monitoring and automation, and AI algorithms for intelligent testing.
Hardware challenges include insufficient USB ports, power limitations, and varying USB speeds. An industrial‑grade USB‑HUB with external power expands connectivity, but a server can reliably handle only about ten devices (1:10 ratio).
Additional issues such as unstable network, messy cabling, overheating, and battery swelling are mitigated by using enterprise‑grade wireless APs, custom‑designed cabinets with cable management, temperature‑controlled enclosures, and smart USB‑HUBs that can remotely control power.
04 Device Monitoring and Maintenance
Key monitoring metrics:
Connection status.
Available RAM (e.g., adb shell dumpsys meminfo ).
Battery level (e.g., adb shell dumpsys battery ).
Disk capacity.
Using adb , devices are queried for these metrics and displayed on a web dashboard. Remote maintenance actions (restart, background cleanup, etc.) can be triggered via a single command.
05 Automation Implementation
Airtest provides real‑time screen streaming and powerful automation capabilities:
Image recognition for matching screenshots.
UI control recognition via Poco SDK for precise element interaction.
Cross‑platform support (Android, iOS, Windows).
Custom enhancements include separating important logs, adding soft assertions, and implementing reconnection logic for Unity‑based games.
06 Intelligent Automation and Script Generation
AI‑driven scripts obtain the UI control tree, send it to an AI server, receive the next action, execute it, and repeat, enabling continuous intelligent testing.
Simultaneously, AI‑based image anomaly detection flags visual issues (e.g., black borders) for expert review.
07 Web Demonstration and End‑to‑End Workflow
Select devices and upload the build.
Monitor progress and live video streams.
Review detailed reports with logs, screenshots, and performance data.
Integrate Pease performance collection for full‑trace analysis.
The platform thus offers a comprehensive solution for mobile game compatibility testing, combining hardware infrastructure, automated and AI‑enhanced testing, real‑time monitoring, and remote maintenance.
NetEase LeiHuo Testing Center
LeiHuo Testing Center provides high-quality, efficient QA services, striving to become a leading testing team in China.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.