airtest-python连接airtest及生产报告

1、安装Airtest库

  pip install airtest --index-url https://pypi.douban.com/simple

2、安装poco

  pip install pocoui --index-url https://pypi.douban.com/simple

3、命令行运行脚本及查看日志

  airtest runner 脚本名称.air --device android://127.0.0.1:5037/devicename(手机名) --log log路径

4、生产报告

  airtest report 脚本名称.air --log_root log路径 --outfile report.html(报告路径) --lang zh

 

posted on 2021-11-17 10:50  长征中的蜗牛  阅读(88)  评论(0编辑  收藏  举报