- 授权协议: Apache-2.0
- 开发语言: C/C++ Python
- 操作系统: 跨平台
- 软件首页: http://airtest.netease.com/
- 软件文档: http://airtest.netease.com/docs/docs_AirtestIDE-zh_CN/index.html
软件介绍
Airtest是一个跨平台的UI自动化测试框架,适用于游戏和App。目前支持Windows和Android平台,iOS支持正在开发中。
Airtest提供了跨平台的API,包括安装应用、模拟输入、断言等。 基于图像识别技术定位UI元素,你无需嵌入任何代码即可进行自动化测试。 测试脚本运行后可以自动生成详细的HTML测试报告,让你迅速定位失败的测试点。
AirtestIDE 是一个强大的GUI工具,可以帮助你录制和调试测试脚本。AirtestIDE给QA人员提供了完整的工作流程支持:录制脚本->真机回放->生成报告
示例代码
from airtest.core.api import *
# 通过ADB连接本地Android设备
connect_device("Android:///")
install("path/to/your/apk")
start_app("package_name_of_your_apk")
touch("image_of_a_button.png")
swipe("slide_start.png", "slide_end.png")
assert_exists("success.png")
keyevent("BACK")
home()
uninstall("package_name_of_your_apk")更详细的说明请看 Airtest Python API 文档或者直接看 API 代码 。
Lean Analytics
Alistair Croll、Benjamin Yoskovitz / O'Reilly Media / 2013-3-18 / USD 29.99
If you're involved with a startup, analytics help you find your way to the right product and market before the money runs out. But with a flood of information available, where do you start? This book ......一起来看看 《Lean Analytics》 这本书的介绍吧!
