测试 自动化测试工具— Appium

阅读(5124)

Appium 是一个用于Native、Hybrid、Web APP的开源的自动化测试框架,它使用 WebDriver 协议来驱动 iOS、Android、Windows应用。

Appium 读音:['æpɪəm] 。

Appium 的设计哲学:

  • 无需因自动化测试而重新编辑或修改原APP(无侵入)
  • 不限制程序语言和框架
  • 不应在接口上重复造轮子(使用通用测试接口)
  • 应当开源

为实现上述设计哲学,Appium 以 WebDriver 的标准形式,封装了各系统自带的自动化测试框架,具体包含:

WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behavior of web browsers.

WebDriver 是一套控制和操作浏览器的远程控制接口,通过 RESTful 形式组织的 HTTP 协议,以 JSON 作为数据载体实现C/S模式通信。如可通过GET /session/{session id}/screenshot 获取截屏。WebDriver 定义的端操作列表见 https://www.w3.org/TR/webdriver/#list-of-endpoints

划重点:无代码侵入跨平台标准API

以上为简介,有兴趣和需求可进一步了解。

Refer: