What problem does it solve?
When you describe HarmonyOS app testing steps in natural language, you still need to manually convert them into executable Hypium test code and repeatedly fix failures due to locator mismatches and environment issues.
Core Features & Use Cases
- Natural language → Hypium test code: Parses Chinese test steps into structured JSON and generates executable Hypium Python test cases.
- Step-by-step debugging with strict guardrails: Runs each test step in isolation, requires user confirmation, and comments out confirmed steps to prevent drift.
- Robust UI control locating: Exports the device control tree, prioritizes locator strategies (text/type/key/id), and falls back to screenshot + AI image analysis when control-tree targeting fails.
- Environment detection + project scaffolding: Checks HDC/Hypium/device availability, then creates a ready-to-run Hypium test project from a template and produces reports (HTML/XML/JSON).
Use case example: You want to test that a settings page search and UI toggles work. Write steps in Chinese, let this Skill generate the Hypium test project, debug each step until controls are reliably found, then run an end-to-end execution to produce a full test report.
Quick Start
Run the harmonyos-autotest skill with your test steps markdown file to generate and debug a runnable Hypium automation test project for your HarmonyOS app.