HarmonyOS Automation Support

Midscene can drive the HDC (HarmonyOS Device Connector) tool to automate HarmonyOS NEXT devices.

Thanks to its visual model approach, the entire automation process works with any HarmonyOS app technology stack — whether ArkTS native or other frameworks. Developers only need to debug UI automation scripts against the final rendered interface.

The HarmonyOS UI automation solution includes all Midscene features:

  • Zero-code trial via Playground.
  • JavaScript SDK support.
  • YAML-based automation scripts and CLI tools.
  • HTML report generation for replaying all action paths.

Showcases

Prompt : Open Settings, scroll to find "About phone", view device information.

View the full report of this task: report.html

See more showcases: showcases

Try Midscene Playground on HarmonyOS

With Midscene.js Playground, you can experience HarmonyOS automation without writing any code.

See Getting Started to learn how to launch Playground.

Next Steps