官網教材:新手入門見(官網教材)
http://airtest.netease.com/docs/cn/index.html
https://testerhome.com/topics/12486
https://testerhome.com/topics/17892 (入門教程詳細講解)
airtest_project 項目demo:https://github.com/dreamhighqiu/airtest_project

項目結構如圖所示:

腳本如下:
- 實現了多case同時運行生成聚合報告
- 不同設備運行同一腳本
腳本執行方法:(安裝的python3環境)
進入到項目的根目錄:python3 runner.py F:\airtest_project\air_case
執行腳本之后,log文件夾多出xx.air生成的日志內容:
生成報告命令:python3 report.py F:\airtest_project\air_case\log
執行生成報告腳本之后,生成聚合報告summary.html:
聚合報告summary.html,內容如下,可進入對應的xx.air腳本對應的文件名,查看執行結果







