This article is from the official account of the project: “AirtestProject” Copyright notice: It is allowed to be reproduced, but the original link must be retained. Do not use it for commercial or illegal purposes

preface

I spent 5 hours sorting out the Airtest tutorial dry goods summary, hurry up first to collect later slowly look!

1. Various official tutorial documents:

1) the official tutorial document: airtest.doc.io.netease.com/

2) Airtest API documentation: Airtest. Readthedocs. IO/zh_CN/lates…

3) PoCO API documentation: poco.readthedocs. IO /zh_CN/lates…

4) Airtest official blog: juejin.cn/user/127508…

2. Various official website addresses:

1) AirtestProject website: airtest.netease.com/

2) AirtestIDE download website: airtest.netease.com/changelog.h…

3) Airtest open Source address: github.com/AirtestProj…

4) PoCO open Source address: github.com/AirtestProj…

5) Enterprise automation solutions – private cloud: airlab.163.com/b2b

3. Communicate with officials

1) Official account: AirtestProject

2) Official Q Group: 1 group 437119175 (full), 2 group 1017250147 (only a few seats left)

4. Detailed introduction of common apis

1) touch click: mp.weixin.qq.com/s/rrAgQCjGK…

Slide 2) swipe: mp.weixin.qq.com/s/EjVDlRtM9…

3) the text input: mp.weixin.qq.com/s/WyqNa9-ri…

4) keyevent daqo: mp.weixin.qq.com/s/HXZVd1uwa…

5) Some people Assert that mp.weixin.qq.com/s/DEe-Emyi0…

5. Test the framework tutorial

1) Element positioning of POCO: mp.weixin.qq.com/s/PYI-kGWZC…

2) poco commonly used API is introduced: mp.weixin.qq.com/s/PonBynNPf…

3) in the IDE using airtest-selenium:mp.weixin.qq.com/s/Fw5O8dXQ3…

4) the selenium commonly used API is introduced: mp.weixin.qq.com/s/USSITxVH9…

6. Basic knowledge course

Coordinate related

1) Airtest and poco coordinate system is introduced (absolute coordinates and relative coordinates) : mp.weixin.qq.com/s/6yu0gjCEZ…

Screenshot of the related

2) screenshots to identify failure, improve the screenshots script compatibility 01:mp.weixin.qq.com/s/M5RXb9Gts…

3) screenshots to identify failure, improve the screenshots script compatibility 02:mp.weixin.qq.com/s/lOK5lrBlm…

4) Airtest screenshots recognition algorithm is introduced: mp.weixin.qq.com/s/cGFvU9C7m…

The report related

5) reports generated, export the complete: mp.weixin.qq.com/s/NDCcs4egV…

6) using a script automatically send test report to the designated email: mp.weixin.qq.com/s/a23cKOBYU…

7) Generate and export reports from the command line: mp.weixin.qq.com/s/bc-xcCmbg…

IOS automation

8) iOS application in field of automation: mp.weixin.qq.com/s/XEqsOxIhX…

9) simulation to remove the iOS application background: mp.weixin.qq.com/s/wfXATdx_U…

The Windows automation

10) Windows automation field: mp.weixin.qq.com/s/SaBCwYHTF…

11) IDE connection Windows window related problems: mp.weixin.qq.com/s/sFdxHOXt9…

Device connection correlation

12) Introduction of various interfaces for connecting devices: mp.weixin.qq.com/s/znYi-eCif…

13) connected to the android emulator common problem: mp.weixin.qq.com/s/us4Jr9t21…

14) Case operation of connecting simulator: mp.weixin.qq.com/s/2_K4AKCfH…

Android wechat applet

Test the android WeChat applet: 15 mp.weixin.qq.com/s/R02Ac3ZC1…

7. Frequently asked questions and solutions

1) record scripts run video: mp.weixin.qq.com/s/3JsVjwikj…

2) a park ranger at Yosemite input related problems: mp.weixin.qq.com/s/LnzToiXFV…

3) IDE android little helper: mp.weixin.qq.com/s/EH0aQnr2A…

4) to simulate the sliding unlock means, such as sliding: mp.weixin.qq.com/s/JiIT0CkiY…

5) Partial screenshots and partial image search function: mp.weixin.qq.com/s/Kd_EQit9U…

6) the difference between.air scripts and.py scripts: mp.weixin.qq.com/s/-gGplycWK…

7) written in pycharm airtest script common problem: mp.weixin.qq.com/s/Ha2Oq02lk…

After 8) select poco mode can’t see the UI tree: airtest.doc.io.netease.com/IDEdocs/poc…

9) to delete the content of the input box: airtest.doc.io.netease.com/IDEdocs/faq…

10) android device connectivity issues: airtest.doc.io.netease.com/IDEdocs/dev…

11) the most frequently asked eight big problem 01) : mp.weixin.qq.com/s/Z2K1a1UyK…

12) the most common issue of eight questions 02: mp.weixin.qq.com/s/hUTNdeHuC…

13) the most frequently asked eight big issue 03: mp.weixin.qq.com/s/YcSBMA_7t…

14) the most frequently asked eight big problem 04: mp.weixin.qq.com/s/sbrnP9ZT9…

8. Advanced tutorials

1) character recognition of automated test: mp.weixin.qq.com/s/mrx2fndE9…

2) batch run: Airtest script mp.weixin.qq.com/s/1YlUuiQCm…

3) machine more collaborative field case: mp.weixin.qq.com/s/8q9IoFYvh…

4) from 0 to 1 packaging projects and access pocosdk:mp.weixin.qq.com/s/hhukqYAfj…

5) to improve the efficiency of the tree traversal pocoUI: mp.weixin.qq.com/s/O5ckgX_cv…

6) how to modify the Airtest source: mp.weixin.qq.com/s/PnZBFrFW8…

9. Automated test cases (including scripts)

1) login and exit the APP automation: mp.weixin.qq.com/s/7HkMHbk2C…

2) loop execution of the script in field case: mp.weixin.qq.com/s/u8HikcgDD…

3) invoke other scripts in field case: mp.weixin.qq.com/s/4RsrAhEut…

4) Use Airtest to do the practice of crawler case: mp.weixin.qq.com/s/-Agd4uC2i…


Airtest website: airtest.netease.com/ Airtest tutorial website: airtest.doc.io.netease.com/ build enterprise private cloud service: airlab.163.com/b2b

Airtest official Q group: 1017250147