About this project
Airtest is a cross-platform UI automation framework designed for automating games and mobile applications. It provides platform-independent APIs that allow users to write automated test cases once and run them across multiple devices and platforms, including Android, iOS, and Windows.
Key features include:
- **Cross-platform APIs**: Airtest offers APIs for app installation, simulated input, assertions, and more. It uses image recognition technology to locate UI elements, enabling automation without injecting any code into the target application.
- **Scalability**: Airtest cases can be run on large device farms using either the command line interface or Python API. HTML reports with detailed information and screen recording help quickly identify failure points. NetEase has built Airlab on top of the Airtest Project.
- **AirtestIDE**: An out-of-the-box GUI tool that helps create and run test cases in a user-friendly manner. It supports a complete automation workflow: create, run, and report.
- **Poco**: A companion library that adds the ability to directly access the object (UI widget) hierarchy across major platforms and game engines, allowing more advanced automation in Python.
Installation is straightforward via pip (`pip install -U airtest`). On macOS and Linux, users need to grant ADB execute permission. The AirtestIDE GUI tool can be downloaded from the official homepage.
The framework supports running `.air` case files from the CLI, targeting various device types including Android phones connected via ADB and Windows applications. HTML reports can be generated after running cases, and the tool can also be used as a Python module.
Airtest is built on top of several open-source projects including STF, ATX, and pywinauto.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.