6 Star 7 Fork 1

Gitee 极速下载 / UI-Recorder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/alibaba/uirecorder
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

UI Recorder


logo.png

NPM version License NPM count NPM count TesterHome

UI Recorder 是一款面向多端的 UI 自动化录制工具,类似于Selenium IDE 但比Selenium IDE 更加强大!

UI Recorder 非常简单易用,零成本解决测试回归问题。

  1. 官方网站: https://www.yuque.com/artist/uirecorder
  2. 语言切换: English, 中文
  3. 变更日志: CHANGE
  4. 视频教程:PC中文教程
  5. 钉钉交流群:30684524(加入验证:UIRecorder录制),下载钉钉:https://www.dingtalk.com/
  6. 最新中文手册:语雀文档Github Page

功能

  1. 支持所有用户行为: 键盘事件, 鼠标事件, alert, 文件上传, 拖放, svg, shadow dom
  2. 全平台支持,移动端 Android, iOS 录制, 基于 Macaca 实现
  3. 无干扰录制: 和正常测试无任何区别,无需任何交互
  4. 录制用例存储在本地
  5. 支持丰富的断言类型: val,text,displayed,enabled,selected,attr,css,url,title,cookie,localStorage,sessionStorage
  6. 支持图片对比
  7. 支持强大的变量字符串
  8. 支持公共测试用例: 允许用例中动态调用另外一个
  9. 支持并发测试
  10. 支持多国语言: 英文, 简体中文, 繁体中文
  11. 支持单步截图
  12. 支持HTML报告和JUnit报告
  13. 全系统支持: Windows, Mac, Linux
  14. 基于Nodejs的测试用例: jWebDriver

软件截图

shot1

shot2

shot3

shot4

视频演示

video1

video2

快速开始

安装

  1. 安装 NodeJs (版本号 >= v7.x)

    https://nodejs.org/

    sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} (Mac, Linux)

  2. 安装 chrome

    https://www.google.com/chrome/

  3. 安装 UI Recorder

    npm install uirecorder mocha -g

PC录制

  1. 初始化测试工程

    创建新文件夹

    uirecorder init

  2. 开始录制测试用例

    修改hosts文件

    uirecorder sample/test.spec.js

  3. 启动WebDriver服务器

  4. 运行测试用例

    运行所有脚本: source run.sh ( Linux|Mac ) 或 run.bat ( Windows )

    运行单个脚本: source run.sh sample/test.spec.js ( Linux|Mac ) 或 run.bat sample/test.spec.js ( Windows )

  5. 获得测试报告和单步截图

    ./reports/index.html

    ./reports/index.xml (JUnit)

    ./reports/index.json

    ./screenshots/

更多平台

Macaca

  1. 安装并且启动macaca server:

    安装 Macaca

    连接你的手机或模拟器

    macaca server --port 4444

  2. 初始化测试工程

    创建新文件夹

    uirecorder init --mobile

  3. 开始录制测试用例

    uirecorder --mobile sample/test.spec.js

  4. 运行测试用例

    运行所有脚本: source run.sh ( Linux|Mac ) 或 run.bat ( Windows )

    运行单个脚本: source run.sh sample/test.spec.js ( Linux|Mac ) 或 run.bat sample/test.spec.js ( Windows )

  5. 获得测试报告和单步截图

    ./reports/index.html

    ./reports/index.xml (JUnit)

    ./reports/index.json

    ./screenshots/

文档翻译

  1. 中文使用手册

License

UIRecorder is released under the MIT license.

感谢

MIT License Copyright (c) 2016 - 2017 Alibaba Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
JavaScript 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors/UI-Recorder.git
git@gitee.com:mirrors/UI-Recorder.git
mirrors
UI-Recorder
UI-Recorder
master

搜索帮助