Skip to content

zlgopen/awtk-ui-automation

Repository files navigation

awtk-ui-automation

AWTK 自动化测试引擎,兼容 appium 接口,轻松实现 UI 全自动化测试。

准备

  1. 获取 awtk 并编译
git clone https://github.com/zlgopen/awtk.git
cd awtk; scons; cd -
  1. 获取 awtk-restful-httpd 并编译
git clone https://github.com/zlgopen/awtk-restful-httpd.git
cd awtk-restful-httpd; scons; cd -
  1. 获取 awtk-ui-automation 并编译
git clone https://github.com/zlgopen/awtk-ui-automation.git
cd awtk-ui-automation; scons

运行

考虑到 github 的下载速度,生成的临时资源没放到 git 中,需要自己生成资源:

./scripts/update_res.py all
    1. 启动Appium-desktop
    1. 运行测试
cd uitests
npm run test

文档