From 39b11dcf186f7df0c87776848f7f943c5770dc83 Mon Sep 17 00:00:00 2001
From: luqiong <605601787@qq.com>
Date: Wed, 3 Sep 2014 18:11:49 +0800
Subject: [PATCH] remove recordScript bugs
---
.../webapp/WEB-INF/classes/i18n_en.properties | 5 +--
.../webapp/WEB-INF/classes/i18n_zh.properties | 5 +--
.../src/main/webapp/i18n/i18n.properties | 4 +-
.../main/webapp/i18n/i18n_zh-CN.properties | 4 +-
Bench4Q-Web/src/main/webapp/script.jsp | 4 +-
.../script/RecordScript/RecordScriptServer.js | 41 ++++++++++++-------
.../script/RecordScript/RecordScriptUI.js | 9 +++-
7 files changed, 41 insertions(+), 31 deletions(-)
diff --git a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties
index dad8f3b1..24a6c888 100644
--- a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties
+++ b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties
@@ -39,7 +39,6 @@ agentManage_jsp_addAgent=Add Agent
portManage_jsp_addPort=Add Port
configuredmessage=Here settings can be configured
startserver=Start Server
-stoprecording=Stop Recording
savefile=Save File
editscript=Edit Script
savechanges=Save
@@ -200,9 +199,7 @@ edit=Edit
script-submitScript=Submit Script
test-editScript=Edit Script
test-iptip=Please input right ip address
-filterStatic=Filter Static Resources
filterTime=Filter Think Time
-staticTip=The static resources contains:js,css,jpeg,gif,png files.
timeTipe=The Think time refers the time between tow behaviors.
startServer=start server to generate a script or upload a script to server
testExecuteTime=Execute Time
@@ -211,4 +208,4 @@ stopTestPlan=Stop Test
stop=Stop
testProxySettings=testProxySettings
startRecording=startRecording
-startrecording=start recording to generate a script or upload a script to server
\ No newline at end of file
+stopRecording=Stop Recording
\ No newline at end of file
diff --git a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties
index c201880c..6f02cafe 100644
--- a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties
+++ b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties
@@ -39,7 +39,6 @@ agentManage_jsp_addAgent=\u6DFB\u52A0\u4EE3\u7406
portManage_jsp_addPort=\u6DFB\u52A0\u7AEF\u53E3
configuredmessage=\u5728\u8FD9\u91CC\u53EF\u4EE5\u914D\u7F6E
startserver=\u542F\u52A8\u670D\u52A1\u5668
-stoprecording=\u505C\u6B62\u5f55\u5236
savefile=\u4FDD\u5B58\u6587\u4EF6
editscript=\u7F16\u8F91\u811A\u672C
savechanges=\u4FDD\u5B58
@@ -202,9 +201,7 @@ edit=\u7F16\u8F91
script-submitScript=\u4FDD\u5B58\u811A\u672C
test-editScript=\u7F16\u8F91\u811A\u672C
test-iptip=\u8BF7\u8F93\u5165\u6B63\u786E\u7684IP\u5730\u5740
-filterStatic=\u8FC7\u6EE4\u9759\u6001\u8D44\u6E90
filterTime=\u8FC7\u6EE4\u601D\u8003\u65F6\u95F4
-staticTip=\u9759\u6001\u8D44\u6E90\u4E3B\u8981\u662F\u6307:js,css,jpeg,gif,png\u6587\u4EF6\u3002
timeTip=\u601D\u8003\u65F6\u95F4\u6307\u7684\u662F\u7528\u6237\u4E24\u4E2A\u8FDE\u7EED\u884C\u4E3A\u4E4B\u95F4\u7684\u95F4\u9694\u65F6\u95F4
startServer=\u70B9\u51FB\u542F\u52A8\u670D\u52A1\u5F55\u5236\u811A\u672C\u6216\u8005\u4E0A\u4F20\u811A\u672C\u6587\u4EF6
testExecuteTime=\u6267\u884C\u65F6\u95F4
@@ -212,4 +209,4 @@ stopTestPlan=\u505C\u6B62\u6D4B\u8BD5
stop=\u505C\u6B62
testProxySettings=\u6d4b\u8bd5Proxy\u8bbe\u7f6e
startRecording=\u5f00\u59cb\u5f55\u5236
-startrecording=\u70b9\u51fb\u5f00\u59cb\u5f55\u5236\u5f55\u5236\u811a\u672c
\ No newline at end of file
+stopRecording=\u505C\u6B62\u5f55\u5236
\ No newline at end of file
diff --git a/Bench4Q-Web/src/main/webapp/i18n/i18n.properties b/Bench4Q-Web/src/main/webapp/i18n/i18n.properties
index ff593055..92cd2c75 100644
--- a/Bench4Q-Web/src/main/webapp/i18n/i18n.properties
+++ b/Bench4Q-Web/src/main/webapp/i18n/i18n.properties
@@ -46,5 +46,5 @@ saveScriptSuccess=Save successfully.
saveScriptFail=Fail to save script.
plugin_jsp_addPage=Add Page
stopTestPlan_fail=Stop running test plan fail
-RecordingScript=Recording Script
-stoprecord=click stop script recording to stop recording script
\ No newline at end of file
+startRecordingMessage=Please click start recording
+stopRecordingMessage=Please click stop recording
\ No newline at end of file
diff --git a/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties b/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties
index 3b513f41..74add6c3 100644
--- a/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties
+++ b/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties
@@ -42,5 +42,5 @@ saveScriptSuccess=\u4FDD\u5B58\u6210\u529F\u3002
saveScriptFail=\u4FDD\u5B58\u811A\u672C\u5931\u8D25
plugin_jsp_addPage=\u52A0\u9875
stopTestPlan_fail=\u505C\u6B62\u8FD0\u884C\u6D4B\u8BD5\u8BA1\u5212\u5931\u8D25
-RecordingScript=\u6b63\u5728\u5f55\u5236\u811a\u672c
-stoprecord=\u70b9\u51fb\u505c\u6b62\u5f55\u5236\u505c\u6b62\u5f55\u5236\u811a\u672c
\ No newline at end of file
+startRecordingMessage=\u8bf7\u70b9\u51fb\u5f00\u59cb\u5f55\u5236
+stopRecordingMessage=\u8bf7\u70b9\u51fb\u505c\u6b62\u5f55\u5236
\ No newline at end of file
diff --git a/Bench4Q-Web/src/main/webapp/script.jsp b/Bench4Q-Web/src/main/webapp/script.jsp
index 986aebbd..79ce3003 100644
--- a/Bench4Q-Web/src/main/webapp/script.jsp
+++ b/Bench4Q-Web/src/main/webapp/script.jsp
@@ -204,8 +204,8 @@ body {