Skip to content

Preface

Preface

Can't find the content you need among all these tutorials? Don't worry, we've made a collection of the most useful toturials in [Pack of Articles]. Check out if there's anything you need!

1.Official tutorials and documents:

1) Official tutorials: https://airtest.doc.io.netease.com/ 2) Airtest API documents: https://airtest.readthedocs.io/zh_CN/latest/ 3) Poco API documents: https://poco.readthedocs.io/zh_CN/latest/index.html 4) Airtest Official blog: https://juejin.im/user/1275089221067928

2.14-day Airtest Automated Testing Course for Beginners (Video)

1) Airtest Project and beginner's course overview: https://www.bilibili.com/video/BV1754y1L7zP/ 2) Basic knowledge on software testing: https://www.bilibili.com/video/BV15f4y1Y7tR/ 3) Introduction to AirtestIDE: https://www.bilibili.com/video/BV1CB4y1F7L2/ 4) Connecting Android devices or emulators: https://www.bilibili.com/video/BV1dK4y1A7pm/ 5) Connecting iOS devices: https://www.bilibili.com/video/BV1qf4y1h7o1/ 6) Connecting Windows interface: https://www.bilibili.com/video/BV1G5411g7yY/ 7) Write and run your first Airtest script: https://www.bilibili.com/video/BV1Nh411e7AU/ 8) Write and run your first Poco script: https://www.bilibili.com/video/BV1P64y1R7a2/ 9) Use airtest-selenium to run web automated testing: https://www.bilibili.com/video/BV1Lo4y1y7yy/ 10) Write/Run scripts without AirtestIDE: https://www.bilibili.com/video/BV1bQ4y197Fn/ 11) Connecting Poco-SDK to unity games: https://www.bilibili.com/video/BV1SV411s7P7/ 12) Case - Testing NetEase Cloud Music and crawl data from it: https://www.bilibili.com/video/BV1Tw411o7Lf/ 13) Large-scale automated testing solutions for enterprise: https://www.bilibili.com/video/BV1U64y147Qu/ 14) Ending: https://www.bilibili.com/video/BV1xb4y1678D/

3.Official sites:

1) Airtest Project: http://airtest.netease.com/ 2) Download AirtestIDE: http://airtest.netease.com/changelog.html 3) Airtest open source: https://github.com/AirtestProject/Airtest 4) Poco open source: https://github.com/AirtestProject/Poco/ 5) Automated solution for enterprise - Private Cloud: https://airlab.163.com/b2b

4.Contact us

1) Official Account: AirtestProject 2) Official group chat (QQ): 437119175 (full), 1017250147 (full), 654700783 (full), 117973773

Airtest官方讨论4群群聊二维码

3) Feedback website: https://airtest.netease.com/issue_create (You can send any problems and bugs you find or your advice for Airtest here)

5.Common API introduction

1) Touch: https://mp.weixin.qq.com/s/rrAgQCjGKZs2pzgzG496HA 2) Swipe: https://mp.weixin.qq.com/s/EjVDlRtM99EW_Uw7M0dQ-Q 3) Text input: https://mp.weixin.qq.com/s/WyqNa9-riLIpzEBEemT2GQ 4) Keyevent: https://mp.weixin.qq.com/s/HXZVd1uwaOd9gt7IVBGNDQ 5) Assert: https://mp.weixin.qq.com/s/DEe-Emyi0hN0JZA83i1Wmg

6.Testing framework tutorials

Airtest

1) A long beginner's guide for Airtest: https://mp.weixin.qq.com/s/SxK1qsweRKe0BVNU0XrTbw 2) Airtest API introduction and examples (first half): https://mp.weixin.qq.com/s/2_BKQldtDTRZRZFhHiee3Q 3) Airtest API introduction and examples (second half): https://mp.weixin.qq.com/s/DrIG0eE0KJT608CKWOPZIg

Poco

1) Locating element in Poco (3 selectors): https://mp.weixin.qq.com/s/PYI-kGWZCpoaxe2Tmw5d5Q 2) Use regular expression to match Poco widget: https://mp.weixin.qq.com/s/vqCfSTTw61mviAoIEJP_BA 3) Regular Poco API: https://mp.weixin.qq.com/s/PonBynNPfLqaWzp2oc689Q 4) Common problems when connecting projects to Poco-SDK: https://mp.weixin.qq.com/s/MKI9MJlNeVvMwIkfZcVqsQ 5) Multi Poco initialization tutorials: https://mp.weixin.qq.com/s/30hmAkz7LpssydzW3Jb0Mg 6) Generate efficient and compatible script: https://mp.weixin.qq.com/s/_cehGEZ78b8b0MHEkddw2A

Airtest-selenium

1) Using Airtest-selenium in IDE: https://mp.weixin.qq.com/s/Fw5O8dXQ3bAX8UoyWuW9Lw 2) Regular Selenium API: https://mp.weixin.qq.com/s/USSITxVH9ebueyIfSPhbSw

7.Basic knowledge

Coordinate related 1) Introduction to Airtest and Poco coordinate system (absolute coordinates and relative coordinates): https://mp.weixin.qq.com/s/6yu0gjCEZQ_x6NwEY_rBjQ Screenshot related 1) Screenshot recognition failure and improving screenshot script compatibility 01: https://mp.weixin.qq.com/s/M5RXb9Gts_nMGHODovjQew 2) Screenshot recognition failure and improving screenshot script compatibility 02: https://mp.weixin.qq.com/s/lOK5lrBlmd6CGAleCZ1KwA 3) Airtest screenshot recognition algorithm: https://mp.weixin.qq.com/s/cGFvU9C7mBpsmnWgDLPW5A 4) New screenshot recognition algorithm (mstpl): https://mp.weixin.qq.com/s/xjS-SPgmt6emmUM74lvQew ADB related 1) How to pack ADB with Airtest: https://mp.weixin.qq.com/s/ULSsfVADTG2WlbncErbbFQ AirtestIDE related 1) Useful techniques in AirtestIDE: https://mp.weixin.qq.com/s/cNUKavYyy-JeErDVqQe86A Report related 1) Generate and export report: https://mp.weixin.qq.com/s/NDCcs4egVFe4Bngg_qjfjA 2) Send reports to designated E-mail using script: https://mp.weixin.qq.com/s/a23cKOBYU9jOcw6VSEcBRg 3) Generate and export reports using command line: https://mp.weixin.qq.com/s/bc-xcCmbgHLKP9cMdhS97g 4) Customize Airtest report name: https://mp.weixin.qq.com/s/-r4km9i7mvhmqOuGDU09JQ iOS automation 1) iOS automation case: https://mp.weixin.qq.com/s/XEqsOxIhXGjpGhUzCe4RXw 2) Clear iOS background apps (simulated): https://mp.weixin.qq.com/s/wfXATdx_U5gpwIQcSQHe2g 3) Use tidevice to run automated tests on iOS without Mac: https://mp.weixin.qq.com/s/rAy4fB5MOCFC48o5pYK9pA 4) iOS information acquisition case: https://mp.weixin.qq.com/s/I1_EHyNE3kWvYgptOG6cCA 5) iOS exclusive API (Including processing pop-up window API): https://mp.weixin.qq.com/s/jQjdum6mHKchCf933LSHSg Windows automation 1) Windows automation case: https://mp.weixin.qq.com/s/SaBCwYHTF8mnNLjBlnzt7w 2) Problems when connecting IDE with Windows interface: https://mp.weixin.qq.com/s/sFdxHOXt9nIM326pnK0UGw 3) Using Python to simulate mouse and keyboard: https://mp.weixin.qq.com/s/8_QNOAush9jE5sfm8RLCTA Connecting devices 1) Device connection API: https://mp.weixin.qq.com/s/znYi-eCifeMXfce9GDpW-w 2) Common problems when connecting Android emulator: https://mp.weixin.qq.com/s/us4Jr9t21nNyKs-bGD9yyg 3) Emulator connection case: https://mp.weixin.qq.com/s/2_K4AKCfHQ59wgedXZ23wA 4) Check port number of multiple emulators: https://mp.weixin.qq.com/s/dt8intXeelLLe0eSctCH3A Android WeChat mini program 1) Testing Android WeChat mini program (may become invaild after Wechat update): https://mp.weixin.qq.com/s/R02Ac3ZC1B_ND7QVik_Z8Q

8.Common problems and solutions

1) Pocoservice frequent reboot: https://mp.weixin.qq.com/s/_3GeT89Ok1S1hBJWVoPIhA 2) Touch does not take effect: https://mp.weixin.qq.com/s/2dieUfDIDsEQZnd37FSVDA 3) Airtest and Poco API that can be confusing: https://mp.weixin.qq.com/s/5SPP2IttKvnzq0ApZcoRzw 4) Python import guide: https://mp.weixin.qq.com/s/aByXx9svkzIPe8EqSxlI_g 5) Record videos for running scripts: https://mp.weixin.qq.com/s/3JsVjwikjo4OmtcjvmktRw 6) Yosemite related issues: https://mp.weixin.qq.com/s/LnzToiXFVcfkeOGz8Vz9Pw 7) IDE Android Helper: https://mp.weixin.qq.com/s/EH0aQnr2AwG0MmFdgoE7mw 8) Simulated swipe unlock, multi finger swipe, etc.: https://mp.weixin.qq.com/s/JiIT0CkiY7zcdqUo-AI0GQ 9) Partial screenshot and partial image search: https://mp.weixin.qq.com/s/Kd_EQit9UG5CLxw-EHM1Uw 10) Differences between .air script and .py script: https://mp.weixin.qq.com/s/-gGplycWKAsJ6Os3XQFARA 11) Common problems when writing Airtest script using Pycharm: https://mp.weixin.qq.com/s/Ha2Oq02lkDmMokwPxFpN6A 12) Can't see the UI element tree in Poco mode: https://airtest.doc.io.netease.com/IDEdocs/faq/2_common%20problems/#6ui 13) Deleting content in the input box: https://airtest.doc.io.netease.com/IDEdocs/faq/1_code_examples/#4 14) Android device connection issues: https://airtest.doc.io.netease.com/IDEdocs/3.2device_connection/3_android_faq/ 15) 8 common problems (session 1): https://mp.weixin.qq.com/s/Z2K1a1UyKUhjqVnhMCN0CQ 16) 8 common problems (session 2): https://mp.weixin.qq.com/s/hUTNdeHuCre52DUUrQbJsQ 17) 8 common problems (session 3): https://mp.weixin.qq.com/s/YcSBMA_7tkImoEYCK7UyUQ 18) 8 common problems (session 4): https://mp.weixin.qq.com/s/sbrnP9ZT9aXBdM37K5M9LA 19) Airtest quick Q&A (session 1): https://mp.weixin.qq.com/s/R_1jtOC9lsXJnqXS6xZnsw 20) Airtest quick Q&A (session 2): https://mp.weixin.qq.com/s/ZXW1OY-oqatx3u5xVvyZdA

9.Advanced guide

1) Automated testing text recognition: https://mp.weixin.qq.com/s/mrx2fndE9t_477yViZrpRA 2) Batch run Airtest scripts: https://mp.weixin.qq.com/s/1YlUuiQCmMGb5_64S-si3Q 3) Multi device cooperation case: https://mp.weixin.qq.com/s/8q9IoFYvhGe1v6ow74Bfmg 4) Pack project and connect to PocoSDK: https://mp.weixin.qq.com/s/hhukqYAfjQ_dsQ06KC3A0g 5) Efficiency increase for traversing UI element tree: https://mp.weixin.qq.com/s/O5ckgX_cvOp6RQqSwYaxKg 6) How to modify Airtest source code: https://mp.weixin.qq.com/s/PnZBFrFW8f_Bn6v228fVSQ 7) Rerun case using decorators: https://mp.weixin.qq.com/s/PnZBFrFW8f_Bn6v228fVSQ 8) Use multithreading to input code during packing: https://mp.weixin.qq.com/s/zZJJM8-3If9-f4kP5IAx8w 9) Simulate complicated swipe/multi finger operations: https://mp.weixin.qq.com/s/_2hcQivHaw1vlzo4yapSbA 10) Use launcher to and customized command line arguments: https://mp.weixin.qq.com/s/rZK39kMbYz5jylV38Oz79A 11) Use launcher to add customized variable: https://mp.weixin.qq.com/s/0beP_IB5ytma1dYd2AQrew 12) Data sepeartion examples in Poco automated testing: https://mp.weixin.qq.com/s/9Nyu4hjXR7jhN3TP34GC3A 13) Cases of the combination of Poco and Excel reading and writing: https://mp.weixin.qq.com/s/nAsWIuxun4ZaFGsioeOAUA 14) Use plugins to customize reports: https://mp.weixin.qq.com/s/nW0BRb-hJ8dZy0pXTeK4OA

10.Automated testing cases (script included)

1) Automated login and logout for apps: https://mp.weixin.qq.com/s/7HkMHbk2CgNo_PKtB-MmKg 2) Loop script cases: https://mp.weixin.qq.com/s/u8HikcgDDrvPrAbiDwA7ZQ 3) Cases of calling other scripts: https://mp.weixin.qq.com/s/4RsrAhEutK7MOqVqWr_iyQ 4) Cases of using Airtest to do Python: https://mp.weixin.qq.com/s/-Agd4uC2irXwDTf77arSDA