MaaXYZ/MaaFramework

基于图像识别的自动化黑盒测试框架 | An automation black-box testing framework based on image recognition

What it solves

MaaFramework 提供了一種建立自動化黑箱測試程式的方法,無需存取被測試應用程式的內部程式碼。它簡化了依賴視覺線索與軟體互動的自動化工具的建構流程,減少手動編寫程式碼的需求,同時保持彈性。

How it works

此框架以影像辨識技術與模擬控制為基礎,透過 Pipeline 協定採用「低程式碼」方式,讓開發者能定義任務序列與邏輯。框架以 C++20 撰寫,具備高效能與跨平台相容性(Windows、Linux、macOS、Android),並提供多種語言的綁定,包括 Python、Node.js、Go 與 Rust。

Who it’s for

想要為應用程式(如遊戲或生產力工具)建立自動化測試工具或「助理」的開發者——當 API 無法取得且必須以視覺辨識驅動互動時,特別適用。

Highlights

  • Cross-Platform Support: Works across Windows, Linux, macOS, and Android.
  • Multi-Language Integration: Offers libraries for Python, Node.js, Go, and Rust.
  • Low-Code Pipeline: Uses a structured protocol to define automation workflows, reducing boilerplate code.
  • Extensive Ecosystem: Supported by a wide array of community-built GUIs, debuggers, and specialized automation assistants.