Welcome to AirtestProject's official documentation!¶
1.AirtestProject Introduction¶
AirtestProject is a UI automation testing solution launched by NetEase Games. The project is composed as follows:
1)Airtest framework¶
Airtest is a cross-platform automated UI testing framework, which is suitable for games and apps. Airtest currently supports Windows, Android, and iOS.
2)Poco framework¶
Poco is an automation testing framework based on UI control recognition, which currently supports platforms such as Android native, iOS native, Unity3D, cocos2dx, UE4, and Egret. It can also be integrated into other engines using the poco-sdk.
3)AirtestIDE¶
AirtestIDE is a cross-platform UI automation testing editor that comes with built-in plugins for Airtest and Poco. It allows users to quickly and easily write Airtest and Poco code using its features.
4)Mobile Cluster Solution - DeviceFarm¶
DeviceFarm is an automated testing cluster solution launched by NetEase. It is a software and hardware integrated solution that includes device cluster construction, batch maintenance and management of cluster devices, monitoring alarms, and cloud-based real devices. It can help you build a stable and efficient device management platform within your enterprise, improve device utilization, and empower the construction of automated testing processes.
5)Airlab cloud-based test lab¶
Airlab cloud-based test lab supports functions such as case management, script management, task scheduling, cloud-based reporting, and more. It can quickly build the entire automated testing process for enterprises and supports regression testing and compatibility testing for iOS and Android.
2.How to get started¶
Our project is based on Python, so all the scripts written are Python code. It is recommended that you learn the basics of Python syntax before using them. For first-time users, you can read our "5-Minute Quick Start Automation Testing with Airtest+Poco" tutorial to get a quick understanding of the entire project. At the same time, we provide a series of tutorials for various usage scenarios and platforms, making it convenient for everyone to quickly understand them.
When writing automation scripts, you can use the AirtestIDE editor to quickly write scripts.
Our automation scripts, as well as Airtest and Poco, are all based on Python, so you can also use your favorite Python editor to write scripts.
3.Encounter a Problem.¶
1)Please refer to this document.¶
If you encounter any problems during the use of the project, you can directly search and refer to this document. The common problems are as follows:
Or you can directly go to our FAQ section to check out more information.
2)Check the tutorial on the official account.¶
Our official account AirtestProject provides rich Airtest project tutorials and practical examples. You are welcome to follow and consult.
3)Join the official Q&A group for communication.¶
We provide multiple official Q&A groups (Group 4: 117973773, Groups 1, 2, and 3 are already full) for colleagues to communicate. Administrators will also respond to project-related questions raised by colleagues from time to time. Colleagues are welcome to join the group for communication.
4)Report issues to the project team¶
5)Ask questions on the official website.¶
4.About this document¶
The summary of the content of each chapter of this document is as follows: - 1)Home:Project Introduction and Beginner's Guide - 2)Quick Start Tutorial:Automation Testing Tutorial for Various Platforms and Test Scenarios. - 3)AirtestIDE User Manual:Detailed instructions on how to use the AirtestIDE editor. - 4)Introduction to Airtest Scripting:An Overview of the Airtest Framework and Script Writing. - 5)Introduction to Poco Scripting:Introduction to Poco Framework and Script Writing. - 6)Common Issues and Script Examples:Common issues and solutions for using this project's products. - 7)Course Summary:A summary of the official account and blog tutorial links. - 8)Business Plan Introduction:Detailed Introduction of Netease's Automated Testing Solution - Private Cloud.