UI Automation Framework for Games and Apps
APACHE-2.0 License
Bot releases are visible (Hide)
Published by yimelia over 4 years ago
Published by yimelia almost 5 years ago
接口:
airtest.__version__
用来查看airtest当前版本号,也可以运行命令行airtest version
查看log(string_msg)
log(Exception)
, log(title, string_error)
报告:
airtest run ... --compress quality
import airtest.core.api import *
ST.SNAPSHOT_QUALITY = xxx # [1, 99]
snapshot(quality=my_quality)
rpt = LogToHtml("test_bj.air", "log", export_dir="export", plugins=["poco.utils.airtest.report"])
rpt.report()
windows:
Android:
use ADB orientation
也能连接模拟器了Interface:
airtest .__ version__
to view the current version of airtest. You can also run the command line airtest version
to view it.log()
interface can now better display errors or information in reports
log (string_msg)
log (Exception)
, log (title, string_error)
Report:
airtest run ... --compress quality
import airtest.core.api import *
ST.SNAPSHOT_QUALITY = xxx # [1, 99]
snapshot (quality = my_quality)
rpt = LogToHtml("test_bj.air", "log", export_dir="export", plugins=["poco.utils.airtest.report"])
rpt.report()
Windows:
Android:
use ADB orientation