Skip to content

Commit

Permalink
1. Fix: fix continue record issue when json file is missing
Browse files Browse the repository at this point in the history
2. Remove: remove runtime
3. Update: support new version of macaca
4. Add: support new feature for mobile record: sleep, text, back, alert, expect, end
5. Add: support ios real device
6. Add: support download app file from url
7. Add: support continue record for mobile
  • Loading branch information
itestauipi committed Mar 6, 2017
1 parent 1aec6fc commit 899aa44
Show file tree
Hide file tree
Showing 22 changed files with 788 additions and 187 deletions.
10 changes: 10 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
UI Recorder change log
====================

## ver 2.4.0 (2017-3-6)

1. Fix: fix continue record issue when json file is missing
2. Remove: remove runtime
3. Update: support new version of macaca
4. Add: support new feature for mobile record: sleep, text, back, alert, expect, end
5. Add: support ios real device
6. Add: support download app file from url
7. Add: support continue record for mobile

## ver 2.3.32 (2017-2-17)

1. Fix: fix continue record issue
Expand Down
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ Features
10. Support screenshots after each step
11. Support HTML report & JUnit report
12. Support systems: windows, mac, linux
13. Support mutli runtime test, such as: devtest, pretest
14. Test file base on NodeJs: [jWebDriver](http://jwebdriver.com/)
13. Test file base on NodeJs: [jWebDriver](http://jwebdriver.com/)

Screenshots
================
Expand Down Expand Up @@ -178,14 +177,6 @@ How to dock Jenkins?
> [HTML](https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin): `reports/index.html`
How to switch runtime?
----------------

1. `export runtime=dev` ( Linux|Mac ) or `set runtime=dev` ( Window )
2. `uirecorder init` (saved to `config-dev.json`, `hosts-dev`)
3. `uirecorder start` (read from `config-dev.json`, `hosts-dev`)
4. `source run.sh` or `run.bat` (read from `config-dev.json`, `hosts-dev`)

How to filter unstable path
----------------

Expand Down
10 changes: 1 addition & 9 deletions README_zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ UI Recorder 非常简单易用.
2. 语言切换: [English](https://github.com/alibaba/uirecorder/blob/master/README.md), [简体中文](https://github.com/alibaba/uirecorder/blob/master/README_zh-cn.md), [繁體中文](https://github.com/alibaba/uirecorder/blob/master/README_zh-tw.md)
3. 变更日志: [CHANGE](https://github.com/alibaba/uirecorder/blob/master/CHANGE.md)
4. 视频教程:[PC中文教程](http://v.youku.com/v_show/id_XMTY4NTk5NjI4MA==.html)
5. QQ交流群:416221937(加入验证:UIRecorder录制)
5. 钉钉交流群:11779932(加入验证:UIRecorder录制),下载钉钉:[https://www.dingtalk.com/](https://www.dingtalk.com/)

功能
================
Expand Down Expand Up @@ -187,14 +187,6 @@ QA
nvm install v6.9.5
npm install --registry=https://registry.npm.taobao.org

如何切换runtime运行时环境?
----------------

1. `export runtime=dev` ( Linux|Mac ) 或者 `set runtime=dev` ( Window )
2. `uirecorder init` (保存到`config-dev.json`, `hosts-dev`)
3. `uirecorder start` (从`config-dev.json`, `hosts-dev`读取)
4. `source run.sh` 或者 `run.bat` (从`config-dev.json`, `hosts-dev`读取)

如何过滤不稳定的PATH路径?
----------------

Expand Down
10 changes: 1 addition & 9 deletions README_zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ UI Recorder 非常簡單易用.
2. 語言切換: [English](https://github.com/alibaba/uirecorder/blob/master/README.md), [簡體中文](https://github.com/alibaba/uirecorder/blob/master/README_zh-cn.md), [繁體中文](https://github.com/alibaba/uirecorder/blob/master/README_zh-tw.md)
3. 變更日誌: [CHANGE](https://github.com/alibaba/uirecorder/blob/master/CHANGE.md)
4. 視頻教程:[PC中文教程](http://v.youku.com/v_show/id_XMTY4NTk5NjI4MA==.html)
5. QQ交流群:416221937(加入驗證:UIRecorder錄制)
5. 釘釘交流群:11779932(加入驗證:UIRecorder錄制),下載釘釘:[https://www.dingtalk.com/](https://www.dingtalk.com/)

功能
================
Expand Down Expand Up @@ -187,14 +187,6 @@ QA
nvm install v6.9.5
npm install --registry=https://registry.npm.taobao.org

如何切換runtime運行時環境?
----------------

1. `export runtime=dev` ( Linux|Mac ) 或者 `set runtime=dev` ( Window )
2. `uirecorder init` (保存到`config-dev.json`, `hosts-dev`)
3. `uirecorder start` (從`config-dev.json`, `hosts-dev`讀取)
4. `source run.sh` 或者 `run.bat` (從`config-dev.json`, `hosts-dev`讀取)

如何過濾不穩定的PATH路徑?
----------------

Expand Down
Binary file added chrome-extension/img/alert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added chrome-extension/img/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified chrome-extension/img/end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added chrome-extension/img/text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 22 additions & 1 deletion chrome-extension/js/foreground.js
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,7 @@
});
// 对话框
var divDomDialog = document.createElement("div");
var isShowDialog = false;
var okCallback = null;
var cancelCallback = null;
divDomDialog.id = 'uirecorder-dialog';
Expand Down Expand Up @@ -1766,13 +1767,33 @@
break;
}
});
divDomDialog.addEventListener('keyup', function(event){
var keyCode = event.keyCode;
switch(keyCode){
case 13:
okCallback();
break;
}
});
document.addEventListener('keyup', function(event){
var keyCode = event.keyCode;
switch(keyCode){
case 27:
if(isShowDialog){
hideDialog();
cancelCallback && cancelCallback();
}
break;
}
}, true);
// 显示对话框
function showDialog(title, content, events){
domDialogTitle.innerHTML = title;
domDialogContent.innerHTML = content;
okCallback = events.onOk;
cancelCallback = events.onCancel;
divDomDialog.style.display = 'block';
isShowDialog = true;
var onInit = events.onInit;
if(onInit){
onInit();
Expand All @@ -1788,6 +1809,7 @@
domDialogTitle.innerHTML = '';
domDialogContent.innerHTML = '';
divDomDialog.style.display = 'none';
isShowDialog = false;
}
function showExpectDailog(expectTarget, callback){
var arrHtmls = [
Expand Down Expand Up @@ -2137,7 +2159,6 @@
domSleepTime.focus();
alert('dialog_sleep_time_tip');
}

},
onCancel: function(){
setGlobalWorkMode('record');
Expand Down
Loading

0 comments on commit 899aa44

Please sign in to comment.