Commit c98c375ee5ccd5da4731eb8ec0655a2fb266fe4b
1 parent
60b8852f
all
Showing
277 changed files
with
7303 additions
and
2072 deletions
Show diff stats
Log/20180404_171835.log deleted
Log/20180404_172707.log deleted
... | ... | @@ -1,28 +0,0 @@ |
1 | -2018-04-04 17:27:07.424 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 17:27:07.439 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 17:27:07.439 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 17:27:18.932 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 17:27:20.474 INFO: 窗口最大化 | |
6 | -2018-04-04 17:27:25.129 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 17:27:25.154 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 17:27:25.626 INFO: 清除文本框中已有字符: //*[@id='username']] | |
9 | -2018-04-04 17:27:25.887 INFO: 输入的字符是:admin | |
10 | -2018-04-04 17:27:26.000 INFO: 清除文本框中已有字符: //*[@id='password']] | |
11 | -2018-04-04 17:27:26.154 INFO: 输入的字符是:essa123 | |
12 | -2018-04-04 17:27:34.439 ERROR: 1. | |
13 | -2018-04-04 17:27:34.837 INFO: 点击元素: //*[text()='供应商管理']] | |
14 | -2018-04-04 17:27:39.876 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*/a[contains(text(),'平台运营跟进管理')]"} | |
15 | - (Session info: chrome=65.0.3325.181) | |
16 | - (Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information) | |
17 | -Command duration or timeout: 5.02 seconds | |
18 | -For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html | |
19 | -Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50' | |
20 | -System info: host: 'DESKTOP-NIGE62D', ip: '10.0.2.15', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144' | |
21 | -Driver info: org.openqa.selenium.chrome.ChromeDriver | |
22 | -Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e), userDataDir=C:\Users\jin\AppData\Local\Temp\scoped_dir3436_21321}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=65.0.3325.181, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}] | |
23 | -Session ID: 9a5890016096ab721e6f083fec63e551 | |
24 | -*** Element info: {Using=xpath, value=//*/a[contains(text(),'平台运营跟进管理')]}. | |
25 | -2018-04-04 17:27:40.080 INFO: 检查元素是否存在:true | |
26 | -2018-04-04 17:27:40.142 INFO: 获取所要读取的文件 | |
27 | -2018-04-04 17:27:41.720 INFO: 文件为:.xlsx格式 | |
28 | -2018-04-04 17:27:41.752 INFO: 读取文件成功 |
Log/20180404_172957.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 17:29:57.032 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 17:29:57.032 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 17:29:57.032 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 17:30:01.505 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 17:30:03.032 INFO: 窗口最大化 | |
6 | -2018-04-04 17:30:05.808 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 17:30:05.857 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 17:30:05.972 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 17:30:07.251 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 17:30:07.255 INFO: 读取文件成功 | |
11 | -2018-04-04 17:30:07.438 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 17:30:07.631 INFO: 输入的字符是:admin | |
13 | -2018-04-04 17:30:07.744 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 17:30:07.896 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 17:30:15.235 ERROR: 1. | |
16 | -2018-04-04 17:30:15.329 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 17:30:21.626 ERROR: 1. | |
18 | -2018-04-04 17:30:21.954 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 17:30:22.162 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 17:30:22.413 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 17:30:22.608 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 17:30:30.282 ERROR: 1. | |
23 | -2018-04-04 17:30:30.329 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 17:30:36.485 ERROR: 1. |
Log/20180404_174033.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 17:40:33.264 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 17:40:33.264 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 17:40:33.264 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 17:40:37.858 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 17:40:39.370 INFO: 窗口最大化 | |
6 | -2018-04-04 17:40:41.876 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 17:40:41.888 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 17:40:41.990 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 17:40:43.249 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 17:40:43.264 INFO: 读取文件成功 | |
11 | -2018-04-04 17:40:43.456 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 17:40:43.651 INFO: 输入的字符是:admin | |
13 | -2018-04-04 17:40:43.788 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 17:40:43.965 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 17:40:51.827 ERROR: 1. | |
16 | -2018-04-04 17:40:51.920 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 17:40:58.155 ERROR: 1. | |
18 | -2018-04-04 17:40:58.300 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 17:40:58.465 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 17:40:58.583 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 17:40:58.735 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 17:41:06.217 ERROR: 1. | |
23 | -2018-04-04 17:41:06.296 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 17:41:12.685 ERROR: 1. |
Log/20180404_180230.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:02:30.274 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:02:30.290 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:02:30.290 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:02:34.212 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:02:35.688 INFO: 窗口最大化 | |
6 | -2018-04-04 18:02:38.118 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:02:38.137 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:02:38.216 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:02:39.212 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:02:39.231 INFO: 读取文件成功 | |
11 | -2018-04-04 18:02:39.467 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:02:39.711 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:02:39.833 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:02:40.008 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:02:48.181 ERROR: 1. | |
16 | -2018-04-04 18:02:48.243 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:02:54.447 ERROR: 1. | |
18 | -2018-04-04 18:02:54.641 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:02:54.815 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:02:54.927 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:02:55.080 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:03:02.619 ERROR: 1. | |
23 | -2018-04-04 18:03:02.666 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:03:08.806 ERROR: 1. |
Log/20180404_180725.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:07:25.164 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:07:25.179 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:07:25.179 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:07:30.125 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:07:31.658 INFO: 窗口最大化 | |
6 | -2018-04-04 18:07:34.239 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:07:34.264 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:07:34.359 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:07:35.492 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:07:35.508 INFO: 读取文件成功 | |
11 | -2018-04-04 18:07:35.738 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:07:35.958 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:07:36.131 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:07:36.282 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:07:44.055 ERROR: 1. | |
16 | -2018-04-04 18:07:44.117 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:07:50.476 ERROR: 1. | |
18 | -2018-04-04 18:07:50.597 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:07:50.764 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:07:50.897 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:07:51.013 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:07:58.679 ERROR: 1. | |
23 | -2018-04-04 18:07:58.742 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:08:05.117 ERROR: 1. |
Log/20180404_181751.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:17:51.287 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:17:51.287 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:17:51.287 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:17:56.054 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:17:57.539 INFO: 窗口最大化 | |
6 | -2018-04-04 18:17:59.895 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:17:59.904 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:17:59.968 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:18:01.192 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:18:01.197 INFO: 读取文件成功 | |
11 | -2018-04-04 18:18:01.403 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:18:01.601 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:18:01.719 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:18:01.885 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:18:09.927 ERROR: 1. | |
16 | -2018-04-04 18:18:09.989 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:18:16.661 ERROR: 1. | |
18 | -2018-04-04 18:18:16.816 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:18:16.986 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:18:17.119 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:18:17.299 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:18:24.192 ERROR: 1. | |
23 | -2018-04-04 18:18:24.239 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:18:30.443 ERROR: 1. |
Log/20180404_182202.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:22:02.973 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:22:02.973 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:22:02.973 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:22:07.567 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:22:09.061 INFO: 窗口最大化 | |
6 | -2018-04-04 18:22:11.419 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:22:11.433 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:22:11.505 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:22:12.661 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:22:12.676 INFO: 读取文件成功 | |
11 | -2018-04-04 18:22:12.880 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:22:13.072 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:22:13.203 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:22:13.343 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:22:15.888 INFO: 点击元素: | |
16 | -2018-04-04 18:22:16.741 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:22:17.961 INFO: 点击元素: | |
18 | -2018-04-04 18:22:18.137 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:22:18.300 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:22:18.424 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:22:18.573 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:22:20.958 INFO: 点击元素: | |
23 | -2018-04-04 18:22:21.494 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:22:22.537 INFO: 点击元素: |
Log/20180404_182628.log deleted
... | ... | @@ -1,64 +0,0 @@ |
1 | -2018-04-04 18:26:28.096 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:26:28.096 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:26:28.096 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:26:32.879 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:26:34.368 INFO: 窗口最大化 | |
6 | -2018-04-04 18:26:36.675 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:26:36.683 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:26:36.767 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:26:37.738 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:26:37.755 INFO: 读取文件成功 | |
11 | -2018-04-04 18:26:37.947 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:26:38.165 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:26:38.284 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:26:38.429 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:26:46.175 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='subBtn']"} | |
16 | - (Session info: chrome=65.0.3325.181) | |
17 | - (Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information) | |
18 | -Command duration or timeout: 0 milliseconds | |
19 | -For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html | |
20 | -Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' | |
21 | -System info: host: 'DESKTOP-NIGE62D', ip: '10.0.2.15', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144' | |
22 | -Driver info: org.openqa.selenium.chrome.ChromeDriver | |
23 | -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.543627 (63642262d9fb93..., userDataDir: C:\Users\jin\AppData\Local\...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.181, webStorageEnabled: true} | |
24 | -Session ID: 0541c0747091ae63f9836b34921c75e9 | |
25 | -*** Element info: {Using=xpath, value=//*[@id='subBtn']}. | |
26 | -2018-04-04 18:26:46.238 INFO: 判断检查点是否存在 | |
27 | -2018-04-04 18:26:52.519 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text()='退出']"} | |
28 | - (Session info: chrome=65.0.3325.181) | |
29 | - (Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information) | |
30 | -Command duration or timeout: 0 milliseconds | |
31 | -For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html | |
32 | -Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' | |
33 | -System info: host: 'DESKTOP-NIGE62D', ip: '10.0.2.15', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144' | |
34 | -Driver info: org.openqa.selenium.chrome.ChromeDriver | |
35 | -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.543627 (63642262d9fb93..., userDataDir: C:\Users\jin\AppData\Local\...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.181, webStorageEnabled: true} | |
36 | -Session ID: 0541c0747091ae63f9836b34921c75e9 | |
37 | -*** Element info: {Using=xpath, value=//*[text()='退出']}. | |
38 | -2018-04-04 18:26:52.683 INFO: 清除文本框中已有字符: //*[@id='username']] | |
39 | -2018-04-04 18:26:52.831 INFO: 输入的字符是:linrong | |
40 | -2018-04-04 18:26:52.939 INFO: 清除文本框中已有字符: //*[@id='password']] | |
41 | -2018-04-04 18:26:53.067 INFO: 输入的字符是:essa123 | |
42 | -2018-04-04 18:27:00.456 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='subBtn']"} | |
43 | - (Session info: chrome=65.0.3325.181) | |
44 | - (Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information) | |
45 | -Command duration or timeout: 0 milliseconds | |
46 | -For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html | |
47 | -Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' | |
48 | -System info: host: 'DESKTOP-NIGE62D', ip: '10.0.2.15', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144' | |
49 | -Driver info: org.openqa.selenium.chrome.ChromeDriver | |
50 | -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.543627 (63642262d9fb93..., userDataDir: C:\Users\jin\AppData\Local\...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.181, webStorageEnabled: true} | |
51 | -Session ID: 0541c0747091ae63f9836b34921c75e9 | |
52 | -*** Element info: {Using=xpath, value=//*[@id='subBtn']}. | |
53 | -2018-04-04 18:27:00.550 INFO: 判断检查点是否存在 | |
54 | -2018-04-04 18:27:06.731 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text()='退出']"} | |
55 | - (Session info: chrome=65.0.3325.181) | |
56 | - (Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information) | |
57 | -Command duration or timeout: 0 milliseconds | |
58 | -For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html | |
59 | -Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' | |
60 | -System info: host: 'DESKTOP-NIGE62D', ip: '10.0.2.15', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144' | |
61 | -Driver info: org.openqa.selenium.chrome.ChromeDriver | |
62 | -Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.543627 (63642262d9fb93..., userDataDir: C:\Users\jin\AppData\Local\...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.181, webStorageEnabled: true} | |
63 | -Session ID: 0541c0747091ae63f9836b34921c75e9 | |
64 | -*** Element info: {Using=xpath, value=//*[text()='退出']}. |
Log/20180404_182825.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:28:25.143 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:28:25.143 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:28:25.143 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:28:29.737 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:28:31.255 INFO: 窗口最大化 | |
6 | -2018-04-04 18:28:33.778 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:28:33.801 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:28:33.873 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:28:34.831 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:28:34.848 INFO: 读取文件成功 | |
11 | -2018-04-04 18:28:35.104 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:28:35.211 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:28:35.393 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:28:35.526 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:28:43.581 ERROR: 1. | |
16 | -2018-04-04 18:28:43.659 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:28:50.768 ERROR: 1. | |
18 | -2018-04-04 18:28:50.974 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:28:51.152 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:28:51.279 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:28:51.411 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:28:58.956 ERROR: 1. | |
23 | -2018-04-04 18:28:59.019 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:29:05.096 ERROR: 1. |
Log/20180404_182939.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-04 18:29:39.581 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-04 18:29:39.590 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-04 18:29:39.590 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-04 18:29:44.097 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-04 18:29:45.578 INFO: 窗口最大化 | |
6 | -2018-04-04 18:29:48.081 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-04 18:29:48.108 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-04 18:29:48.175 INFO: 获取所要读取的文件 | |
9 | -2018-04-04 18:29:49.252 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-04 18:29:49.268 INFO: 读取文件成功 | |
11 | -2018-04-04 18:29:49.528 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-04 18:29:49.898 INFO: 输入的字符是:admin | |
13 | -2018-04-04 18:29:50.157 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-04 18:29:50.605 INFO: 输入的字符是:essa123 | |
15 | -2018-04-04 18:29:50.724 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-04 18:29:55.207 INFO: 判断检查点是否存在 | |
17 | -2018-04-04 18:29:55.252 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-04 18:29:56.969 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-04 18:29:57.122 INFO: 输入的字符是:linrong | |
20 | -2018-04-04 18:29:57.253 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-04 18:29:57.389 INFO: 输入的字符是:essa123 | |
22 | -2018-04-04 18:29:57.442 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-04 18:29:59.977 INFO: 判断检查点是否存在 | |
24 | -2018-04-04 18:30:00.021 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_114626.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 11:46:26.812 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 11:46:26.832 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 11:46:26.833 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 11:46:33.684 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 11:46:35.332 INFO: 窗口最大化 | |
6 | -2018-04-10 11:46:38.066 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 11:46:38.087 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 11:46:38.330 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 11:46:39.784 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 11:46:39.798 INFO: 读取文件成功 | |
11 | -2018-04-10 11:46:40.121 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 11:46:40.341 INFO: 输入的字符是:admin | |
13 | -2018-04-10 11:46:40.551 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 11:46:40.679 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 11:46:40.747 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 11:46:45.183 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 11:46:45.234 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 11:46:46.921 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 11:46:47.220 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 11:46:47.353 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 11:46:47.585 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 11:46:47.643 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 11:46:50.805 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 11:46:50.854 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_115209.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 11:52:09.045 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 11:52:09.051 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 11:52:09.051 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 11:52:17.495 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 11:52:18.986 INFO: 窗口最大化 | |
6 | -2018-04-10 11:52:21.976 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 11:52:22.008 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 11:52:22.111 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 11:52:23.518 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 11:52:23.539 INFO: 读取文件成功 | |
11 | -2018-04-10 11:52:23.851 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 11:52:24.393 INFO: 输入的字符是:admin | |
13 | -2018-04-10 11:52:24.523 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 11:52:24.711 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 11:52:24.786 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 11:52:28.838 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 11:52:28.906 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 11:52:30.574 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 11:52:30.743 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 11:52:30.861 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 11:52:31.027 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 11:52:31.079 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 11:52:34.844 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 11:52:34.927 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_154101.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 15:41:01.609 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 15:41:01.613 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 15:41:01.613 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 15:41:08.871 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 15:41:10.371 INFO: 窗口最大化 | |
6 | -2018-04-10 15:41:13.046 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 15:41:13.109 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 15:41:13.206 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 15:41:14.652 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 15:41:14.666 INFO: 读取文件成功 | |
11 | -2018-04-10 15:41:14.952 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 15:41:15.127 INFO: 输入的字符是:admin | |
13 | -2018-04-10 15:41:15.285 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 15:41:15.433 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 15:41:15.504 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 15:41:19.096 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 15:41:19.148 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 15:41:20.743 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 15:41:20.975 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 15:41:21.084 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 15:41:21.230 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 15:41:21.289 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 15:41:24.290 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 15:41:24.330 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_154254.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 15:42:54.513 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 15:42:54.516 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 15:42:54.516 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 15:42:59.124 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 15:43:00.731 INFO: 窗口最大化 | |
6 | -2018-04-10 15:43:03.416 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 15:43:03.459 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 15:43:03.555 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 15:43:04.809 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 15:43:04.822 INFO: 读取文件成功 | |
11 | -2018-04-10 15:43:05.022 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 15:43:05.218 INFO: 输入的字符是:admin | |
13 | -2018-04-10 15:43:05.411 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 15:43:05.557 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 15:43:05.624 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 15:43:09.387 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 15:43:09.445 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 15:43:11.406 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 15:43:11.571 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 15:43:11.737 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 15:43:11.884 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 15:43:11.951 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 15:43:15.366 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 15:43:15.426 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_154626.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 15:46:26.131 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 15:46:26.134 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 15:46:26.135 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 15:46:30.921 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 15:46:32.374 INFO: 窗口最大化 | |
6 | -2018-04-10 15:46:34.565 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 15:46:34.585 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 15:46:34.666 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 15:46:35.742 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 15:46:35.757 INFO: 读取文件成功 | |
11 | -2018-04-10 15:46:35.937 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 15:46:36.119 INFO: 输入的字符是:admin | |
13 | -2018-04-10 15:46:36.264 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 15:46:36.388 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 15:46:36.447 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 15:46:39.735 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 15:46:39.780 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 15:46:41.144 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 15:46:41.326 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 15:46:41.434 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 15:46:41.583 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 15:46:41.654 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 15:46:45.982 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 15:46:46.023 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_160850.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 16:08:50.875 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 16:08:50.879 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 16:08:50.879 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 16:08:55.660 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 16:08:57.142 INFO: 窗口最大化 | |
6 | -2018-04-10 16:08:59.424 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 16:08:59.447 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 16:08:59.545 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 16:09:00.575 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 16:09:00.589 INFO: 读取文件成功 | |
11 | -2018-04-10 16:09:00.796 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 16:09:00.974 INFO: 输入的字符是:admin | |
13 | -2018-04-10 16:09:01.113 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 16:09:01.270 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 16:09:01.330 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 16:09:04.632 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 16:09:04.682 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 16:09:05.923 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 16:09:06.078 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 16:09:06.220 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 16:09:06.360 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 16:09:06.420 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 16:09:09.060 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 16:09:09.103 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_161331.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 16:13:31.810 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 16:13:31.817 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 16:13:31.817 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 16:13:36.357 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 16:13:37.841 INFO: 窗口最大化 | |
6 | -2018-04-10 16:13:40.030 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 16:13:40.050 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 16:13:40.142 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 16:13:41.185 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 16:13:41.216 INFO: 读取文件成功 | |
11 | -2018-04-10 16:13:41.416 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 16:13:41.584 INFO: 输入的字符是:admin | |
13 | -2018-04-10 16:13:41.717 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 16:13:41.846 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 16:13:41.906 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 16:13:45.022 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 16:13:45.091 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 16:13:46.348 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 16:13:46.500 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 16:13:46.661 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 16:13:46.787 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 16:13:46.821 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 16:13:49.483 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 16:13:49.561 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_161546.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 16:15:46.528 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 16:15:46.528 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 16:15:46.528 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 16:15:51.449 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 16:15:52.935 INFO: 窗口最大化 | |
6 | -2018-04-10 16:15:55.414 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 16:15:55.429 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 16:15:55.499 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 16:15:56.465 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 16:15:56.481 INFO: 读取文件成功 | |
11 | -2018-04-10 16:15:56.681 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 16:15:56.912 INFO: 输入的字符是:admin | |
13 | -2018-04-10 16:15:57.059 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 16:15:57.194 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 16:15:57.284 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 16:16:00.655 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 16:16:00.700 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 16:16:02.304 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 16:16:02.570 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 16:16:02.748 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 16:16:02.893 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 16:16:02.947 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 16:16:05.745 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 16:16:05.795 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_175527.log deleted
... | ... | @@ -1,7 +0,0 @@ |
1 | -2018-04-10 17:55:27.867 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 17:55:27.877 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 17:55:27.880 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 17:55:37.543 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 17:55:39.301 INFO: 获取所要读取的文件 | |
6 | -2018-04-10 17:55:41.485 INFO: 文件为:.xlsx格式 | |
7 | -2018-04-10 17:55:41.504 INFO: 读取文件成功 |
Log/20180410_175644.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 17:56:44.387 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 17:56:44.387 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 17:56:44.387 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 17:56:50.167 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 17:56:51.692 INFO: 窗口最大化 | |
6 | -2018-04-10 17:56:55.618 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 17:56:55.635 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 17:56:55.714 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 17:56:57.011 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 17:56:57.045 INFO: 读取文件成功 | |
11 | -2018-04-10 17:56:57.392 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 17:56:57.581 INFO: 输入的字符是:admin | |
13 | -2018-04-10 17:56:57.727 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 17:56:57.882 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 17:56:57.946 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 17:57:02.890 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 17:57:02.964 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 17:57:04.630 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 17:57:04.822 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 17:57:04.960 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 17:57:05.162 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 17:57:05.215 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 17:57:09.716 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 17:57:09.767 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_181116.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 18:11:16.428 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 18:11:16.428 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 18:11:16.428 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 18:11:21.055 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 18:11:22.503 INFO: 窗口最大化 | |
6 | -2018-04-10 18:11:25.643 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 18:11:25.667 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 18:11:25.776 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 18:11:27.022 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 18:11:27.053 INFO: 读取文件成功 | |
11 | -2018-04-10 18:11:27.299 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 18:11:27.440 INFO: 输入的字符是:admin | |
13 | -2018-04-10 18:11:27.566 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 18:11:27.690 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 18:11:27.743 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 18:11:31.415 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 18:11:31.459 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 18:11:32.812 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 18:11:32.956 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 18:11:33.048 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 18:11:33.169 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 18:11:33.214 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 18:11:36.652 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 18:11:36.694 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_181617.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 18:16:17.785 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 18:16:17.785 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 18:16:17.785 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 18:16:24.145 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 18:16:25.850 INFO: 窗口最大化 | |
6 | -2018-04-10 18:16:31.197 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 18:16:31.239 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 18:16:31.333 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 18:16:33.457 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 18:16:33.520 INFO: 读取文件成功 | |
11 | -2018-04-10 18:16:33.822 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 18:16:34.081 INFO: 输入的字符是:admin | |
13 | -2018-04-10 18:16:34.304 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 18:16:34.535 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 18:16:34.629 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 18:16:41.802 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 18:16:41.895 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 18:16:43.959 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 18:16:44.263 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 18:16:44.528 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 18:16:44.779 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 18:16:44.879 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 18:16:50.458 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 18:16:50.551 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_182112.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 18:21:12.472 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 18:21:12.488 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 18:21:12.503 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 18:21:16.909 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 18:21:18.492 INFO: 窗口最大化 | |
6 | -2018-04-10 18:21:22.457 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 18:21:22.465 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 18:21:22.533 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 18:21:23.972 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 18:21:23.987 INFO: 读取文件成功 | |
11 | -2018-04-10 18:21:24.188 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 18:21:24.367 INFO: 输入的字符是:admin | |
13 | -2018-04-10 18:21:24.509 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 18:21:24.703 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 18:21:24.767 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 18:21:29.009 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 18:21:29.064 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 18:21:31.203 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 18:21:31.423 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 18:21:31.534 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 18:21:31.773 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 18:21:31.857 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 18:21:35.160 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 18:21:35.203 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_182513.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 18:25:13.904 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 18:25:13.908 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 18:25:13.909 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 18:25:19.731 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 18:25:21.294 INFO: 窗口最大化 | |
6 | -2018-04-10 18:25:27.893 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 18:25:27.901 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 18:25:28.089 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 18:25:29.964 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 18:25:29.998 INFO: 读取文件成功 | |
11 | -2018-04-10 18:25:30.232 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 18:25:30.431 INFO: 输入的字符是:admin | |
13 | -2018-04-10 18:25:30.596 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 18:25:30.783 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 18:25:30.863 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 18:25:36.627 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 18:25:36.675 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 18:25:38.822 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 18:25:39.038 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 18:25:39.159 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 18:25:39.325 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 18:25:39.379 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 18:25:48.101 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 18:25:48.175 INFO: 点击元素: //*[text()='退出']] |
Log/20180410_182641.log deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -2018-04-10 18:26:41.705 INFO: 开始从配置文件中选择浏览器 | |
2 | -2018-04-10 18:26:41.709 INFO: 所选择的浏览器类型为: Chrome | |
3 | -2018-04-10 18:26:41.710 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa | |
4 | -2018-04-10 18:26:47.049 INFO: 正在启动Chrome浏览器 | |
5 | -2018-04-10 18:26:48.683 INFO: 窗口最大化 | |
6 | -2018-04-10 18:26:54.150 INFO: 打开URL: http://bpms.hotfix.gz.essa | |
7 | -2018-04-10 18:26:54.163 INFO: 设置隐性等待5 秒 | |
8 | -2018-04-10 18:26:54.269 INFO: 获取所要读取的文件 | |
9 | -2018-04-10 18:26:56.317 INFO: 文件为:.xlsx格式 | |
10 | -2018-04-10 18:26:56.344 INFO: 读取文件成功 | |
11 | -2018-04-10 18:26:56.659 INFO: 清除文本框中已有字符: //*[@id='username']] | |
12 | -2018-04-10 18:26:56.867 INFO: 输入的字符是:admin | |
13 | -2018-04-10 18:26:57.089 INFO: 清除文本框中已有字符: //*[@id='password']] | |
14 | -2018-04-10 18:26:57.424 INFO: 输入的字符是:essa123 | |
15 | -2018-04-10 18:26:57.492 INFO: 点击元素: //*[@id='subBtn']] | |
16 | -2018-04-10 18:27:03.492 INFO: 判断检查点是否存在 | |
17 | -2018-04-10 18:27:03.579 INFO: 点击元素: //*[text()='退出']] | |
18 | -2018-04-10 18:27:06.532 INFO: 清除文本框中已有字符: //*[@id='username']] | |
19 | -2018-04-10 18:27:06.831 INFO: 输入的字符是:linrong | |
20 | -2018-04-10 18:27:07.431 INFO: 清除文本框中已有字符: //*[@id='password']] | |
21 | -2018-04-10 18:27:07.794 INFO: 输入的字符是:essa123 | |
22 | -2018-04-10 18:27:07.880 INFO: 点击元素: //*[@id='subBtn']] | |
23 | -2018-04-10 18:27:12.803 INFO: 判断检查点是否存在 | |
24 | -2018-04-10 18:27:12.855 INFO: 点击元素: //*[text()='退出']] |
84.8 KB
105 KB
... | ... | @@ -0,0 +1,16 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="新增市场商品"> | |
4 | + <test name="addMarketGoods"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestAddMarketGoods"> | |
7 | + <methods> | |
8 | + <include name="toMarketGoodsRelesePage"/> | |
9 | + <include name="addMarketGoods"/> | |
10 | + <include name="auditMarketGoods"/> | |
11 | + </methods> | |
12 | + </class> | |
13 | + </classes> | |
14 | + </test> | |
15 | +</suite> | |
16 | + | ... | ... |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="添加SKU到购物车"> | |
4 | + <test name="buyerRegister"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestAddToCart"> | |
7 | + <methods> | |
8 | + <include name="keywordToCart"/> | |
9 | + </methods> | |
10 | + </class> | |
11 | + </classes> | |
12 | + </test> | |
13 | +</suite> | |
14 | + | ... | ... |
... | ... | @@ -0,0 +1,19 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="采购商注册"> | |
4 | + <test name="buyerRegister"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestGenrateCode"> | |
7 | + <methods> | |
8 | + <include name="genrateCode"/> | |
9 | + </methods> | |
10 | + </class> | |
11 | + <class name="com.buyer.testSuite.TestRegister"> | |
12 | + <methods> | |
13 | + <include name="register"/> | |
14 | + </methods> | |
15 | + </class> | |
16 | + </classes> | |
17 | + </test> | |
18 | +</suite> | |
19 | + | ... | ... |
... | ... | @@ -0,0 +1,19 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="成品询价"> | |
4 | + <test name="productInquiry"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestAddToCart"> | |
7 | + <methods> | |
8 | + <include name="keywordToCart"/> | |
9 | + </methods> | |
10 | + </class> | |
11 | + <class name="com.essa.testSuite.TestProductInquiry"> | |
12 | + <methods> | |
13 | + <include name="productInquiry"/> | |
14 | + </methods> | |
15 | + </class> | |
16 | + </classes> | |
17 | + </test> | |
18 | +</suite> | |
19 | + | ... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="发布团购商品"> | |
4 | + <test name="publishGroupPurchase"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestAddOriginalGoods"> | |
7 | + <methods> | |
8 | + <include name="toAddOriginalGoodsPage"/> | |
9 | + <include name="updatePic"/> | |
10 | + <include name="auditOriginal"/> | |
11 | + <include name="getSkuNo"/> | |
12 | + </methods> | |
13 | + </class> | |
14 | + <class name="com.essa.testSuite.TestGroupPurchase"> | |
15 | + <methods> | |
16 | + <include name="SkuCategoryManagerCongfig"/> | |
17 | + <include name="publishGroupPurchase"/> | |
18 | + <include name="isPublish"/> | |
19 | + </methods> | |
20 | + </class> | |
21 | + </classes> | |
22 | + </test> | |
23 | +</suite> | |
24 | + | ... | ... |
... | ... | @@ -0,0 +1,25 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="提交PO"> | |
4 | + <test name="sendPO"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestAddToCart"> | |
7 | + <methods> | |
8 | + <include name="addSku"/> | |
9 | + </methods> | |
10 | + </class> | |
11 | + <class name="com.essa.testSuite.TestProductInquiry"> | |
12 | + <methods> | |
13 | + <include name="productInquiry"/> | |
14 | + </methods> | |
15 | + </class> | |
16 | + <class name="com.buyer.testSuite.TestSendPO"> | |
17 | + <methods> | |
18 | + <include name="conslidation"/> | |
19 | + <include name="sendPO"/> | |
20 | + </methods> | |
21 | + </class> | |
22 | + </classes> | |
23 | + </test> | |
24 | +</suite> | |
25 | + | ... | ... |
... | ... | @@ -0,0 +1,20 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > | |
3 | +<suite name="提交PO-活动商品"> | |
4 | + <test name="sendActivityPO"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestAddToCart"> | |
7 | + <methods> | |
8 | + <include name="addSku"/> | |
9 | + </methods> | |
10 | + </class> | |
11 | + <class name="com.buyer.testSuite.TestSendPO"> | |
12 | + <methods> | |
13 | + <include name="conslidation"/> | |
14 | + <include name="sendPO"/> | |
15 | + </methods> | |
16 | + </class> | |
17 | + </classes> | |
18 | + </test> | |
19 | +</suite> | |
20 | + | ... | ... |
src/main/resources/data.xlsx deleted
No preview for this file type
src/test/java/com/buyer/pageObject/AssetManagementPage.java
0 → 100644
src/test/java/com/buyer/pageObject/BuyerLoginPage.java
0 → 100644
... | ... | @@ -0,0 +1,48 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | + | |
9 | +/** | |
10 | + * 采购商登录页 | |
11 | + * @author Administrator | |
12 | + * | |
13 | + */ | |
14 | +public class BuyerLoginPage extends BasePage { | |
15 | + public BuyerLoginPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + /* | |
19 | + * 页面元素定位 | |
20 | + */ | |
21 | + //用户名:邮箱 | |
22 | + @FindBy (xpath = "//*[@id='username']") | |
23 | + WebElement userName; | |
24 | + | |
25 | + //密码 | |
26 | + @FindBy (xpath = "//*[@id='password']") | |
27 | + WebElement passWord; | |
28 | + | |
29 | + //登录按钮 | |
30 | + @FindBy (xpath = "//*[@id='login']") | |
31 | + WebElement signIn; | |
32 | + | |
33 | + /* | |
34 | + * 页面方法 | |
35 | + */ | |
36 | + /** | |
37 | + * 采购商登录方法 | |
38 | + * @param account 账号 | |
39 | + * @param password 密码 | |
40 | + * @return IndexPage | |
41 | + */ | |
42 | + public IndexPage login(String account,String password) { | |
43 | + sendKeys(userName, account); | |
44 | + sendKeys(passWord, password); | |
45 | + click(signIn); | |
46 | + return new IndexPage(driver); | |
47 | + } | |
48 | +} | ... | ... |
src/test/java/com/buyer/pageObject/ConslidationPage.java
0 → 100644
... | ... | @@ -0,0 +1,99 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * 暂存柜,拼柜页面 | |
13 | + * @author Administrator | |
14 | + * | |
15 | + */ | |
16 | +public class ConslidationPage extends BasePage { | |
17 | + public ConslidationPage(WebDriver driver) { | |
18 | + super(driver); | |
19 | + } | |
20 | + /* | |
21 | + * 元素定位 | |
22 | + */ | |
23 | + //关闭提示 | |
24 | + @FindBy(xpath="//*[@class='close']") | |
25 | + WebElement close; | |
26 | + | |
27 | + //选择散货 | |
28 | + @FindBy (xpath ="//button[text()='Bulk cargo']") | |
29 | + WebElement bulkCargo; | |
30 | + | |
31 | + //确认 | |
32 | + @FindBy (xpath="//button[text()='OK']") | |
33 | + WebElement ok; | |
34 | + | |
35 | + //查询输入框 | |
36 | + @FindBy (xpath="//*[@id='left-search']/div/input") | |
37 | + WebElement searchText; | |
38 | + | |
39 | + //查询按钮 | |
40 | + @FindBy (xpath="//*[@id='left-search']/div/span") | |
41 | + WebElement search; | |
42 | + | |
43 | + //左边列表第一个复选框 | |
44 | + @FindBy (xpath="//*[@id='left-product-list']/div[1]/div/div[2]/div/ul/li[1]/input") | |
45 | + WebElement leftFirstCheckbox; | |
46 | + | |
47 | + //中间加入右边的箭头 | |
48 | + @FindBy (xpath="//*[@id='icon-pi-right-big']") | |
49 | + WebElement add; | |
50 | + | |
51 | + //右边的第一个复选框 | |
52 | + @FindBy (xpath="//*[@id='right-product-list']/div/div/div[2]/div/ul/li[1]/input") | |
53 | + WebElement rightFirstCheckbox; | |
54 | + | |
55 | + //下一步,设置贴纸 | |
56 | + @FindBy (xpath="//*[@id='next']") | |
57 | + WebElement next; | |
58 | + | |
59 | + //确认弹框-可能会提示价格不一致 | |
60 | + @FindBy (xpath ="//a[text()='OK']") | |
61 | + WebElement ok2; | |
62 | + | |
63 | + /** | |
64 | + * 开始拼柜 | |
65 | + * @return SettingMarkerPage | |
66 | + */ | |
67 | + public SettingMarksPage conslidation() { | |
68 | + //是否有操作提示弹框 | |
69 | + if(isVisibility(By.xpath("//*[@class='close']"))) { | |
70 | + click(close); | |
71 | + } | |
72 | + forceWait(1000); | |
73 | + //是否有选择货柜 | |
74 | + if(isVisibility(By.xpath("//button[text()='Bulk cargo']"))) { | |
75 | + click(bulkCargo); | |
76 | + click(ok); | |
77 | + forceWait(1000); | |
78 | + } | |
79 | + sendKeys(searchText, Model.getSkuNo()); | |
80 | + click(search); | |
81 | + click(leftFirstCheckbox); | |
82 | + click(add); | |
83 | + //是否有加入到暂存柜 | |
84 | + while(!(isVisibility(rightFirstCheckbox))) { | |
85 | + forceWait(1000); | |
86 | + } | |
87 | + forceWait(1000); | |
88 | + moveHeightScroll("100"); | |
89 | + forceWait(1000); | |
90 | + click(next); | |
91 | + //如果提示价格变化,确认弹框 | |
92 | + if(isVisibility(By.xpath("//a[text()='OK']"))) { | |
93 | + click(ok2); | |
94 | + forceWait(1000); | |
95 | + click(next); | |
96 | + } | |
97 | + return new SettingMarksPage(driver); | |
98 | + } | |
99 | +} | ... | ... |
... | ... | @@ -0,0 +1,128 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * 采购商首页 | |
13 | + * @author Administrator | |
14 | + * | |
15 | + */ | |
16 | +public class IndexPage extends BasePage { | |
17 | + public IndexPage(WebDriver driver) { | |
18 | + super(driver); | |
19 | + } | |
20 | + /* | |
21 | + * 元素定位 | |
22 | + */ | |
23 | + //登录-sign in | |
24 | + @FindBy (xpath ="//*[@id='SignIn']/a") | |
25 | + WebElement signIn; | |
26 | + | |
27 | + //注册-register | |
28 | + @FindBy (xpath ="//*[@class='u-login']/a") | |
29 | + WebElement register; | |
30 | + | |
31 | + //关键字输入框 | |
32 | + @FindBy (xpath ="//*[@class='search-tx']/input") | |
33 | + WebElement searchText; | |
34 | + | |
35 | + //查询按钮 | |
36 | + @FindBy (xpath ="//*[@class='btn btn-primary search-btn']") | |
37 | + WebElement searchButton; | |
38 | + | |
39 | + //绑定手机弹窗-关闭按钮 | |
40 | + @FindBy (xpath ="//*[contains(@class,'layui-layer-close1')]") | |
41 | + WebElement closed; | |
42 | + | |
43 | + //右上角购物车 | |
44 | + @FindBy (xpath ="//*[@id='miniCart']") | |
45 | + WebElement minicart; | |
46 | + | |
47 | + /* | |
48 | + * 页面方法 | |
49 | + */ | |
50 | + /** | |
51 | + * 进入登录页面 | |
52 | + * @return BuyerLoginPage | |
53 | + */ | |
54 | + public BuyerLoginPage toLoginPage() { | |
55 | + click(signIn); | |
56 | + return new BuyerLoginPage(driver); | |
57 | + } | |
58 | + | |
59 | + /** | |
60 | + * 进入注册页面 | |
61 | + * @return RegisterPage | |
62 | + */ | |
63 | + public RegisterPage toRegisterPage() { | |
64 | + click(register); | |
65 | + return new RegisterPage(driver); | |
66 | + } | |
67 | + | |
68 | + /** | |
69 | + * 进入购物车 | |
70 | + * @return ShoppingCartPage | |
71 | + */ | |
72 | + public ShoppingCartPage toShoppingCartPage() { | |
73 | + if (isVisibility(By.xpath("//*[@id='bind-phone']"))) { | |
74 | + click(closed); | |
75 | + } | |
76 | + click(minicart); | |
77 | + return new ShoppingCartPage(driver); | |
78 | + } | |
79 | + /** | |
80 | + * 关键字搜索商品 | |
81 | + * @return KeywordResultPage | |
82 | + */ | |
83 | + public KeywordResultPage keywordSearch() { | |
84 | + //判断是否绑定手机 | |
85 | + if (isVisibility(By.xpath("//*[@id='bind-phone']"))) { | |
86 | + click(closed); | |
87 | + } | |
88 | + //如果是非活动 | |
89 | + if (Model.getIsactivity()==0 &&(Model.getSkuNo().equals("选填,勿填活动商品")||Model.getSkuNo().equals(""))) { | |
90 | + //判断是否自定义输入商品编号 | |
91 | + String sql = "SELECT s.id,s.`no` from prd_category c\r\n" + | |
92 | + "LEFT JOIN prd_goods g on c.id = g.category_id\r\n" + | |
93 | + "LEFT JOIN prd_goods_sku s on s.goods_id = g.id\r\n" + | |
94 | + "where find_in_set(5,REPLACE(c.path,'.',','))\r\n" + | |
95 | + "AND s.`no` > 200000000\r\n" + | |
96 | + "AND s.id NOT IN (SELECT g.sku_id FROM sale_group_buy g)\r\n" + | |
97 | + "AND s.id NOT IN (SELECT t.sku_id FROM sale_shopping_cart t)\r\n" + | |
98 | + "AND s.src = 1\r\n" + | |
99 | + "AND s.`status` = 2\r\n" + | |
100 | + "AND s.is_stop_product = 0\r\n" + | |
101 | + "AND s.is_delete = 0\r\n" + | |
102 | + "limit 1"; | |
103 | + Model.setSkuNo(DBSqlSearch(sql, "no")); | |
104 | + }else if (Model.getIsactivity()==1 &&( Model.getSkuNo().equals("选填,勿填非活动中商品")||Model.getSkuNo().equals(""))) { | |
105 | + //活动商品 | |
106 | + String sql = "SELECT s.id,s.`no` from prd_category c\r\n" + | |
107 | + "LEFT JOIN prd_goods g on c.id = g.category_id\r\n" + | |
108 | + "LEFT JOIN prd_goods_sku s on s.goods_id = g.id\r\n" + | |
109 | + "LEFT JOIN sale_group_buy a on a.sku_id = s.id\r\n" + | |
110 | + "where s.`no` > 200000000\r\n" + | |
111 | + "AND s.id NOT IN (SELECT t.sku_id FROM sale_shopping_cart t)\r\n" + | |
112 | + "AND a.`status` = 20 \r\n" + | |
113 | + "limit 1;"; | |
114 | + Model.setSkuNo(DBSqlSearch(sql, "no")); | |
115 | + } | |
116 | + sendKeys(searchText, Model.getSkuNo()); | |
117 | + click(searchButton); | |
118 | + return new KeywordResultPage(driver); | |
119 | + } | |
120 | + | |
121 | + /** | |
122 | + * 断言是否注册成功,根据是否有绑定手机号的弹窗来判断 | |
123 | + * @return boolean | |
124 | + */ | |
125 | + public boolean isSucceed() { | |
126 | + return isVisibility(By.xpath("//*[contains(@class,'layui-layer-close1')]")); | |
127 | + } | |
128 | +} | ... | ... |
src/test/java/com/buyer/pageObject/KeywordResultPage.java
0 → 100644
... | ... | @@ -0,0 +1,98 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * 关键字查询结果页 | |
13 | + * @author Administrator | |
14 | + * | |
15 | + */ | |
16 | +public class KeywordResultPage extends BasePage { | |
17 | + public KeywordResultPage(WebDriver driver) { | |
18 | + super(driver); | |
19 | + } | |
20 | + /* | |
21 | + * 元素定位 | |
22 | + */ | |
23 | + //加入购物车 | |
24 | + @FindBy (xpath ="//*[@id='product-list']/ul[1]/div[1]/li[1]/div[1]/div[1]/div[4]/div[2]") | |
25 | + WebElement addToCart; | |
26 | + | |
27 | + @FindBy (xpath ="//*[@id='product-list']/ul[1]/div[1]/li[1]/div[2]/div[3]/div[1]") | |
28 | + WebElement confirmAdd; | |
29 | + | |
30 | + //添加购物车时,提示加入一款成功toast | |
31 | + @FindBy (xpath ="//*[@class='util-bill-pd']") | |
32 | + WebElement toast; | |
33 | + | |
34 | + //右上角购物车 | |
35 | + @FindBy (xpath ="//*[@id='miniCart']") | |
36 | + WebElement minicart; | |
37 | + | |
38 | + //订购量 | |
39 | + @FindBy (xpath="//*[contains(text(),'quantity')]/../span[2]/input") | |
40 | + WebElement count; | |
41 | + | |
42 | + //活动商品-添加购物车 | |
43 | + @FindBy (xpath ="//*[text()='Add to Cart']") | |
44 | + WebElement addToCart1; | |
45 | + | |
46 | + /* | |
47 | + * 页面方法 | |
48 | + */ | |
49 | + /** | |
50 | + * 加入到购物车中,且会进入购物车校验是否加入成功 | |
51 | + * @return ShoppingCartPage | |
52 | + */ | |
53 | + public ShoppingCartPage addToCart() { | |
54 | + //判断商品是活动中还是非活动中,此处有坑,活动如果满足要求要走代办 | |
55 | + if (Model.getIsactivity() == 0) { | |
56 | + click(addToCart); | |
57 | + forceWait(1000); | |
58 | + click(count); | |
59 | + sendKeys(count, "50"); | |
60 | + }else if (Model.getIsactivity() == 1) { | |
61 | + click(addToCart1); | |
62 | + forceWait(1000); | |
63 | + click(count); | |
64 | + sendKeys(count, "200"); | |
65 | + } | |
66 | + | |
67 | + click(confirmAdd); | |
68 | + while(!isVisibility(By.xpath("//*[@class='util-bill-pd']"))) { | |
69 | + forceWait(1000); | |
70 | + } | |
71 | + forceWait(1000); | |
72 | + click(minicart); | |
73 | + return new ShoppingCartPage(driver); | |
74 | + } | |
75 | + /** | |
76 | + * 由于操作过快,系统会提示:有人正在操作 | |
77 | + * sku加入到购物车,但不进入购物车,防止无法操作后续的拼柜 | |
78 | + * | |
79 | + */ | |
80 | + public void addSku() { | |
81 | + if (Model.getIsactivity() == 0) { | |
82 | + click(addToCart); | |
83 | + forceWait(1000); | |
84 | + click(count); | |
85 | + sendKeys(count, "50"); | |
86 | + }else if (Model.getIsactivity() == 1) { | |
87 | + click(addToCart1); | |
88 | + forceWait(1000); | |
89 | + click(count); | |
90 | + sendKeys(count, "200"); | |
91 | + } | |
92 | + click(confirmAdd); | |
93 | + while(!isVisibility(By.xpath("//*[@class='util-bill-pd']"))) { | |
94 | + forceWait(1000); | |
95 | + } | |
96 | + forceWait(1000); | |
97 | + } | |
98 | +} | ... | ... |
src/test/java/com/buyer/pageObject/MyOrderPage.java
0 → 100644
src/test/java/com/buyer/pageObject/OrderPreviewPage.java
0 → 100644
... | ... | @@ -0,0 +1,47 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *订单预览页 | |
13 | + */ | |
14 | +public class OrderPreviewPage extends BasePage { | |
15 | + public OrderPreviewPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + | |
19 | + //是否授权:同意 | |
20 | + @FindBy (xpath ="//*[@ng-checked='list.isAuthorExchange==1']") | |
21 | + WebElement agree; | |
22 | + | |
23 | + //提交po | |
24 | + @FindBy (xpath ="//*[@id='react-orderConfirmation-submit']") | |
25 | + WebElement sendPO; | |
26 | + | |
27 | + //弹框:确认 | |
28 | + @FindBy (xpath ="//a[text()='Send PO']") | |
29 | + WebElement confirm; | |
30 | + | |
31 | + /** | |
32 | + * 提交po | |
33 | + * @return PayDepositPage | |
34 | + */ | |
35 | + public PayDepositPage submit() { | |
36 | + while(!(isVisibility(By.xpath("//*[@ng-checked='list.isAuthorExchange==1']")))) { | |
37 | + forceWait(1000); | |
38 | + } | |
39 | + moveHeightScroll("50"); | |
40 | + forceWait(500); | |
41 | + jsExecutorClick(agree); | |
42 | + click(sendPO); | |
43 | + forceWait(1000); | |
44 | + click(confirm); | |
45 | + return new PayDepositPage(driver); | |
46 | + } | |
47 | +} | ... | ... |
src/test/java/com/buyer/pageObject/PayDepositPage.java
0 → 100644
... | ... | @@ -0,0 +1,68 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *支付定金页 | |
14 | + */ | |
15 | +public class PayDepositPage extends BasePage { | |
16 | + public PayDepositPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + | |
20 | + //PO信息 | |
21 | + @FindBy (xpath="//*[contains(text(),'PO information')]") | |
22 | + WebElement POInfo; | |
23 | + | |
24 | + //查看资金详情---可用资金不足 | |
25 | + @FindBy (xpath ="//button[@class='submit-payment-deposit-button btn btn-primary']") | |
26 | + WebElement FundDetail; | |
27 | + | |
28 | + //免定金模式--确认按钮 | |
29 | + @FindBy (xpath ="//*[@ng-click='submit()']") | |
30 | + WebElement ok; | |
31 | + | |
32 | + //po单号 | |
33 | + @FindBy (xpath ="//*[contains(text(),'PO number:')]/../../td[2]/span") | |
34 | + WebElement poNum; | |
35 | + | |
36 | + /** | |
37 | + * 查看资金详情 | |
38 | + * @return AssetManagementPage | |
39 | + */ | |
40 | + public AssetManagementPage toAssetManagementPage() { | |
41 | + click(FundDetail); | |
42 | + return new AssetManagementPage(driver); | |
43 | + } | |
44 | + | |
45 | + /** | |
46 | + * 确认PO | |
47 | + * @return MyOrderPage | |
48 | + */ | |
49 | + public MyOrderPage confirm() { | |
50 | + click(ok); | |
51 | + return new MyOrderPage(driver); | |
52 | + } | |
53 | + | |
54 | + public void operate() { | |
55 | + while (!(isVisibility(By.xpath("//*[contains(text(),'PO information')]")))) { | |
56 | + forceWait(1000); | |
57 | + } | |
58 | + Model.setPoNum(poNum.getText()); | |
59 | + if (isVisibility(By.xpath("//button[@class='submit-payment-deposit-button btn btn-primary']"))) { | |
60 | + //如果是可用资金不足,跳转到资金管理 | |
61 | + toAssetManagementPage(); | |
62 | + }else if (isVisibility(By.xpath("//*[@ng-click='submit()']"))) { | |
63 | + //免定金模式,确认po,跳转到我的订单列表 | |
64 | + confirm(); | |
65 | + } | |
66 | + forceWait(2000); | |
67 | + } | |
68 | +} | ... | ... |
src/test/java/com/buyer/pageObject/RegisterPage.java
0 → 100644
... | ... | @@ -0,0 +1,165 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import java.text.SimpleDateFormat; | |
4 | +import java.util.Date; | |
5 | + | |
6 | +import org.openqa.selenium.WebDriver; | |
7 | +import org.openqa.selenium.WebElement; | |
8 | +import org.openqa.selenium.support.FindBy; | |
9 | + | |
10 | +import com.essa.framework.BasePage; | |
11 | +import com.essa.framework.Model; | |
12 | +import com.essa.framework.Tools; | |
13 | + | |
14 | +/** | |
15 | + * 采购商注册页 | |
16 | + * @author Administrator | |
17 | + * | |
18 | + */ | |
19 | +public class RegisterPage extends BasePage { | |
20 | + public RegisterPage(WebDriver driver) { | |
21 | + super(driver); | |
22 | + } | |
23 | + /* | |
24 | + * 元素定位 | |
25 | + */ | |
26 | + //检查点-是否进入页面 | |
27 | + @FindBy (xpath ="//*[contains(text(),' Own essa.cn account')]") | |
28 | + WebElement checkPoint; | |
29 | + | |
30 | ||
31 | + @FindBy (xpath ="//*[@id='email']") | |
32 | + WebElement email; | |
33 | + | |
34 | + //password | |
35 | + @FindBy (xpath ="//*[@id='password']") | |
36 | + WebElement password; | |
37 | + | |
38 | + //confirmPassword | |
39 | + @FindBy (xpath ="//*[@id='confirmPassword']") | |
40 | + WebElement confirmPassword; | |
41 | + | |
42 | + //币种 currency | |
43 | + @FindBy (xpath ="//*[@id='currPlaceholder']") | |
44 | + WebElement currPlaceholder; | |
45 | + | |
46 | + //CNY | |
47 | + @FindBy (xpath="//*[text()='CNY']") | |
48 | + WebElement CNY; | |
49 | + | |
50 | + //companyName | |
51 | + @FindBy (xpath="//*[@id='companyName']") | |
52 | + WebElement companyName; | |
53 | + | |
54 | + //空白的地方-用于关闭选项框 | |
55 | + @FindBy (xpath ="//*[@class='register-right']") | |
56 | + WebElement blank; | |
57 | + | |
58 | + //区域continent | |
59 | + @FindBy (xpath ="//*[@id='continentPlaceholder']") | |
60 | + WebElement continentPlaceholder; | |
61 | + | |
62 | + //欧洲europe | |
63 | + @FindBy (xpath="//*[text()='Europe']") | |
64 | + WebElement Europe; | |
65 | + | |
66 | + //country | |
67 | + @FindBy (xpath ="//*[@id='countryPlaceholder']") | |
68 | + WebElement country; | |
69 | + | |
70 | + //俄罗斯Russian | |
71 | + @FindBy (xpath ="//*[text()='Russian federation']") | |
72 | + WebElement Russian; | |
73 | + | |
74 | + //contactName | |
75 | + @FindBy (xpath ="//*[@id='contactName']") | |
76 | + WebElement contactName; | |
77 | + | |
78 | + //phone | |
79 | + @FindBy (xpath ="//*[@id='phone']") | |
80 | + WebElement phone; | |
81 | + | |
82 | + //purchaseQuantity | |
83 | + @FindBy (xpath ="//*[@id='purchaseQuantity']") | |
84 | + WebElement purchaseQuantity; | |
85 | + | |
86 | + //quantity | |
87 | + @FindBy (xpath ="//*[contains(text(),'1 000 000 - 2 500 000 USD')]") | |
88 | + WebElement quantity; | |
89 | + | |
90 | + //singleQuantity | |
91 | + @FindBy (xpath ="//*[@id='singleQuantity']") | |
92 | + WebElement singleQuantity; | |
93 | + | |
94 | + //single | |
95 | + @FindBy (xpath ="//*[text()='30-49 ctn']") | |
96 | + WebElement single; | |
97 | + | |
98 | + //select | |
99 | + @FindBy (xpath ="//*[text()='Select']") | |
100 | + WebElement select; | |
101 | + | |
102 | + //toys1 | |
103 | + @FindBy (xpath ="//*[@title='Animals&plants']") | |
104 | + WebElement toys1; | |
105 | + | |
106 | + //toys2 | |
107 | + @FindBy (xpath ="//*[text()='Dolls and accessories']") | |
108 | + WebElement toys2; | |
109 | + | |
110 | + //toys3 | |
111 | + @FindBy (xpath ="//*[text()='Bricks']") | |
112 | + WebElement toys3; | |
113 | + | |
114 | + //referralCode | |
115 | + @FindBy (xpath ="//*[@id='referralCode']") | |
116 | + WebElement referralCode; | |
117 | + | |
118 | + //checkBox | |
119 | + @FindBy (xpath ="//*[@id='protocol']") | |
120 | + WebElement checkbox; | |
121 | + | |
122 | + //Register | |
123 | + @FindBy (xpath ="//*[@id='submit']") | |
124 | + WebElement register; | |
125 | + | |
126 | + /* | |
127 | + * 页面方法 | |
128 | + */ | |
129 | + /** | |
130 | + * 注册 | |
131 | + * @return IndexPage | |
132 | + */ | |
133 | + public IndexPage register() { | |
134 | + SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmm"); | |
135 | + String num = Tools.getTime(); | |
136 | + sendKeys(email, Model.getEmail()); | |
137 | + sendKeys(password, "essa123"); | |
138 | + sendKeys(confirmPassword, "essa123"); | |
139 | + click(currPlaceholder); | |
140 | + click(CNY); | |
141 | + sendKeys(companyName, "Auto"+num); | |
142 | + click(continentPlaceholder); | |
143 | + click(Europe); | |
144 | + click(Russian); | |
145 | + sendKeys(contactName, "Tester"+num); | |
146 | + sendKeys(phone, format.format(new Date())); | |
147 | + forceWait(500); | |
148 | + click(purchaseQuantity); | |
149 | + click(quantity); | |
150 | + forceWait(500); | |
151 | + click(singleQuantity); | |
152 | + click(single); | |
153 | + moveHeightScroll("100"); | |
154 | + jsExecutorClick(select); | |
155 | + click(toys1); | |
156 | + click(toys2); | |
157 | + click(toys3); | |
158 | + click(blank); | |
159 | + sendKeys(referralCode, Model.getInvateCode()); | |
160 | + jsExecutorClick(checkbox); | |
161 | + click(register); | |
162 | + forceWait(3000); | |
163 | + return new IndexPage(driver); | |
164 | + } | |
165 | +} | ... | ... |
src/test/java/com/buyer/pageObject/SettingMarksPage.java
0 → 100644
... | ... | @@ -0,0 +1,45 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * 设置唛头页 | |
12 | + * @author Administrator | |
13 | + * | |
14 | + */ | |
15 | +public class SettingMarksPage extends BasePage { | |
16 | + public SettingMarksPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + //不应用唛头 | |
20 | + @FindBy (xpath ="//*[@title='No shipping marks for these products']") | |
21 | + WebElement noNeedMarks; | |
22 | + | |
23 | + //下一步 | |
24 | + @FindBy (xpath ="//*[text()='Next step']") | |
25 | + WebElement next; | |
26 | + | |
27 | + //弹框提示-确定 | |
28 | + @FindBy (xpath ="//*[text()='OK']") | |
29 | + WebElement ok; | |
30 | + | |
31 | + /** | |
32 | + * 设置唛头:不应用唛头 | |
33 | + * @return SettingStickerPage | |
34 | + */ | |
35 | + public SettingStickerPage setMarks() { | |
36 | + while(!(isVisibility(By.xpath("//*[@title='No shipping marks for these products']")))) { | |
37 | + forceWait(1000); | |
38 | + } | |
39 | + click(noNeedMarks); | |
40 | + click(next); | |
41 | + forceWait(500); | |
42 | + click(ok); | |
43 | + return new SettingStickerPage(driver); | |
44 | + } | |
45 | +} | ... | ... |
src/test/java/com/buyer/pageObject/SettingStickerPage.java
0 → 100644
... | ... | @@ -0,0 +1,43 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *设置贴纸页 | |
13 | + */ | |
14 | +public class SettingStickerPage extends BasePage { | |
15 | + public SettingStickerPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + //不应用贴纸 | |
19 | + @FindBy (xpath ="//*[@title='No stickers for these products']") | |
20 | + WebElement noNeedSticker; | |
21 | + | |
22 | + //下一步 | |
23 | + @FindBy (xpath ="//*[text()='Next step']") | |
24 | + WebElement next; | |
25 | + | |
26 | + //弹框提示-确定 | |
27 | + @FindBy (xpath ="//*[text()='OK']") | |
28 | + WebElement ok; | |
29 | + | |
30 | + /** | |
31 | + * 设置贴纸:不应用贴纸 | |
32 | + * @return OrderPreviewPage | |
33 | + */ | |
34 | + public OrderPreviewPage setSticker() { | |
35 | + while (!(isVisibility(By.xpath("//*[@title='No stickers for these products']")))) { | |
36 | + forceWait(1000); | |
37 | + } | |
38 | + click(noNeedSticker); | |
39 | + click(next); | |
40 | + click(ok); | |
41 | + return new OrderPreviewPage(driver); | |
42 | + } | |
43 | +} | ... | ... |
src/test/java/com/buyer/pageObject/ShoppingCartPage.java
0 → 100644
... | ... | @@ -0,0 +1,70 @@ |
1 | +package com.buyer.pageObject; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * 购物车页 | |
13 | + * @author Administrator | |
14 | + * | |
15 | + */ | |
16 | +public class ShoppingCartPage extends BasePage { | |
17 | + public ShoppingCartPage(WebDriver driver) { | |
18 | + super(driver); | |
19 | + } | |
20 | + /* | |
21 | + * 元素定位 | |
22 | + */ | |
23 | + //关键字查询框 | |
24 | + @FindBy (xpath ="//*[@ng-model='keyword']") | |
25 | + WebElement keyword; | |
26 | + | |
27 | + //查询按钮 | |
28 | + @FindBy (xpath ="//*[contains(@ng-click,'search()')]") | |
29 | + WebElement searchButton; | |
30 | + | |
31 | + //搜索结果的一个sku对应的复选框 | |
32 | + @FindBy (xpath ="//*[contains(@class,'products-list ng-scope')]/div[2]/div[2]/span[1]/input") | |
33 | + WebElement checkbox; | |
34 | + | |
35 | + //可拼柜 | |
36 | + @FindBy (xpath="//*[text()='Consolidation allowed']") | |
37 | + WebElement consolidationAllowed; | |
38 | + | |
39 | + //开始拼柜 | |
40 | + @FindBy (xpath ="//button[contains(text(),' Start consolidation')]") | |
41 | + WebElement startConslidation; | |
42 | + | |
43 | + /* | |
44 | + * 页面方法 | |
45 | + */ | |
46 | + /** | |
47 | + * 断言sku是否已经加入购物车 | |
48 | + * @return true:已加入 false:未加入 | |
49 | + */ | |
50 | + public boolean isSucceed() { | |
51 | + mywait(keyword); | |
52 | + sendKeys(keyword, Model.getSkuNo()); | |
53 | + click(searchButton); | |
54 | + mywait(checkbox); | |
55 | + forceWait(2000); | |
56 | + return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]")); | |
57 | + } | |
58 | + /** | |
59 | + * 开始拼柜 | |
60 | + * @return ConslidationPage | |
61 | + */ | |
62 | + public ConslidationPage startConslidation() { | |
63 | + mywait(keyword); | |
64 | + click(consolidationAllowed); | |
65 | + mywait(startConslidation); | |
66 | + click(startConslidation); | |
67 | + return new ConslidationPage(driver); | |
68 | + } | |
69 | + | |
70 | +} | ... | ... |
src/test/java/com/buyer/testSuite/TestAddToCart.java
0 → 100644
... | ... | @@ -0,0 +1,63 @@ |
1 | +package com.buyer.testSuite; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.support.PageFactory; | |
5 | +import org.testng.annotations.AfterClass; | |
6 | +import org.testng.annotations.BeforeClass; | |
7 | +import org.testng.annotations.Test; | |
8 | +import org.testng.asserts.SoftAssert; | |
9 | + | |
10 | +import com.buyer.pageObject.IndexPage; | |
11 | +import com.buyer.pageObject.KeywordResultPage; | |
12 | +import com.buyer.pageObject.ShoppingCartPage; | |
13 | +import com.essa.framework.Model; | |
14 | +import com.essa.pageObject.BaseTest; | |
15 | + | |
16 | +/** | |
17 | + * @author Administrator | |
18 | + *测试用例:采购商平台采购流程 | |
19 | + */ | |
20 | +public class TestAddToCart extends BaseTest { | |
21 | + WebDriver driver; | |
22 | + | |
23 | + @BeforeClass | |
24 | + public void setUp() { | |
25 | + initBuyer(); | |
26 | + loginBuyerValid(Model.getBuyerAccount(),Model.getBuyerPassword()); | |
27 | +// loginBuyerValid("buyer51551@essa.cn","essa123"); | |
28 | + } | |
29 | + @AfterClass | |
30 | + public void tearDown() { | |
31 | + driver.quit(); | |
32 | + } | |
33 | + | |
34 | + /** | |
35 | + * 关键字查询,并将搜到的结果加入购物车 | |
36 | + */ | |
37 | + @Test(description="关键字搜索,并将sku加入购物车") | |
38 | + public void keywordToCart() { | |
39 | + this.driver = getDriver(); | |
40 | + IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class); | |
41 | + indexPage.keywordSearch(); | |
42 | + KeywordResultPage keywordResultPage = PageFactory.initElements(driver, KeywordResultPage.class); | |
43 | + keywordResultPage.addToCart(); | |
44 | + //断言 | |
45 | + ShoppingCartPage shoppingCartPage = PageFactory.initElements(driver, ShoppingCartPage.class); | |
46 | + boolean actual = shoppingCartPage.isSucceed(); | |
47 | + SoftAssert softAssert = new SoftAssert(); | |
48 | + softAssert.assertEquals(actual, true, "加入购物车失败!"); | |
49 | + softAssert.assertAll(); | |
50 | + } | |
51 | + | |
52 | + /** | |
53 | + * 关键字查询,加入购物车,但不进入购物车,防止提示有人正在操作 | |
54 | + */ | |
55 | + @Test(description="将sku加入购物车") | |
56 | + public void addSku() { | |
57 | + this.driver = getDriver(); | |
58 | + IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class); | |
59 | + indexPage.keywordSearch(); | |
60 | + KeywordResultPage keywordResultPage = PageFactory.initElements(driver, KeywordResultPage.class); | |
61 | + keywordResultPage.addSku(); | |
62 | + } | |
63 | +} | ... | ... |
src/test/java/com/buyer/testSuite/TestRegister.java
0 → 100644
... | ... | @@ -0,0 +1,45 @@ |
1 | +package com.buyer.testSuite; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.support.PageFactory; | |
5 | +import org.testng.annotations.AfterClass; | |
6 | +import org.testng.annotations.BeforeClass; | |
7 | +import org.testng.annotations.Test; | |
8 | +import org.testng.asserts.SoftAssert; | |
9 | + | |
10 | +import com.buyer.pageObject.IndexPage; | |
11 | +import com.buyer.pageObject.RegisterPage; | |
12 | +import com.essa.pageObject.BaseTest; | |
13 | + | |
14 | +/** | |
15 | + * @author Administrator | |
16 | + *测试用例:采购商注册信息填写 | |
17 | + */ | |
18 | +public class TestRegister extends BaseTest{ | |
19 | + WebDriver driver; | |
20 | + | |
21 | + @BeforeClass | |
22 | + public void setUp() { | |
23 | + initBuyer(); | |
24 | + } | |
25 | + | |
26 | + /** | |
27 | + * 注册buyer | |
28 | + */ | |
29 | + @Test(description="填写注册采购商信息,注册采购商") | |
30 | + public void register() { | |
31 | + this.driver = getDriver(); | |
32 | + IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class); | |
33 | + indexPage.toRegisterPage(); | |
34 | + RegisterPage registerPage = PageFactory.initElements(driver, RegisterPage.class); | |
35 | + registerPage.register(); | |
36 | + | |
37 | + SoftAssert softAssert = new SoftAssert(); | |
38 | + softAssert.assertEquals(indexPage.isSucceed(), true, "采购商注册失败了!"); | |
39 | + softAssert.assertAll(); | |
40 | + } | |
41 | + @AfterClass | |
42 | + public void tearDown() { | |
43 | + driver.quit(); | |
44 | + } | |
45 | +} | ... | ... |
... | ... | @@ -0,0 +1,64 @@ |
1 | +package com.buyer.testSuite; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.support.PageFactory; | |
5 | +import org.testng.annotations.AfterClass; | |
6 | +import org.testng.annotations.BeforeClass; | |
7 | +import org.testng.annotations.Test; | |
8 | +import com.buyer.pageObject.ConslidationPage; | |
9 | +import com.buyer.pageObject.IndexPage; | |
10 | +import com.buyer.pageObject.OrderPreviewPage; | |
11 | +import com.buyer.pageObject.PayDepositPage; | |
12 | +import com.buyer.pageObject.SettingMarksPage; | |
13 | +import com.buyer.pageObject.SettingStickerPage; | |
14 | +import com.buyer.pageObject.ShoppingCartPage; | |
15 | +import com.essa.framework.Model; | |
16 | +import com.essa.pageObject.BaseTest; | |
17 | + | |
18 | +/** | |
19 | + * @author Administrator | |
20 | + *测试用例:采购商平台采购流程 | |
21 | + */ | |
22 | +public class TestSendPO extends BaseTest { | |
23 | + WebDriver driver; | |
24 | + | |
25 | + @BeforeClass | |
26 | + public void setUp() { | |
27 | + initBuyer(); | |
28 | + loginBuyerValid(Model.getBuyerAccount(),Model.getBuyerPassword()); | |
29 | +// loginBuyerValid("buyer51551@essa.cn","essa123"); | |
30 | + } | |
31 | + @AfterClass | |
32 | + public void tearDown() { | |
33 | + driver.quit(); | |
34 | + } | |
35 | + | |
36 | + /** | |
37 | + * 开始拼柜 | |
38 | + */ | |
39 | + @Test(description="开始拼柜") | |
40 | + public void conslidation() { | |
41 | + this.driver = getDriver(); | |
42 | + IndexPage indexPage = PageFactory.initElements(driver, IndexPage.class); | |
43 | + indexPage.toShoppingCartPage(); | |
44 | + ShoppingCartPage shoppingCartPage = PageFactory.initElements(driver, ShoppingCartPage.class); | |
45 | + shoppingCartPage.startConslidation(); | |
46 | + ConslidationPage conslidationPage = PageFactory.initElements(driver, ConslidationPage.class); | |
47 | + conslidationPage.conslidation(); | |
48 | + } | |
49 | + /** | |
50 | + * 提交PO | |
51 | + */ | |
52 | + @Test(description="设置贴纸唛头,提交PO") | |
53 | + public void sendPO() { | |
54 | + this.driver = getDriver(); | |
55 | + SettingMarksPage settingMarksPage = PageFactory.initElements(driver, SettingMarksPage.class); | |
56 | + settingMarksPage.setMarks(); | |
57 | + SettingStickerPage settingStickerPage = PageFactory.initElements(driver, SettingStickerPage.class); | |
58 | + settingStickerPage.setSticker(); | |
59 | + OrderPreviewPage orderPreviewPage = PageFactory.initElements(driver, OrderPreviewPage.class); | |
60 | + orderPreviewPage.submit(); | |
61 | + PayDepositPage payDepositPage = PageFactory.initElements(driver, PayDepositPage.class); | |
62 | + payDepositPage.operate(); | |
63 | + } | |
64 | +} | ... | ... |
... | ... | @@ -0,0 +1,74 @@ |
1 | +package com.essa.framework; | |
2 | + | |
3 | +public class DBInfo { | |
4 | + | |
5 | + //sit | |
6 | + public static String sitJdbcName = "com.mysql.cj.jdbc.Driver"; | |
7 | + public static String sitSqlUrl = "jdbc:mysql://192.168.1.247:3307/bpms"; | |
8 | + public static String sitUser = "root"; | |
9 | + public static String sitPassword = "redhat"; | |
10 | + //hotfix | |
11 | + public static String hotfixJdbcName = "com.mysql.cj.jdbc.Driver"; | |
12 | + public static String hotfixSqlUrl = "jdbc:mysql://192.168.1.19:3321/bpms"; | |
13 | + public static String hotfixUser = "essa_hotfix"; | |
14 | + public static String hotfixPassword = "essa^_hotfix^D<K123"; | |
15 | + //dit | |
16 | + public static String ditJdbcName; | |
17 | + public static String ditSqlUrl; | |
18 | + public static String ditUser; | |
19 | + public static String ditPassword; | |
20 | + //uat | |
21 | + public static String uatJdbcName = "com.mysql.cj.jdbc.Driver"; | |
22 | + public static String uatSqlUrl = "jdbc:mysql://112.74.135.97:3325/bpms"; | |
23 | + public static String uatUser = "essa_uat"; | |
24 | + public static String uatPassword = "lXI!RqH6thvmMNNh"; | |
25 | + | |
26 | + public static String getSitJdbcName() { | |
27 | + return sitJdbcName; | |
28 | + } | |
29 | + public static String getSitSqlUrl() { | |
30 | + return sitSqlUrl; | |
31 | + } | |
32 | + public static String getSitUser() { | |
33 | + return sitUser; | |
34 | + } | |
35 | + public static String getSitPassword() { | |
36 | + return sitPassword; | |
37 | + } | |
38 | + public static String getHotfixJdbcName() { | |
39 | + return hotfixJdbcName; | |
40 | + } | |
41 | + public static String getHotfixSqlUrl() { | |
42 | + return hotfixSqlUrl; | |
43 | + } | |
44 | + public static String getHotfixUser() { | |
45 | + return hotfixUser; | |
46 | + } | |
47 | + public static String getHotfixPassword() { | |
48 | + return hotfixPassword; | |
49 | + } | |
50 | + public static String getDitJdbcName() { | |
51 | + return ditJdbcName; | |
52 | + } | |
53 | + public static String getDitSqlUrl() { | |
54 | + return ditSqlUrl; | |
55 | + } | |
56 | + public static String getDitUser() { | |
57 | + return ditUser; | |
58 | + } | |
59 | + public static String getDitPassword() { | |
60 | + return ditPassword; | |
61 | + } | |
62 | + public static String getUatJdbcName() { | |
63 | + return uatJdbcName; | |
64 | + } | |
65 | + public static String getUatSqlUrl() { | |
66 | + return uatSqlUrl; | |
67 | + } | |
68 | + public static String getUatUser() { | |
69 | + return uatUser; | |
70 | + } | |
71 | + public static String getUatPassword() { | |
72 | + return uatPassword; | |
73 | + } | |
74 | +} | ... | ... |
... | ... | @@ -0,0 +1,143 @@ |
1 | +package com.essa.framework; | |
2 | + | |
3 | +import java.sql.Connection; | |
4 | +import java.sql.DriverManager; | |
5 | +import java.sql.ResultSet; | |
6 | +import java.sql.SQLException; | |
7 | + | |
8 | +import com.mysql.cj.api.jdbc.Statement; | |
9 | +import com.mysql.cj.jdbc.CallableStatement; | |
10 | +import com.mysql.cj.jdbc.PreparedStatement; | |
11 | + | |
12 | +public class DButil { | |
13 | + // 数据库驱动名字 | |
14 | + private static String jdbcName = null; | |
15 | + // 数据库协议地址 | |
16 | + private static String dbUrl = null; | |
17 | + // 数据库用户名 | |
18 | + private static String dbUser = null; | |
19 | + // 数据库密码 | |
20 | + private static String dbPassword = null; | |
21 | + | |
22 | + public static Connection getCon() { | |
23 | + Connection conn = null; | |
24 | + if ("SIT".equals(Model.getEnv())) { | |
25 | + try { | |
26 | + jdbcName = DBInfo.getSitJdbcName(); | |
27 | + dbUrl = DBInfo.getSitSqlUrl(); | |
28 | + dbUser = DBInfo.getSitUser(); | |
29 | + dbPassword = DBInfo.getSitPassword(); | |
30 | + Class.forName(jdbcName); | |
31 | + conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword); | |
32 | + return conn; | |
33 | + } catch (Exception e) { | |
34 | + e.printStackTrace(); | |
35 | + } | |
36 | + } else if ("HOTFIX".equals(Model.getEnv())) { | |
37 | + try { | |
38 | + jdbcName = DBInfo.getHotfixJdbcName(); | |
39 | + dbUrl = DBInfo.getHotfixSqlUrl(); | |
40 | + dbUser = DBInfo.getHotfixUser(); | |
41 | + dbPassword = DBInfo.getHotfixPassword(); | |
42 | + Class.forName(jdbcName); | |
43 | + conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword); | |
44 | + return conn; | |
45 | + } catch (Exception e) { | |
46 | + e.printStackTrace(); | |
47 | + } | |
48 | + } else if ("DIT".equals(Model.getEnv())) { | |
49 | + try { | |
50 | + jdbcName = DBInfo.getDitJdbcName(); | |
51 | + dbUrl = DBInfo.getDitSqlUrl(); | |
52 | + dbUser = DBInfo.getDitUser(); | |
53 | + dbPassword = DBInfo.getDitPassword(); | |
54 | + Class.forName(jdbcName); | |
55 | + conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword); | |
56 | + return conn; | |
57 | + } catch (Exception e) { | |
58 | + e.printStackTrace(); | |
59 | + } | |
60 | + } else if ("UAT".equals(Model.getEnv())) { | |
61 | + try { | |
62 | + jdbcName = DBInfo.getUatJdbcName(); | |
63 | + dbUrl = DBInfo.getUatSqlUrl(); | |
64 | + dbUser = DBInfo.getUatUser(); | |
65 | + dbPassword = DBInfo.getUatPassword(); | |
66 | + Class.forName(jdbcName); | |
67 | + conn = DriverManager.getConnection(dbUrl, dbUser, dbPassword); | |
68 | + return conn; | |
69 | + } catch (Exception e) { | |
70 | + e.printStackTrace(); | |
71 | + } | |
72 | + } | |
73 | + return null; | |
74 | + } | |
75 | + | |
76 | + /** | |
77 | + * 关闭连接 | |
78 | + * | |
79 | + * @param stmt | |
80 | + * @param conn | |
81 | + * @throws Exception | |
82 | + */ | |
83 | + public static void close(Statement stmt, Connection conn) throws Exception { | |
84 | + if (stmt != null) { | |
85 | + stmt.close(); | |
86 | + if (conn != null) { | |
87 | + conn.close(); | |
88 | + } | |
89 | + } | |
90 | + } | |
91 | + | |
92 | + /** | |
93 | + * 关闭连接 | |
94 | + * | |
95 | + * @param cstmt | |
96 | + * @param conn | |
97 | + * @throws Exception | |
98 | + */ | |
99 | + public static void close(CallableStatement cstmt, Connection conn) throws Exception { | |
100 | + if (cstmt != null) { | |
101 | + cstmt.close(); | |
102 | + if (conn != null) { | |
103 | + conn.close(); | |
104 | + } | |
105 | + } | |
106 | + } | |
107 | + | |
108 | + /** | |
109 | + * 关闭连接 | |
110 | + * | |
111 | + * @param pstmt | |
112 | + * @param conn | |
113 | + * @throws SQLException | |
114 | + */ | |
115 | + public static void close(PreparedStatement pstmt, Connection conn) throws SQLException { | |
116 | + if (pstmt != null) { | |
117 | + pstmt.close(); | |
118 | + if (conn != null) { | |
119 | + conn.close(); | |
120 | + } | |
121 | + } | |
122 | + } | |
123 | + | |
124 | + /** | |
125 | + * 重载关闭方法 | |
126 | + * | |
127 | + * @param rs | |
128 | + * @param pstmt | |
129 | + * @param conn | |
130 | + * @throws Exception | |
131 | + */ | |
132 | + public static void close(ResultSet rs, PreparedStatement pstmt, Connection conn) throws Exception { | |
133 | + if (rs != null) { | |
134 | + rs.close(); | |
135 | + if (pstmt != null) { | |
136 | + pstmt.close(); | |
137 | + if (conn != null) { | |
138 | + conn.close(); | |
139 | + } | |
140 | + } | |
141 | + } | |
142 | + } | |
143 | +} | ... | ... |
... | ... | @@ -0,0 +1,110 @@ |
1 | +package com.essa.framework; | |
2 | + | |
3 | +/** | |
4 | + * @author Administrator | |
5 | + *pojo对象,用于存储一些运行过程中的变量 | |
6 | + */ | |
7 | +public class Model { | |
8 | + | |
9 | + public static String skuNo;//商品编号 | |
10 | + public static String buyerNo;//采购商编号 | |
11 | + public static String supplierName;//供应商名称 | |
12 | + public static String picPath;//图片路径 | |
13 | + public static String email = "buyer"+Tools.getTime()+"@essa.cn";//采购商邮箱 | |
14 | + public static String invateCode;//邀请码 | |
15 | + public static String env;//所选环境 | |
16 | + public static String buyerAccount;//采购商账号 | |
17 | + public static String buyerPassword;//采购商密码 | |
18 | + public static String poNum;//po单号 | |
19 | + public static int isactivity;//是否是活动商品 1:是 0:否 | |
20 | + | |
21 | + | |
22 | + public static int getIsactivity() { | |
23 | + return isactivity; | |
24 | + } | |
25 | + | |
26 | + public static void setIsactivity(int isactivity) { | |
27 | + Model.isactivity = isactivity; | |
28 | + } | |
29 | + | |
30 | + public static String getPoNum() { | |
31 | + return poNum; | |
32 | + } | |
33 | + | |
34 | + public static void setPoNum(String poNum) { | |
35 | + Model.poNum = poNum; | |
36 | + } | |
37 | + | |
38 | + public static String getBuyerAccount() { | |
39 | + return buyerAccount; | |
40 | + } | |
41 | + | |
42 | + public static void setBuyerAccount(String buyerAccount) { | |
43 | + Model.buyerAccount = buyerAccount; | |
44 | + } | |
45 | + | |
46 | + public static String getBuyerPassword() { | |
47 | + return buyerPassword; | |
48 | + } | |
49 | + | |
50 | + public static void setBuyerPassword(String buyerPassword) { | |
51 | + Model.buyerPassword = buyerPassword; | |
52 | + } | |
53 | + | |
54 | + public static String getEnv() { | |
55 | + return env; | |
56 | + } | |
57 | + | |
58 | + public static void setEnv(String env) { | |
59 | + Model.env = env; | |
60 | + } | |
61 | + | |
62 | + public static String getInvateCode() { | |
63 | + return invateCode; | |
64 | + } | |
65 | + | |
66 | + public static void setInvateCode(String invateCode) { | |
67 | + Model.invateCode = invateCode; | |
68 | + } | |
69 | + | |
70 | + public static String getEmail() { | |
71 | + return email; | |
72 | + } | |
73 | + | |
74 | + public static void setEmail(String email) { | |
75 | + Model.email = email; | |
76 | + } | |
77 | + | |
78 | + public static String getPicPath() { | |
79 | + return picPath; | |
80 | + } | |
81 | + | |
82 | + public static void setPicPath(String picPath) { | |
83 | + Model.picPath = picPath; | |
84 | + } | |
85 | + | |
86 | + public static String getSupplierName() { | |
87 | + return supplierName; | |
88 | + } | |
89 | + | |
90 | + public static void setSupplierName(String supplierName) { | |
91 | + Model.supplierName = supplierName; | |
92 | + } | |
93 | + | |
94 | + public static String getBuyerNo() { | |
95 | + return buyerNo; | |
96 | + } | |
97 | + | |
98 | + public static void setBuyerNo(String buyerNo) { | |
99 | + Model.buyerNo = buyerNo; | |
100 | + } | |
101 | + | |
102 | + public static String getSkuNo() { | |
103 | + return skuNo; | |
104 | + } | |
105 | + | |
106 | + public static void setSkuNo(String No) { | |
107 | + skuNo = No; | |
108 | + } | |
109 | + | |
110 | +} | ... | ... |
... | ... | @@ -0,0 +1,41 @@ |
1 | +package com.essa.framework; | |
2 | + | |
3 | +import java.text.SimpleDateFormat; | |
4 | +import java.util.Date; | |
5 | + | |
6 | +public class Tools { | |
7 | + | |
8 | + /** | |
9 | + * 获取当前时间 | |
10 | + * @return MMdd_HHmmss | |
11 | + */ | |
12 | + public static String getCurrentTime() { | |
13 | + SimpleDateFormat format = new SimpleDateFormat("MMdd_HHmmss"); | |
14 | + Date today = new Date(); | |
15 | + String time = format.format(today); | |
16 | + return time; | |
17 | + } | |
18 | + /** | |
19 | + * 使用当前时间作为工厂货号 | |
20 | + * @return yyyyMMddHHmmss | |
21 | + */ | |
22 | + public static String getFactoryNo() { | |
23 | + SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); | |
24 | + Date today = new Date(); | |
25 | + String time = format.format(today); | |
26 | + return time; | |
27 | + } | |
28 | + | |
29 | + /** | |
30 | + * 获取当前分和秒,另外加一个随机数,作为注册邮箱的区分的数字 | |
31 | + * @return | |
32 | + */ | |
33 | + public static String getTime() { | |
34 | + SimpleDateFormat format = new SimpleDateFormat("mmss"); | |
35 | + Date today = new Date(); | |
36 | + String time = format.format(today); | |
37 | + int i = (int)(1+Math.random()*(10-1+1)); | |
38 | + return time+i; | |
39 | + } | |
40 | + | |
41 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AddMarketGoodsPage.java
0 → 100644
... | ... | @@ -0,0 +1,507 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | +import com.essa.framework.Tools; | |
11 | + | |
12 | +/** | |
13 | + * @author Administrator | |
14 | + *添加市场商品页 | |
15 | + */ | |
16 | +public class AddMarketGoodsPage extends BasePage { | |
17 | + public AddMarketGoodsPage(WebDriver driver) { | |
18 | + super(driver); | |
19 | + } | |
20 | + public static String skuNameNo = null; | |
21 | + /* | |
22 | + * 页面元素定位 | |
23 | + */ | |
24 | + /* | |
25 | + * 元素定位 | |
26 | + */ | |
27 | + //审核人 | |
28 | + @FindBy(xpath="//*[@ng-model='buyerInfo.auditId']") | |
29 | + WebElement auditor; | |
30 | + | |
31 | + //选择供应商 | |
32 | + @FindBy (xpath="//*[@ng-click='supplier()']") | |
33 | + WebElement selectSupplier; | |
34 | + | |
35 | + //供应商查询方式选择 | |
36 | + @FindBy (xpath="//*[@ng-click='showSelect()']") | |
37 | + WebElement showSelect; | |
38 | + | |
39 | + //供应商名称查询 | |
40 | + @FindBy (xpath="//*[contains(@ng-click,'keywordTypeChecked(item)') and @value='name']/..") | |
41 | + WebElement queryByName; | |
42 | + | |
43 | + //查询输入框 | |
44 | + @FindBy (xpath="//*[@ng-keyup='keyupChecked()']") | |
45 | + WebElement queryKeyword; | |
46 | + | |
47 | + //供应商查询按钮 | |
48 | + @FindBy (xpath="//*[@ng-click='search()']") | |
49 | + WebElement search; | |
50 | + | |
51 | + //查询的第一个结果 | |
52 | + @FindBy (xpath="//*[@id='spTableParams']/tbody/tr[1]") | |
53 | + WebElement firstRestult; | |
54 | + | |
55 | + //供应商选择【确定】 | |
56 | + @FindBy (xpath="//*[text()='确定']") | |
57 | + WebElement sureBotton; | |
58 | + | |
59 | + //品牌名称选框 | |
60 | + @FindBy (xpath="//*[text()='品牌名称']/../div[2]/div/div") | |
61 | + WebElement brandName; | |
62 | + | |
63 | + //品牌选项-第一个品牌 | |
64 | + @FindBy (xpath="//*[@class='msgLayer']/li[1]") | |
65 | + WebElement firstBrand; | |
66 | + | |
67 | + //品牌【确定】 | |
68 | + //与供应商选择的确定按钮元素一样,可直接使用 | |
69 | + | |
70 | + //选择类目 | |
71 | + @FindBy(xpath="//*[text()='主类目']/../../div[1]/div") | |
72 | + WebElement selectCategory; | |
73 | + | |
74 | + //玩具类目一级类目 | |
75 | + @FindBy (xpath="//*[@id='undefined_1_switch']") | |
76 | + WebElement oneLevel; | |
77 | + | |
78 | + //动植物二级类目 | |
79 | + @FindBy (xpath="//*[@id='undefined_7_switch']") | |
80 | + WebElement twoLevel; | |
81 | + | |
82 | + //飞行鸟类三级类目 | |
83 | + @FindBy (xpath="//*[text()='飞行鸟类']") | |
84 | + WebElement threeLevel; | |
85 | + | |
86 | + //[主类目]选择 | |
87 | + @FindBy (xpath="//*[contains(@class,'btn btn-success')]") | |
88 | + WebElement mainCategory; | |
89 | + | |
90 | + | |
91 | + /* | |
92 | + * 商品属性 | |
93 | + */ | |
94 | + //商品属性-功能:第二个-遥控 | |
95 | + @FindBy (xpath="//*[text()='功能']/../div[2]/div[2]") | |
96 | + WebElement secondFunction; | |
97 | + | |
98 | + //商品属性-特殊功能:第二个-声控 | |
99 | + @FindBy (xpath="//*[text()='特殊功能']/../div[2]/div[2]") | |
100 | + WebElement secondSpcialFunction; | |
101 | + | |
102 | + //商品属性-外观造型:第一个-仿真 | |
103 | + @FindBy (xpath="//*[text()='外观造型']/../div[2]/div[1]") | |
104 | + WebElement skin; | |
105 | + | |
106 | + //商品属性-是否带人 | |
107 | + @FindBy (xpath="//*[text()='是否带人']/../div[2]/div[1]") | |
108 | + WebElement withPerson; | |
109 | + | |
110 | + //商品属性-适用年龄:第三个-6-18个月 | |
111 | + @FindBy (xpath="//*[text()='适用年龄']/../div[2]/div[3]") | |
112 | + WebElement forAge; | |
113 | + | |
114 | + /* | |
115 | + * 商品信息 | |
116 | + */ | |
117 | + | |
118 | + //品名选择 | |
119 | + @FindBy (xpath="//*[text()='品名']/../div[2]/div") | |
120 | + WebElement selectLanguage; | |
121 | + | |
122 | + //品名语言-英语 | |
123 | + @FindBy (xpath="//*[@class='msg2']/ul[1]/li[2]") | |
124 | + WebElement english; | |
125 | + | |
126 | + //品名输入框 | |
127 | + @FindBy (xpath="//*[text()='品名']/../div[3]/div/input") | |
128 | + WebElement goodsName; | |
129 | + | |
130 | + //工厂货号输入框 | |
131 | + @FindBy (xpath="//*[@ng-model='model.factoryNo']") | |
132 | + WebElement factoryNo; | |
133 | + | |
134 | + //自有版权 | |
135 | + @FindBy (xpath="//*[text()='自有版权']") | |
136 | + WebElement ownCopyright; | |
137 | + | |
138 | + //第三方版权 | |
139 | + @FindBy (xpath="//*[text()='第三方版权']") | |
140 | + WebElement thirdCopyright; | |
141 | + | |
142 | + //无授权 | |
143 | + @FindBy (xpath="//*[text()='无版权']") | |
144 | + WebElement noCopyright; | |
145 | + | |
146 | + //A货 | |
147 | + @FindBy (xpath="//*[text()='A货']") | |
148 | + WebElement AGoods; | |
149 | + | |
150 | + //新品保护期 -第三个:7天 | |
151 | + @FindBy (xpath="//*[@dic-list='新品保护期']/div[3]") | |
152 | + WebElement sevenDays; | |
153 | + | |
154 | + /* | |
155 | + * 商品规格 | |
156 | + */ | |
157 | + | |
158 | + //计量单位-第一个:只 | |
159 | + @FindBy (xpath="//*[@dic-list='计量单位']/div[1]") | |
160 | + WebElement countUnit; | |
161 | + | |
162 | + //外箱 | |
163 | + @FindBy (xpath="//*[text()='外箱']") | |
164 | + WebElement outBox; | |
165 | + | |
166 | + //遥控模式 | |
167 | + @FindBy (xpath="//*[@placeholder='请选择遥控模式']") | |
168 | + WebElement remoteMode; | |
169 | + | |
170 | + //遥控模式:无线电 | |
171 | + @FindBy (xpath="//*[@placeholder='请选择遥控模式']/../../div[3]/div/span[1]") | |
172 | + WebElement remoteMode2; | |
173 | + | |
174 | + //通道 | |
175 | + @FindBy (xpath="//*[@placeholder='请选择通道']") | |
176 | + WebElement thoroughfare; | |
177 | + | |
178 | + //通道:2通 | |
179 | + @FindBy (xpath="//*[@placeholder='请选择通道']/../../div[3]/div/span[1]") | |
180 | + WebElement thoroughfare2; | |
181 | + | |
182 | + //常规功能 | |
183 | + @FindBy (xpath="//*[@placeholder='请选择常规功能']") | |
184 | + WebElement normalFunction; | |
185 | + | |
186 | + //常规功能:灯光 | |
187 | + @FindBy (xpath="//*[@placeholder='请选择常规功能']/../../div[3]/div/span[2]") | |
188 | + WebElement normalFunction2; | |
189 | + | |
190 | + //是否包电 | |
191 | + @FindBy (xpath="//*[@placeholder='请选择是否包电']") | |
192 | + WebElement isBattery; | |
193 | + | |
194 | + //是否包电:包电 | |
195 | + @FindBy (xpath="//*[@placeholder='请选择是否包电']/../../div[3]/div/span[2]") | |
196 | + WebElement isBattery2; | |
197 | + | |
198 | + //是否可充电 | |
199 | + @FindBy (xpath="//*[@placeholder='请选择是否可充电']") | |
200 | + WebElement isCharge; | |
201 | + | |
202 | + //是否可充电:可充电 | |
203 | + @FindBy (xpath="//*[@placeholder='请选择是否可充电']/../../div[3]/div/span[1]") | |
204 | + WebElement isCharge2; | |
205 | + | |
206 | + //配件 | |
207 | + @FindBy (xpath="//*[@placeholder='请选择配件']") | |
208 | + WebElement parts; | |
209 | + | |
210 | + //配件:无 | |
211 | + @FindBy (xpath="//*[@placeholder='请选择配件']/../../div[3]/div/span[1]") | |
212 | + WebElement parts2; | |
213 | + | |
214 | + //包装图案 | |
215 | + @FindBy (xpath="//*[@placeholder='请选择包装图案']") | |
216 | + WebElement pattern; | |
217 | + | |
218 | + //包装图案:无 | |
219 | + @FindBy (xpath="//*[@placeholder='请选择包装图案']/../../div[3]/div/span[1]") | |
220 | + WebElement pattern2; | |
221 | + | |
222 | + //单品或套装 | |
223 | + @FindBy (xpath="//*[@placeholder='请选择单品或套装']") | |
224 | + WebElement suit; | |
225 | + | |
226 | + //单品或套装:单品 | |
227 | + @FindBy (xpath="//*[@placeholder='请选择单品或套装']/../../div[3]/div/span[1]") | |
228 | + WebElement suit2; | |
229 | + | |
230 | + //局部工艺 | |
231 | + @FindBy (xpath="//*[@placeholder='请选择局部工艺']") | |
232 | + WebElement localProcess; | |
233 | + | |
234 | + //局部工艺:无 | |
235 | + @FindBy (xpath="//*[@placeholder='请选择局部工艺']/../../div[3]/div/span[1]") | |
236 | + WebElement localProcess2; | |
237 | + | |
238 | + //颜色 | |
239 | + @FindBy (xpath="//*[@placeholder='请选择颜色']") | |
240 | + WebElement color; | |
241 | + | |
242 | + //颜色 | |
243 | + @FindBy (xpath="//*[@placeholder='请选择颜色']/../../div[3]/div/span[1]") | |
244 | + WebElement color2; | |
245 | + | |
246 | + //装量 | |
247 | + @FindBy (xpath="//*[@placeholder='请选择装量']") | |
248 | + WebElement count; | |
249 | + | |
250 | + //装量:1 | |
251 | + @FindBy (xpath="//*[@placeholder='请选择装量']/../../div[3]/div/span[1]") | |
252 | + WebElement count2; | |
253 | + | |
254 | + //包装类型 | |
255 | + @FindBy (xpath="//*[@placeholder='请选择包装类型']") | |
256 | + WebElement packingType; | |
257 | + | |
258 | + //包装类型:OPP袋 | |
259 | + @FindBy (xpath="//*[@placeholder='请选择包装类型']/../../div[3]/div/span[1]") | |
260 | + WebElement packingType2; | |
261 | + | |
262 | + //包装方式 | |
263 | + @FindBy (xpath="//*[@placeholder='请选择包装方式']") | |
264 | + WebElement packingWay; | |
265 | + | |
266 | + //包装方式:OPP袋 | |
267 | + @FindBy (xpath="//*[@placeholder='请选择包装方式']/../../div[3]/div/span[1]") | |
268 | + WebElement packingWay2; | |
269 | + | |
270 | + //“+”sku按钮 | |
271 | + @FindBy (xpath="//*[@class='addSku']") | |
272 | + WebElement addSku; | |
273 | + | |
274 | + //计数数量 | |
275 | + @FindBy (xpath="//*[@title='计数数量']/div/input") | |
276 | + WebElement skuItemCount; | |
277 | + | |
278 | + //销售MOQ | |
279 | + @FindBy (xpath="//*[@title='销售MOQ']/div/input") | |
280 | + WebElement saleMOQ; | |
281 | + | |
282 | + //供货周期 | |
283 | + @FindBy (xpath="//*[@title='供货周期']/div/input") | |
284 | + WebElement supplyTime; | |
285 | + | |
286 | + //供应商报价 | |
287 | + @FindBy (xpath="//*[@placeholder='单品价格']") | |
288 | + WebElement suppliPrice; | |
289 | + | |
290 | + //横向滚动条1 | |
291 | + @FindBy (xpath="//*[@id='customScroll']") | |
292 | + WebElement widthScroll1; | |
293 | + | |
294 | +// //横向滚动条2,滚动条与内容一起,无法拖动 | |
295 | +// @FindBy (xpath="//*[contains(@id,'table-single-goods-sku')]/..") | |
296 | +// WebElement widthScroll2; | |
297 | + | |
298 | + //外箱体积-长 | |
299 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[2]/input") | |
300 | + WebElement packageLong; | |
301 | + | |
302 | + //外箱体积-宽 | |
303 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[3]/input") | |
304 | + WebElement packageWidth; | |
305 | + | |
306 | + //外箱体积-高 | |
307 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[4]/input") | |
308 | + WebElement packageHigh; | |
309 | + | |
310 | + //毛重 | |
311 | + @FindBy (xpath="//*[@title='毛重']/div/input") | |
312 | + WebElement grossWeight; | |
313 | + | |
314 | + //净重 | |
315 | + @FindBy (xpath="//*[@title='净重']/div/input") | |
316 | + WebElement netWeight; | |
317 | + | |
318 | + //上传图片 | |
319 | + @FindBy (xpath="//*[contains(@handler-obj,'skuPicsHandler')]") | |
320 | + WebElement updatePic; | |
321 | + | |
322 | + //图片上传成功验证 | |
323 | + @FindBy (xpath="//*[contains(@ng-click,'deleteInfo')]") | |
324 | + WebElement isUpudate; | |
325 | + | |
326 | + //提交审核 | |
327 | + @FindBy (xpath="//*[text()='提交审核']") | |
328 | + WebElement submit; | |
329 | + | |
330 | + //提交审核后弹窗--确定按钮 | |
331 | + @FindBy(xpath="//*[text()='确定']") | |
332 | + WebElement confirm; | |
333 | + | |
334 | + //提交审核后弹窗--商品编号 | |
335 | + @FindBy (xpath="//*[@ng-bind='item.no']") | |
336 | + WebElement skuNo; | |
337 | + | |
338 | + /* | |
339 | + * 页面方法 | |
340 | + */ | |
341 | + /** | |
342 | + * 选择供应商 | |
343 | + * @param 供应商名称 | |
344 | + * @throws InterruptedException | |
345 | + */ | |
346 | + public void selectSupplier(){ | |
347 | +// forceWait(2000); | |
348 | +//// isThisPage("选择...", selectSupplier); | |
349 | + dynamicWait(By.xpath("//*[@ng-click='supplier()']")); | |
350 | +// mywait(selectSupplier); | |
351 | + selectElement(auditor, "邢昌勇"); | |
352 | + click(selectSupplier); | |
353 | + click(showSelect); | |
354 | + click(queryByName); | |
355 | + sendKeys(queryKeyword,Model.getSupplierName()); | |
356 | + click(search); | |
357 | + forceWait(1000); | |
358 | + mywait(firstRestult); | |
359 | + click(firstRestult); | |
360 | + click(sureBotton); | |
361 | + } | |
362 | + /** | |
363 | + * 选择品牌 | |
364 | + */ | |
365 | + public void selectBrand() { | |
366 | + forceWait(1000); | |
367 | + click(brandName); | |
368 | + mywait(firstBrand); | |
369 | + click(firstBrand); | |
370 | + click(sureBotton); | |
371 | + } | |
372 | + /** | |
373 | + * 选择主类目 | |
374 | + * 注意:这里只能用js点击事件才能展开那个“+” | |
375 | + * @throws InterruptedException | |
376 | + */ | |
377 | + public void selectCategory(){ | |
378 | + forceWait(1000); | |
379 | + mywait(selectCategory); | |
380 | + click(selectCategory); | |
381 | + jsExecutorClick(oneLevel); | |
382 | + jsExecutorClick(twoLevel); | |
383 | + jsExecutorClick(threeLevel); | |
384 | + jsExecutorClick(mainCategory); | |
385 | + click(sureBotton); | |
386 | + } | |
387 | + /** | |
388 | + * 配置商品属性 | |
389 | + */ | |
390 | + public void goodsProperty() { | |
391 | + mywait(secondFunction); | |
392 | + click(secondFunction); | |
393 | + click(secondSpcialFunction); | |
394 | + click(skin); | |
395 | + click(withPerson); | |
396 | + click(forAge); | |
397 | + } | |
398 | + /** | |
399 | + * 配置商品信息 | |
400 | + */ | |
401 | + public void goodsInfo() { | |
402 | + skuNameNo = Tools.getCurrentTime(); | |
403 | + //挪动滚动条,否则查找不到元素 | |
404 | + moveHeightScroll("40"); | |
405 | + sendKeys(goodsName, "市场"+skuNameNo); | |
406 | + click(selectLanguage); | |
407 | + click(english); | |
408 | + sendKeys(goodsName, "Market"+skuNameNo); | |
409 | + sendKeys(factoryNo, Tools.getFactoryNo()); | |
410 | + click(ownCopyright); | |
411 | + click(sevenDays); | |
412 | + } | |
413 | + /** | |
414 | + * 选择sku属性,并提交 | |
415 | + * @return 商品发布页 | |
416 | + */ | |
417 | + public void goodsSpecifications() { | |
418 | + moveHeightScroll("65"); | |
419 | + click(countUnit); | |
420 | + click(outBox); | |
421 | + click(remoteMode); | |
422 | + click(remoteMode2); | |
423 | + click(thoroughfare); | |
424 | + click(thoroughfare2); | |
425 | + click(normalFunction); | |
426 | + click(normalFunction2); | |
427 | + click(isBattery); | |
428 | + click(isBattery2); | |
429 | + click(isCharge); | |
430 | + click(isCharge2); | |
431 | + click(parts); | |
432 | + click(parts2); | |
433 | + click(pattern); | |
434 | + click(pattern2); | |
435 | + click(suit); | |
436 | + click(suit2); | |
437 | + click(localProcess); | |
438 | + click(localProcess2); | |
439 | + click(color); | |
440 | + click(color2); | |
441 | + click(count); | |
442 | + click(count2); | |
443 | + click(packingType); | |
444 | + click(packingType2); | |
445 | + click(packingWay); | |
446 | + click(packingWay2); | |
447 | + click(addSku); | |
448 | + | |
449 | + sendKeys(skuItemCount, "10"); | |
450 | + sendKeys(saleMOQ, "10"); | |
451 | + sendKeys(supplyTime, "3"); | |
452 | + | |
453 | + //供应商报价,随机生成一个1-200的价格 | |
454 | + int sp = (int)(1+Math.random()*200); | |
455 | + sendKeys(suppliPrice, sp+""); | |
456 | + | |
457 | + jsExecutorDragAndDrop(widthScroll1,2000,0); | |
458 | + mywait(packageLong); | |
459 | + | |
460 | + //外箱体积 | |
461 | + sendKeys(packageLong, "100"); | |
462 | + sendKeys(packageWidth, "50"); | |
463 | + sendKeys(packageHigh, "40"); | |
464 | + //毛重,净重 | |
465 | + sendKeys(grossWeight, "1.5"); | |
466 | + sendKeys(netWeight, "1.2"); | |
467 | + } | |
468 | + | |
469 | + /** | |
470 | + * 上传sku图片并提交审核,确认弹框 | |
471 | + */ | |
472 | + public void updatePic() { | |
473 | + click(updatePic); | |
474 | + uploadFile(Model.getPicPath()); | |
475 | + while(!isElementExist(isUpudate)) { | |
476 | + forceWait(1000); | |
477 | + } | |
478 | + forceWait(1000); | |
479 | + click(submit); | |
480 | + forceWait(1000); | |
481 | + mywait(confirm); | |
482 | + setSkuNo(); | |
483 | + click(confirm); | |
484 | + } | |
485 | + | |
486 | + /** | |
487 | + * 市场商品建档,将上面的方法整合 | |
488 | + * @return MarketGoodsRelesePage | |
489 | + */ | |
490 | + public MarketGoodsRelesePage addMarketGoods() { | |
491 | + selectSupplier(); | |
492 | + selectBrand(); | |
493 | + selectCategory(); | |
494 | + goodsProperty(); | |
495 | + goodsInfo(); | |
496 | + goodsSpecifications(); | |
497 | + updatePic(); | |
498 | + return new MarketGoodsRelesePage(driver); | |
499 | + } | |
500 | + | |
501 | + /** | |
502 | + * 将商品编号写进model | |
503 | + */ | |
504 | + public void setSkuNo() { | |
505 | + Model.setSkuNo(skuNo.getText()); | |
506 | + } | |
507 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AddOriginalGoodsPage.java
0 → 100644
... | ... | @@ -0,0 +1,505 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Tools; | |
10 | + | |
11 | +import bsh.This; | |
12 | + | |
13 | +/** | |
14 | + * 新增原厂商品页面 | |
15 | + * @author Administrator | |
16 | + * | |
17 | + */ | |
18 | +public class AddOriginalGoodsPage extends BasePage { | |
19 | + public AddOriginalGoodsPage(WebDriver driver) { | |
20 | + super(driver); | |
21 | + } | |
22 | + | |
23 | + public static String skuNameNo = null; | |
24 | + public static String supplierName ; | |
25 | + | |
26 | + /* | |
27 | + * 元素定位 | |
28 | + */ | |
29 | + | |
30 | + //选择供应商 | |
31 | + @FindBy (xpath="//*[@ng-click='supplier()']") | |
32 | + WebElement selectSupplier; | |
33 | + | |
34 | + //供应商查询方式选择 | |
35 | + @FindBy (xpath="//*[@ng-click='showSelect()']") | |
36 | + WebElement showSelect; | |
37 | + | |
38 | + //供应商名称查询 | |
39 | + @FindBy (xpath="//*[contains(@ng-click,'keywordTypeChecked(item)') and @value='name']/..") | |
40 | +// @FindBy (xpath="//*[@ng-click='showSelect()']/../ul[1]") | |
41 | + WebElement queryByName; | |
42 | + | |
43 | + //查询输入框 | |
44 | + @FindBy (xpath="//*[@ng-keyup='keyupChecked()']") | |
45 | + WebElement queryKeyword; | |
46 | + | |
47 | + //供应商查询按钮 | |
48 | + @FindBy (xpath="//*[@ng-click='search()']") | |
49 | + WebElement search; | |
50 | + | |
51 | + //查询的第一个结果 | |
52 | + @FindBy (xpath="//*[@id='spTableParams']/tbody/tr[1]") | |
53 | + WebElement firstRestult; | |
54 | + | |
55 | + //供应商选择【确定】 | |
56 | + @FindBy (xpath="//*[text()='确定']") | |
57 | + WebElement sureBotton; | |
58 | + | |
59 | + //品牌名称选框 | |
60 | + @FindBy (xpath="//*[text()='品牌名称']/../div[2]/div/div") | |
61 | + WebElement brandName; | |
62 | + | |
63 | + //品牌选项-第一个品牌 | |
64 | + @FindBy (xpath="//*[@class='msgLayer']/li[1]") | |
65 | + WebElement firstBrand; | |
66 | + | |
67 | + //品牌【确定】 | |
68 | + //与供应商选择的确定按钮元素一样,可直接使用 | |
69 | + | |
70 | + //选择类目 | |
71 | + @FindBy(xpath="//*[text()='主类目']/../../div[1]/div") | |
72 | + WebElement selectCategory; | |
73 | + | |
74 | + //玩具类目一级类目 | |
75 | + @FindBy (xpath="//*[@id='undefined_1_switch']") | |
76 | + WebElement oneLevel; | |
77 | + | |
78 | + //动植物二级类目 | |
79 | + @FindBy (xpath="//*[@id='undefined_7_switch']") | |
80 | + WebElement twoLevel; | |
81 | + | |
82 | + //飞行鸟类三级类目 | |
83 | + @FindBy (xpath="//*[text()='飞行鸟类']") | |
84 | + WebElement threeLevel; | |
85 | + | |
86 | + //[主类目]选择 | |
87 | + @FindBy (xpath="//*[contains(@class,'btn btn-success')]") | |
88 | + WebElement mainCategory; | |
89 | + | |
90 | + | |
91 | + /* | |
92 | + * 商品属性 | |
93 | + */ | |
94 | + //商品属性-功能:第二个-遥控 | |
95 | + @FindBy (xpath="//*[text()='功能']/../div[2]/div[2]") | |
96 | + WebElement secondFunction; | |
97 | + | |
98 | + //商品属性-特殊功能:第二个-声控 | |
99 | + @FindBy (xpath="//*[text()='特殊功能']/../div[2]/div[2]") | |
100 | + WebElement secondSpcialFunction; | |
101 | + | |
102 | + //商品属性-外观造型:第一个-仿真 | |
103 | + @FindBy (xpath="//*[text()='外观造型']/../div[2]/div[1]") | |
104 | + WebElement skin; | |
105 | + | |
106 | + //商品属性-是否带人 | |
107 | + @FindBy (xpath="//*[text()='是否带人']/../div[2]/div[1]") | |
108 | + WebElement withPerson; | |
109 | + | |
110 | + //商品属性-适用年龄:第三个-6-18个月 | |
111 | + @FindBy (xpath="//*[text()='适用年龄']/../div[2]/div[3]") | |
112 | + WebElement forAge; | |
113 | + | |
114 | + /* | |
115 | + * 商品信息 | |
116 | + */ | |
117 | + | |
118 | + //品名选择 | |
119 | + @FindBy (xpath="//*[text()='品名']/../div[2]/div") | |
120 | + WebElement selectLanguage; | |
121 | + | |
122 | + //品名语言-英语 | |
123 | + @FindBy (xpath="//*[@class='msg2']/ul[1]/li[2]") | |
124 | + WebElement english; | |
125 | + | |
126 | + //品名输入框 | |
127 | + @FindBy (xpath="//*[text()='品名']/../div[3]/div/input") | |
128 | + WebElement goodsName; | |
129 | + | |
130 | + //工厂货号输入框 | |
131 | + @FindBy (xpath="//*[@ng-model='model.factoryNo']") | |
132 | + WebElement factoryNo; | |
133 | + | |
134 | + //自有版权 | |
135 | + @FindBy (xpath="//*[text()='自有版权']") | |
136 | + WebElement ownCopyright; | |
137 | + | |
138 | + //第三方版权 | |
139 | + @FindBy (xpath="//*[text()='第三方版权']") | |
140 | + WebElement thirdCopyright; | |
141 | + | |
142 | + //无授权 | |
143 | + @FindBy (xpath="//*[text()='无版权']") | |
144 | + WebElement noCopyright; | |
145 | + | |
146 | + //A货 | |
147 | + @FindBy (xpath="//*[text()='A货']") | |
148 | + WebElement AGoods; | |
149 | + | |
150 | + //新品保护期 -第三个:7天 | |
151 | + @FindBy (xpath="//*[@dic-list='新品保护期']/div[3]") | |
152 | + WebElement sevenDays; | |
153 | + | |
154 | + /* | |
155 | + * 商品规格 | |
156 | + */ | |
157 | + | |
158 | + //计量单位-第一个:只 | |
159 | + @FindBy (xpath="//*[@dic-list='计量单位']/div[1]") | |
160 | + WebElement countUnit; | |
161 | + | |
162 | + //外箱 | |
163 | + @FindBy (xpath="//*[text()='外箱']") | |
164 | + WebElement outBox; | |
165 | + | |
166 | + //遥控模式 | |
167 | + @FindBy (xpath="//*[@placeholder='请选择遥控模式']") | |
168 | + WebElement remoteMode; | |
169 | + | |
170 | + //遥控模式:无线电 | |
171 | + @FindBy (xpath="//*[@placeholder='请选择遥控模式']/../../div[3]/div/span[1]") | |
172 | + WebElement remoteMode2; | |
173 | + | |
174 | + //通道 | |
175 | + @FindBy (xpath="//*[@placeholder='请选择通道']") | |
176 | + WebElement thoroughfare; | |
177 | + | |
178 | + //通道:2通 | |
179 | + @FindBy (xpath="//*[@placeholder='请选择通道']/../../div[3]/div/span[1]") | |
180 | + WebElement thoroughfare2; | |
181 | + | |
182 | + //常规功能 | |
183 | + @FindBy (xpath="//*[@placeholder='请选择常规功能']") | |
184 | + WebElement normalFunction; | |
185 | + | |
186 | + //常规功能:灯光 | |
187 | + @FindBy (xpath="//*[@placeholder='请选择常规功能']/../../div[3]/div/span[2]") | |
188 | + WebElement normalFunction2; | |
189 | + | |
190 | + //是否包电 | |
191 | + @FindBy (xpath="//*[@placeholder='请选择是否包电']") | |
192 | + WebElement isBattery; | |
193 | + | |
194 | + //是否包电:包电 | |
195 | + @FindBy (xpath="//*[@placeholder='请选择是否包电']/../../div[3]/div/span[2]") | |
196 | + WebElement isBattery2; | |
197 | + | |
198 | + //是否可充电 | |
199 | + @FindBy (xpath="//*[@placeholder='请选择是否可充电']") | |
200 | + WebElement isCharge; | |
201 | + | |
202 | + //是否可充电:可充电 | |
203 | + @FindBy (xpath="//*[@placeholder='请选择是否可充电']/../../div[3]/div/span[1]") | |
204 | + WebElement isCharge2; | |
205 | + | |
206 | + //配件 | |
207 | + @FindBy (xpath="//*[@placeholder='请选择配件']") | |
208 | + WebElement parts; | |
209 | + | |
210 | + //配件:无 | |
211 | + @FindBy (xpath="//*[@placeholder='请选择配件']/../../div[3]/div/span[1]") | |
212 | + WebElement parts2; | |
213 | + | |
214 | + //包装图案 | |
215 | + @FindBy (xpath="//*[@placeholder='请选择包装图案']") | |
216 | + WebElement pattern; | |
217 | + | |
218 | + //包装图案:无 | |
219 | + @FindBy (xpath="//*[@placeholder='请选择包装图案']/../../div[3]/div/span[1]") | |
220 | + WebElement pattern2; | |
221 | + | |
222 | + //单品或套装 | |
223 | + @FindBy (xpath="//*[@placeholder='请选择单品或套装']") | |
224 | + WebElement suit; | |
225 | + | |
226 | + //单品或套装:单品 | |
227 | + @FindBy (xpath="//*[@placeholder='请选择单品或套装']/../../div[3]/div/span[1]") | |
228 | + WebElement suit2; | |
229 | + | |
230 | + //局部工艺 | |
231 | + @FindBy (xpath="//*[@placeholder='请选择局部工艺']") | |
232 | + WebElement localProcess; | |
233 | + | |
234 | + //局部工艺:无 | |
235 | + @FindBy (xpath="//*[@placeholder='请选择局部工艺']/../../div[3]/div/span[1]") | |
236 | + WebElement localProcess2; | |
237 | + | |
238 | + //颜色 | |
239 | + @FindBy (xpath="//*[@placeholder='请选择颜色']") | |
240 | + WebElement color; | |
241 | + | |
242 | + //颜色 | |
243 | + @FindBy (xpath="//*[@placeholder='请选择颜色']/../../div[3]/div/span[1]") | |
244 | + WebElement color2; | |
245 | + | |
246 | + //装量 | |
247 | + @FindBy (xpath="//*[@placeholder='请选择装量']") | |
248 | + WebElement count; | |
249 | + | |
250 | + //装量:1 | |
251 | + @FindBy (xpath="//*[@placeholder='请选择装量']/../../div[3]/div/span[1]") | |
252 | + WebElement count2; | |
253 | + | |
254 | + //包装类型 | |
255 | + @FindBy (xpath="//*[@placeholder='请选择包装类型']") | |
256 | + WebElement packingType; | |
257 | + | |
258 | + //包装类型:OPP袋 | |
259 | + @FindBy (xpath="//*[@placeholder='请选择包装类型']/../../div[3]/div/span[1]") | |
260 | + WebElement packingType2; | |
261 | + | |
262 | + //包装方式 | |
263 | + @FindBy (xpath="//*[@placeholder='请选择包装方式']") | |
264 | + WebElement packingWay; | |
265 | + | |
266 | + //包装方式:OPP袋 | |
267 | + @FindBy (xpath="//*[@placeholder='请选择包装方式']/../../div[3]/div/span[1]") | |
268 | + WebElement packingWay2; | |
269 | + | |
270 | + //“+”sku按钮 | |
271 | + @FindBy (xpath="//*[@class='addSku']") | |
272 | + WebElement addSku; | |
273 | + | |
274 | + //计数数量 | |
275 | + @FindBy (xpath="//*[@title='计数数量']/div/input") | |
276 | + WebElement skuItemCount; | |
277 | + | |
278 | + //销售MOQ | |
279 | + @FindBy (xpath="//*[@title='销售MOQ']/div/input") | |
280 | + WebElement saleMOQ; | |
281 | + | |
282 | + //供货周期 | |
283 | + @FindBy (xpath="//*[@title='供货周期']/div/input") | |
284 | + WebElement supplyTime; | |
285 | + | |
286 | + //供应商报价 | |
287 | + @FindBy (xpath="//*[@placeholder='单品价格']") | |
288 | + WebElement suppliPrice; | |
289 | + | |
290 | + //横向滚动条1 | |
291 | + @FindBy (xpath="//*[@id='customScroll']") | |
292 | + WebElement widthScroll1; | |
293 | + | |
294 | +// //横向滚动条2,滚动条与内容一起,无法拖动 | |
295 | +// @FindBy (xpath="//*[contains(@id,'table-single-goods-sku')]/..") | |
296 | +// WebElement widthScroll2; | |
297 | + | |
298 | + //外箱体积-长 | |
299 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[2]/input") | |
300 | + WebElement packageLong; | |
301 | + | |
302 | + //外箱体积-宽 | |
303 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[3]/input") | |
304 | + WebElement packageWidth; | |
305 | + | |
306 | + //外箱体积-高 | |
307 | + @FindBy (xpath="//*[@title='外箱体积(cm)']/div[4]/input") | |
308 | + WebElement packageHigh; | |
309 | + | |
310 | + //毛重 | |
311 | + @FindBy (xpath="//*[@title='毛重']/div/input") | |
312 | + WebElement grossWeight; | |
313 | + | |
314 | + //净重 | |
315 | + @FindBy (xpath="//*[@title='净重']/div/input") | |
316 | + WebElement netWeight; | |
317 | + | |
318 | + //保存 | |
319 | + @FindBy (xpath="//*[text()='保存']") | |
320 | + WebElement save; | |
321 | + | |
322 | + //提示 | |
323 | + @FindBy(xpath="//*[text()='原厂商品保存成功']") | |
324 | + WebElement succeedMessage; | |
325 | + | |
326 | + /* | |
327 | + * 以下为页面方法 | |
328 | + */ | |
329 | + | |
330 | + /** | |
331 | + * 选择供应商 | |
332 | + * @param 供应商名称 | |
333 | + * @throws InterruptedException | |
334 | + */ | |
335 | + public void selectSupplier(String supplierName){ | |
336 | + forceWait(2000); | |
337 | +// isThisPage("选择...", selectSupplier); | |
338 | + dynamicWait(By.xpath("//*[@ng-click='supplier()']")); | |
339 | + click(selectSupplier); | |
340 | + click(showSelect); | |
341 | + click(queryByName); | |
342 | + sendKeys(queryKeyword,supplierName); | |
343 | + click(search); | |
344 | + forceWait(1000); | |
345 | +// mywait(firstRestult); | |
346 | + dynamicWait(By.xpath("//*[@id='spTableParams']/tbody/tr[1]")); | |
347 | + click(firstRestult); | |
348 | + click(sureBotton); | |
349 | + } | |
350 | + | |
351 | + /** | |
352 | + * 选择品牌 | |
353 | + */ | |
354 | + public void selectBrand() { | |
355 | + forceWait(1000); | |
356 | + click(brandName); | |
357 | +// mywait(firstBrand); | |
358 | + dynamicWait(By.xpath("//*[@class='msgLayer']/li[1]")); | |
359 | + click(firstBrand); | |
360 | + click(sureBotton); | |
361 | + } | |
362 | + | |
363 | + /** | |
364 | + * 选择主类目 | |
365 | + * 注意:这里只能用js点击事件才能展开那个“+” | |
366 | + * @throws InterruptedException | |
367 | + */ | |
368 | + public void selectCategory(){ | |
369 | + forceWait(1000); | |
370 | + mywait(selectCategory); | |
371 | + click(selectCategory); | |
372 | + jsExecutorClick(oneLevel); | |
373 | + jsExecutorClick(twoLevel); | |
374 | + jsExecutorClick(threeLevel); | |
375 | + jsExecutorClick(mainCategory); | |
376 | + click(sureBotton); | |
377 | + } | |
378 | + | |
379 | + /** | |
380 | + * 配置商品属性 | |
381 | + */ | |
382 | + public void goodsProperty() { | |
383 | + mywait(secondFunction); | |
384 | + click(secondFunction); | |
385 | + click(secondSpcialFunction); | |
386 | + click(skin); | |
387 | + click(withPerson); | |
388 | + click(forAge); | |
389 | + } | |
390 | + | |
391 | + /** | |
392 | + * 配置商品信息 | |
393 | + */ | |
394 | + public void goodsInfo() { | |
395 | + skuNameNo = Tools.getCurrentTime(); | |
396 | + //挪动滚动条,否则查找不到元素 | |
397 | + moveHeightScroll("40"); | |
398 | + sendKeys(goodsName, "原厂"+skuNameNo); | |
399 | + click(selectLanguage); | |
400 | + click(english); | |
401 | + sendKeys(goodsName, "Original"+skuNameNo); | |
402 | + sendKeys(factoryNo, Tools.getFactoryNo()); | |
403 | + click(ownCopyright); | |
404 | + click(sevenDays); | |
405 | + } | |
406 | + | |
407 | + /** | |
408 | + * 选择sku属性,并提交 | |
409 | + * @return 商品发布页 | |
410 | + */ | |
411 | + public GoodsRelesePage goodsSpecifications() { | |
412 | + moveHeightScroll("65"); | |
413 | + click(countUnit); | |
414 | + click(outBox); | |
415 | + click(remoteMode); | |
416 | + click(remoteMode2); | |
417 | + click(thoroughfare); | |
418 | + click(thoroughfare2); | |
419 | + click(normalFunction); | |
420 | + click(normalFunction2); | |
421 | + click(isBattery); | |
422 | + click(isBattery2); | |
423 | + click(isCharge); | |
424 | + click(isCharge2); | |
425 | + click(parts); | |
426 | + click(parts2); | |
427 | + click(pattern); | |
428 | + click(pattern2); | |
429 | + click(suit); | |
430 | + click(suit2); | |
431 | + click(localProcess); | |
432 | + click(localProcess2); | |
433 | + click(color); | |
434 | + click(color2); | |
435 | + click(count); | |
436 | + click(count2); | |
437 | + click(packingType); | |
438 | + click(packingType2); | |
439 | + click(packingWay); | |
440 | + click(packingWay2); | |
441 | + click(addSku); | |
442 | + | |
443 | + sendKeys(skuItemCount, "10"); | |
444 | + sendKeys(saleMOQ, "10"); | |
445 | + sendKeys(supplyTime, "3"); | |
446 | + | |
447 | + //供应商报价,随机生成一个1-200的价格 | |
448 | + int sp = (int)(1+Math.random()*200); | |
449 | + sendKeys(suppliPrice, sp+""); | |
450 | + | |
451 | + jsExecutorDragAndDrop(widthScroll1,2000,0); | |
452 | + mywait(packageLong); | |
453 | + | |
454 | + //外箱体积 | |
455 | + sendKeys(packageLong, "100"); | |
456 | + sendKeys(packageWidth, "50"); | |
457 | + sendKeys(packageHigh, "40"); | |
458 | + //毛重,净重 | |
459 | + sendKeys(grossWeight, "1.5"); | |
460 | + sendKeys(netWeight, "1.2"); | |
461 | + | |
462 | + click(save); | |
463 | + return new GoodsRelesePage(driver); | |
464 | + } | |
465 | + | |
466 | + /** | |
467 | + * 原厂商品建档,将上面的方法整合 | |
468 | + * @param supplierName | |
469 | + * @return | |
470 | + * @throws InterruptedException | |
471 | + */ | |
472 | + public GoodsRelesePage addOriginalGoods() { | |
473 | + selectSupplier(supplierName); | |
474 | + selectBrand(); | |
475 | + selectCategory(); | |
476 | + goodsProperty(); | |
477 | + goodsInfo(); | |
478 | + goodsSpecifications(); | |
479 | + return new GoodsRelesePage(driver); | |
480 | + } | |
481 | + | |
482 | + /** | |
483 | + * 用于断言是否商品建档成功 | |
484 | + * @return boolean | |
485 | + */ | |
486 | + public boolean isSucceed() { | |
487 | + return isElementExist(succeedMessage); | |
488 | + } | |
489 | + | |
490 | + /** | |
491 | + * 返回商品名称后面的那串数字 | |
492 | + * @return | |
493 | + */ | |
494 | + public static String getSkuNameNo() { | |
495 | + return skuNameNo; | |
496 | + } | |
497 | + | |
498 | + /** | |
499 | + * 通过GUI设置供应商名称 | |
500 | + * @param suppliername | |
501 | + */ | |
502 | + public static void setSupplierName(String suppliername) { | |
503 | + supplierName = suppliername; | |
504 | + } | |
505 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AuditMarketGoodsPage.java
0 → 100644
... | ... | @@ -0,0 +1,70 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *审核市场商品列表页 | |
14 | + */ | |
15 | +public class AuditMarketGoodsPage extends BasePage { | |
16 | + public AuditMarketGoodsPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + | |
23 | + /*搜索控件*/ | |
24 | + //采购商编号 | |
25 | + @FindBy (xpath="//*[@placeholder='请输入采购商编号']") | |
26 | + WebElement buyerNo; | |
27 | + | |
28 | + //sku编号 | |
29 | + @FindBy (xpath="//*[contains(@placeholder,'请输入多个商品编号')]") | |
30 | + WebElement skuNo; | |
31 | + | |
32 | + //查询 | |
33 | + @FindBy (xpath="//*[text()='查询']") | |
34 | + WebElement search; | |
35 | + | |
36 | + //搜索结果-第一个复选框 | |
37 | + @FindBy (xpath="//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input") | |
38 | + WebElement firstCheckBox; | |
39 | + | |
40 | + //审核按钮 | |
41 | + @FindBy (xpath="//*[text()='审核']") | |
42 | + WebElement audit; | |
43 | + | |
44 | + /* | |
45 | + * 页面方法 | |
46 | + */ | |
47 | + /** | |
48 | + * 选择要审核的商品,并点击审核按钮 | |
49 | + * @return AuditMarketOpreatePage | |
50 | + */ | |
51 | + public AuditMarketOpreatePage auditMarketGoods() { | |
52 | + forceWait(500); | |
53 | + sendKeys(skuNo, Model.getSkuNo()); | |
54 | + click(search); | |
55 | + forceWait(1000); | |
56 | + mywait(firstCheckBox); | |
57 | + click(firstCheckBox); | |
58 | + click(audit); | |
59 | + return new AuditMarketOpreatePage(driver); | |
60 | + } | |
61 | + | |
62 | + /** | |
63 | + * 如果审核成功,返回false,列表中已经不存在该待审核sku | |
64 | + * @return boolean | |
65 | + */ | |
66 | + public boolean isSucceed() { | |
67 | + forceWait(1500); | |
68 | + return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]")); | |
69 | + } | |
70 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AuditMarketOpreatePage.java
0 → 100644
... | ... | @@ -0,0 +1,34 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | + | |
9 | +/** | |
10 | + * @author Administrator | |
11 | + *审核市场商品操作页,点击审核的那个页面 | |
12 | + */ | |
13 | +public class AuditMarketOpreatePage extends BasePage { | |
14 | + public AuditMarketOpreatePage(WebDriver driver) { | |
15 | + super(driver); | |
16 | + } | |
17 | + /*元素定位*/ | |
18 | + | |
19 | + //审核通过 | |
20 | + @FindBy(xpath="//*[text()='审核通过']") | |
21 | + WebElement pass; | |
22 | + | |
23 | + /*页面方法*/ | |
24 | + /** | |
25 | + * 审核通过 | |
26 | + * @return | |
27 | + */ | |
28 | + public AuditMarketGoodsPage auditPass() { | |
29 | + forceWait(2000); | |
30 | + moveHeightScroll("100"); | |
31 | + click(pass); | |
32 | + return new AuditMarketGoodsPage(driver); | |
33 | + } | |
34 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AuditOriginalGoodsPage.java
0 → 100644
... | ... | @@ -0,0 +1,74 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *审核原厂商品列表页 | |
13 | + */ | |
14 | +public class AuditOriginalGoodsPage extends BasePage { | |
15 | + public AuditOriginalGoodsPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + | |
23 | + //第一个复选框,同时也是检查点 | |
24 | + @FindBy(xpath="//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input") | |
25 | + WebElement checkBox; | |
26 | + | |
27 | + /** | |
28 | + * 根据商品名称获得其复选框 | |
29 | + * @return WebElement | |
30 | + */ | |
31 | + private WebElement getCheckBox() { | |
32 | + String no = AddOriginalGoodsPage.getSkuNameNo(); | |
33 | + return driver.findElement(By.xpath("//*[contains(@class,'col-sm-') and contains(text(),'"+no+"')]/../../../../td[1]/input")); | |
34 | + } | |
35 | + | |
36 | + //审核 | |
37 | + @FindBy(xpath="//*[text()='审核']") | |
38 | + WebElement audit; | |
39 | + | |
40 | + //批量通过并上架 | |
41 | + @FindBy(xpath="//*[text()='批量通过并上架']") | |
42 | + WebElement batchAudit; | |
43 | + | |
44 | + /* | |
45 | + * 页面方法 | |
46 | + */ | |
47 | + | |
48 | + /** | |
49 | + * 选择商品,并进入审核页面 | |
50 | + * @return AuditOriginalOpreatePage | |
51 | + */ | |
52 | + public AuditOriginalOpreatePage toAuditOriginalSku() { | |
53 | +// forceWait(2000); | |
54 | +// mywait(checkBox); | |
55 | + dynamicWait(By.xpath("//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input")); | |
56 | + click(getCheckBox()); | |
57 | + click(audit); | |
58 | + return new AuditOriginalOpreatePage(driver); | |
59 | + } | |
60 | + | |
61 | + /** | |
62 | + * 用于断言列表是否有要找的商品 | |
63 | + * @return boolean | |
64 | + */ | |
65 | + public boolean isSucceed() { | |
66 | +// mywait(checkBox); | |
67 | +// forceWait(2000); | |
68 | + dynamicWait(By.xpath("//*[@ng-table='tableParams']/tbody[1]/tr[1]/td[1]/input")); | |
69 | + String SkuNameNo = AddOriginalGoodsPage.getSkuNameNo(); | |
70 | + boolean b = isVisibility(By.xpath("//*[contains(text(),'"+SkuNameNo+"')]")); | |
71 | + return b; | |
72 | + } | |
73 | + | |
74 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/AuditOriginalOpreatePage.java
0 → 100644
... | ... | @@ -0,0 +1,52 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | + | |
9 | +/** | |
10 | + * @author Administrator | |
11 | + *审核原厂商品页面 | |
12 | + */ | |
13 | +public class AuditOriginalOpreatePage extends BasePage { | |
14 | + public AuditOriginalOpreatePage(WebDriver driver) { | |
15 | + super(driver); | |
16 | + } | |
17 | + /* | |
18 | + * 元素定位 | |
19 | + */ | |
20 | + | |
21 | + //审核通过 | |
22 | + @FindBy(xpath="//*[text()='审核通过']") | |
23 | + WebElement pass; | |
24 | + | |
25 | + //审核通过提示语 | |
26 | + @FindBy(xpath="//*[text()='商品审核已通过'") | |
27 | + WebElement succeedMessage; | |
28 | + | |
29 | + /* | |
30 | + * 页面方法 | |
31 | + */ | |
32 | + | |
33 | + /** | |
34 | + * 挪动滚动条至底部,点击审核通过 | |
35 | + * @return AuditOriginalGoodsPage | |
36 | + */ | |
37 | + public AuditOriginalGoodsPage auditPass() { | |
38 | + forceWait(2000); | |
39 | + moveHeightScroll("100"); | |
40 | + click(pass); | |
41 | + return new AuditOriginalGoodsPage(driver); | |
42 | + } | |
43 | + | |
44 | + /** | |
45 | + * 用于断言商品审核是否通过 | |
46 | + * @return boolean | |
47 | + */ | |
48 | + public boolean isSucceed() { | |
49 | + return isElementExist(succeedMessage); | |
50 | + } | |
51 | + | |
52 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/EditSpuPage.java
0 → 100644
... | ... | @@ -0,0 +1,45 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | + | |
9 | +/** | |
10 | + * @author Administrator | |
11 | + *编辑spu页 | |
12 | + */ | |
13 | +public class EditSpuPage extends BasePage { | |
14 | + public EditSpuPage(WebDriver driver) { | |
15 | + super(driver); | |
16 | + } | |
17 | + /* | |
18 | + * 页面元素定位 | |
19 | + */ | |
20 | + | |
21 | + //上传图片 | |
22 | + @FindBy(xpath="//*[@class='webuploader-element-invisible']/../label") | |
23 | + WebElement upDatePic; | |
24 | + | |
25 | + //保存 | |
26 | + @FindBy(xpath="//*[text()='保存']") | |
27 | + WebElement save; | |
28 | + | |
29 | + /* | |
30 | + * 页面方法 | |
31 | + */ | |
32 | + | |
33 | + /** | |
34 | + * 编辑spu图片 | |
35 | + * @return GoodsRelesePage | |
36 | + * @throws InterruptedException | |
37 | + */ | |
38 | + public GoodsRelesePage editSpuPic() throws InterruptedException { | |
39 | + moveHeightScroll("30"); | |
40 | + jsExecutorClick(upDatePic); | |
41 | + moveHeightScroll("0"); | |
42 | + click(save); | |
43 | + return new GoodsRelesePage(driver); | |
44 | + } | |
45 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/GoodsBankPage.java
0 → 100644
... | ... | @@ -0,0 +1,49 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import com.essa.framework.BasePage; | |
7 | +import com.essa.framework.Model; | |
8 | + | |
9 | +/** | |
10 | + * @author Administrator | |
11 | + *商品库页 | |
12 | + */ | |
13 | +public class GoodsBankPage extends BasePage { | |
14 | + public GoodsBankPage(WebDriver driver) { | |
15 | + super(driver); | |
16 | + } | |
17 | + /* | |
18 | + * 页面元素定位 | |
19 | + */ | |
20 | + | |
21 | + //商品名称 | |
22 | + private WebElement getSkuName() { | |
23 | + String no = AddOriginalGoodsPage.skuNameNo; | |
24 | + return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]")); | |
25 | + } | |
26 | + | |
27 | + //商品编号 | |
28 | + private WebElement getSkuNo() { | |
29 | + String no = AddOriginalGoodsPage.skuNameNo; | |
30 | + return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]/../li[3]")); | |
31 | + } | |
32 | + | |
33 | + /* | |
34 | + * 页面方法 | |
35 | + */ | |
36 | + | |
37 | + /** | |
38 | + * 获取商品编号 | |
39 | + * @return No | |
40 | + */ | |
41 | + public String getNo() { | |
42 | +// forceWait(2000); | |
43 | +// mywait(getSkuName()); | |
44 | + dynamicWait(By.xpath("//*[@id='undercarriageGoods']/tbody[1]/tr[1]/td[1]/input")); | |
45 | + String skuNo = getSkuNo().getText(); | |
46 | + Model.setSkuNo(skuNo); | |
47 | + return skuNo; | |
48 | + } | |
49 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/GoodsRelesePage.java
0 → 100644
... | ... | @@ -0,0 +1,89 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *商品发布管理 | |
13 | + */ | |
14 | +public class GoodsRelesePage extends BasePage { | |
15 | + public GoodsRelesePage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + /* | |
19 | + * 元素定位 | |
20 | + */ | |
21 | + | |
22 | + //商品发布--检查点 | |
23 | + @FindBy(xpath="//*[text()='商品发布']") | |
24 | + WebElement checkPoint; | |
25 | + | |
26 | + /* | |
27 | + //勾选第1个复选框--后续最好根据商品名称来定位勾选框 | |
28 | + @FindBy(xpath="//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input") | |
29 | + WebElement checkBox; | |
30 | + */ | |
31 | + | |
32 | + /** | |
33 | + * 根据商品名称获得其复选框 | |
34 | + * @return | |
35 | + */ | |
36 | + private WebElement getCheckBox() { | |
37 | + String no = AddOriginalGoodsPage.getSkuNameNo(); | |
38 | + return driver.findElement(By.xpath("//*[contains(text(),'"+no+"')]/../../td[1]/input")); | |
39 | + } | |
40 | + | |
41 | + //图片更新 | |
42 | + @FindBy(xpath="//*[contains(text(),'图片更新')]") | |
43 | + WebElement updatePic; | |
44 | + | |
45 | + //编辑 | |
46 | + @FindBy(xpath="//*[contains(text(),'编辑')]") | |
47 | + WebElement edit; | |
48 | + | |
49 | + /* | |
50 | + * 页面方法 | |
51 | + */ | |
52 | + | |
53 | + /** | |
54 | + * 进入更新图片页面 | |
55 | + * @return UpdatePicPage | |
56 | + */ | |
57 | + public UpdatePicPage toUpDatePic() { | |
58 | + forceWait(1000); | |
59 | + isThisPage("商品发布", checkPoint); | |
60 | + dynamicWait(By.xpath("//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input")); | |
61 | + click(getCheckBox()); | |
62 | + click(updatePic); | |
63 | + return new UpdatePicPage(driver); | |
64 | + } | |
65 | + | |
66 | + /** | |
67 | + * 进入编辑页面 | |
68 | + * @return EditSpuPage | |
69 | + * @throws InterruptedException | |
70 | + */ | |
71 | + public EditSpuPage toEditSpuPage() { | |
72 | + isThisPage("商品发布", checkPoint); | |
73 | + click(getCheckBox()); | |
74 | + click(edit); | |
75 | + return new EditSpuPage(driver); | |
76 | + } | |
77 | + | |
78 | + /** | |
79 | + * 断言商品建档是否成功 | |
80 | + * @return boolean | |
81 | + */ | |
82 | + public boolean isAddOrignalSucceed() { | |
83 | + forceWait(1000); | |
84 | + dynamicWait(By.xpath("//*[@ng-table='preUploadCtrlTableParams']/tbody[1]/tr[1]/td[1]/input")); | |
85 | + String SkuNameNo = AddOriginalGoodsPage.getSkuNameNo(); | |
86 | + //由于@findby只能输入常量,不能输入变量,所以这里用最底层的方法来寻找元素 | |
87 | + return isVisibility((driver.findElement(By.xpath("//*[contains(text(),'"+SkuNameNo+"')]")))); | |
88 | + } | |
89 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/MarketGoodsRelesePage.java
0 → 100644
... | ... | @@ -0,0 +1,54 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | +import com.essa.framework.Model; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *市场商品发布页 | |
13 | + */ | |
14 | +public class MarketGoodsRelesePage extends BasePage { | |
15 | + | |
16 | + public MarketGoodsRelesePage (WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 页面元素定位 | |
21 | + */ | |
22 | + | |
23 | + //采购商编号 | |
24 | + @FindBy (xpath="//*[@placeholder='请输入采购商编号']") | |
25 | + WebElement buyerNo; | |
26 | + | |
27 | + //查询按钮 | |
28 | + @FindBy (xpath="//*[text()='查询']") | |
29 | + WebElement search; | |
30 | + | |
31 | + //市场商品发布--列表第一个 | |
32 | + @FindBy (xpath="//*[@id='tableViewList']/div/div/div/div[2]/table/tbody/tr[1]/td[9]/button") | |
33 | + WebElement goodsRelese1; | |
34 | + | |
35 | + /* | |
36 | + * 页面方法 | |
37 | + */ | |
38 | + /** | |
39 | + * 选择采购商,点击市场发布,进入市场商品建档页面 | |
40 | + * @return AddMarketGoodsPage | |
41 | + */ | |
42 | + public AddMarketGoodsPage toAddMarketGoodsPage() { | |
43 | + mywait(goodsRelese1); | |
44 | + sendKeys(buyerNo, Model.getBuyerNo()); | |
45 | + click(search); | |
46 | + forceWait(1000); | |
47 | + mywait(goodsRelese1); | |
48 | + click(goodsRelese1); | |
49 | + forceWait(1000); | |
50 | + switchWindow(); | |
51 | + return new AddMarketGoodsPage(driver); | |
52 | + } | |
53 | + | |
54 | +} | ... | ... |
src/test/java/com/essa/pageObject/GoodsManage/UpdatePicPage.java
0 → 100644
... | ... | @@ -0,0 +1,97 @@ |
1 | +package com.essa.pageObject.GoodsManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *更新图片 | |
13 | + */ | |
14 | +public class UpdatePicPage extends BasePage { | |
15 | + public UpdatePicPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + public static String picPath; | |
19 | + | |
20 | + /* | |
21 | + * 元素定位 | |
22 | + */ | |
23 | + | |
24 | + //检查点 | |
25 | + @FindBy(xpath="//*[text()='SPU信息']") | |
26 | + WebElement checkPoint; | |
27 | + | |
28 | + //spu上传图片按钮 | |
29 | + @FindBy(xpath="//*[@id='spuWrapper']/div[3]/div[2]") | |
30 | + WebElement spuUploadPic; | |
31 | + | |
32 | + //spu的主图 | |
33 | + @FindBy(xpath="//*[@class='load-pic']") | |
34 | + WebElement spuPic; | |
35 | + | |
36 | + //sku上传图片按钮 | |
37 | + @FindBy(xpath="//*[@id='skuWrapper']/div/div/div[1]/div[2]") | |
38 | + WebElement skuUploadPic; | |
39 | + | |
40 | + //SKU图片上的X | |
41 | + @FindBy(xpath="//*[contains(@ng-click,'picInfo,')]") | |
42 | + WebElement skuPic; | |
43 | + | |
44 | + //保存按钮 | |
45 | + @FindBy(xpath="//*[text()='保存']") | |
46 | + WebElement save; | |
47 | + | |
48 | + //保存成功提示 | |
49 | + @FindBy(xpath="保存成功") | |
50 | + WebElement succeedMessage; | |
51 | + | |
52 | + /* | |
53 | + * 以下为页面方法 | |
54 | + */ | |
55 | + | |
56 | + /** | |
57 | + * 更新商品图片 | |
58 | + * @param picPath 作为商品图片的本机地址 | |
59 | + * @return GoodsRelesePage | |
60 | + */ | |
61 | + public GoodsRelesePage upDatePic() { | |
62 | + forceWait(2000); | |
63 | +// isThisPage("SPU信息", checkPoint); | |
64 | + dynamicWait(By.xpath("//*[text()='SPU信息']")); | |
65 | + click(spuUploadPic); | |
66 | + uploadFile(picPath); | |
67 | + //如果spu图片还在上传,则等待2秒 | |
68 | + while(!isElementExist(spuPic)) { | |
69 | + forceWait(2000); | |
70 | + } | |
71 | + click(skuUploadPic); | |
72 | + uploadFile(picPath); | |
73 | + //如果默认的sku图片还存在,说明图片还在上传,继续等待 | |
74 | + while (!isElementExist(skuPic)) { | |
75 | + forceWait(2000); | |
76 | + } | |
77 | + forceWait(1000); | |
78 | + click(save); | |
79 | + return new GoodsRelesePage(driver); | |
80 | + } | |
81 | + | |
82 | + /** | |
83 | + * 断言更新图片是否成功 | |
84 | + * @return | |
85 | + */ | |
86 | + public boolean isSucceed() { | |
87 | + return isElementExist(succeedMessage); | |
88 | + } | |
89 | + | |
90 | + /** | |
91 | + * 通过GUI设置本机图片路径 | |
92 | + * @param picpath | |
93 | + */ | |
94 | + public static void setPicPath(String picpath) { | |
95 | + picPath = picpath; | |
96 | + } | |
97 | +} | ... | ... |
src/test/java/com/essa/pageObject/buyPlaneManage/SkuCategoryManagerCongfigPage.java
0 → 100644
... | ... | @@ -0,0 +1,85 @@ |
1 | +package com.essa.pageObject.buyPlaneManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | +import com.essa.framework.Model; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *商品类目经理管理配置页 | |
13 | + */ | |
14 | +public class SkuCategoryManagerCongfigPage extends BasePage { | |
15 | + public SkuCategoryManagerCongfigPage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + /* | |
19 | + * 页面元素定位 | |
20 | + */ | |
21 | + | |
22 | + //查询输入框 | |
23 | + @FindBy (xpath="//*[@placeholder='请输入关键信息查询']") | |
24 | + WebElement searchContent; | |
25 | + | |
26 | + //高级查询 | |
27 | + @FindBy (xpath="//*[contains(text(),'高级查询')]") | |
28 | + WebElement advancedQuery; | |
29 | + | |
30 | + //sku编号 | |
31 | + @FindBy (xpath="//*[contains(text(),'SKU编号')]/../div/input") | |
32 | + WebElement skuNoQuery; | |
33 | + | |
34 | + //高级查询按钮 | |
35 | + @FindBy (xpath="//*[text()='查询']") | |
36 | + WebElement query; | |
37 | + | |
38 | + //查询按钮 | |
39 | + @FindBy (xpath="//*[@ng-click='search()']") | |
40 | + WebElement search; | |
41 | + | |
42 | + //右下角分页的GO按钮,用作检查点,等待页面加载完成 | |
43 | + @FindBy (xpath="//*[text()='GO']") | |
44 | + WebElement checkPoint; | |
45 | + | |
46 | + //列表第一条数据的复选框 | |
47 | + @FindBy (xpath="//*[@ng-table='tableParams']/tbody/tr[1]/td[1]/input") | |
48 | + WebElement firstCheckBox; | |
49 | + | |
50 | + //分配类目经理 | |
51 | + @FindBy (xpath="//*[text()='分配类目经理']") | |
52 | + WebElement distribute; | |
53 | + | |
54 | + //选择类目经理 | |
55 | + @FindBy (xpath="//*[@ng-model='mgrOpt']") | |
56 | + WebElement selectManager; | |
57 | + | |
58 | + //确认类目经理 | |
59 | + @FindBy(xpath="//*[text()='确认']") | |
60 | + WebElement confirm; | |
61 | + | |
62 | + /* | |
63 | + * 页面方法 | |
64 | + */ | |
65 | + /** | |
66 | + * 商品分配类目经理 | |
67 | + * @return SkuCategoryManagerCongfigPage | |
68 | + */ | |
69 | + public SkuCategoryManagerCongfigPage distributeManager() { | |
70 | + forceWait(1000); | |
71 | + mywait(advancedQuery); | |
72 | + click(advancedQuery); | |
73 | + sendKeys(skuNoQuery, Model.getSkuNo()); | |
74 | +// sendKeys(skuNoQuery, "200299305"); | |
75 | + click(query); | |
76 | + mywait(firstCheckBox); | |
77 | + click(firstCheckBox); | |
78 | + click(distribute); | |
79 | + mywait(confirm); | |
80 | + selectElement(selectManager, "林荣"); | |
81 | +// forceWait(1000); | |
82 | + click(confirm); | |
83 | + return new SkuCategoryManagerCongfigPage(driver); | |
84 | + } | |
85 | +} | ... | ... |
src/test/java/com/essa/pageObject/buyerManage/InvateCodePage.java
0 → 100644
... | ... | @@ -0,0 +1,69 @@ |
1 | +package com.essa.pageObject.buyerManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | +import com.essa.framework.Model; | |
9 | + | |
10 | +/** | |
11 | + * @author Administrator | |
12 | + *邀请码生成页面 | |
13 | + */ | |
14 | +public class InvateCodePage extends BasePage { | |
15 | + public InvateCodePage(WebDriver driver) { | |
16 | + super(driver); | |
17 | + } | |
18 | + /* | |
19 | + * 元素定位 | |
20 | + */ | |
21 | + | |
22 | + //第一个业务员复选框 | |
23 | + @FindBy(xpath ="//*[text()='选择人员']/../div/dl/dd[1]/b/input") | |
24 | + WebElement firstCheckbox; | |
25 | + | |
26 | + //推广方式 | |
27 | + @FindBy (xpath="//select[contains(@ng-change,'changeChannelList')]") | |
28 | + WebElement spreadForm; | |
29 | + | |
30 | + //推广渠道 | |
31 | + @FindBy (xpath="//select[@ng-model='parame.create.promoteChannelId']") | |
32 | + WebElement spreadChannel; | |
33 | + | |
34 | + //生成 | |
35 | + @FindBy (xpath="//button[contains(text(),'生成')]") | |
36 | + WebElement create; | |
37 | + | |
38 | + //确认 | |
39 | + @FindBy (xpath ="//*[text()='确认']") | |
40 | + WebElement confirm; | |
41 | + | |
42 | + //关闭 | |
43 | + @FindBy (xpath ="//*[text()='关闭']") | |
44 | + WebElement close; | |
45 | + | |
46 | + //生成的邀请码 | |
47 | + @FindBy (xpath="//tbody[@class='ng-scope']/tr[1]/td[5]") | |
48 | + WebElement invateCode; | |
49 | + | |
50 | + /* | |
51 | + * 页面方法 | |
52 | + */ | |
53 | + /** | |
54 | + * 生成邀请码 | |
55 | + */ | |
56 | + public void generateCode() { | |
57 | + mywait(firstCheckbox); | |
58 | + click(firstCheckbox); | |
59 | + selectElement(spreadForm, "搜索引擎"); | |
60 | + selectElement(spreadChannel, "Google"); | |
61 | + click(create); | |
62 | + forceWait(500); | |
63 | + click(confirm); | |
64 | + forceWait(500); | |
65 | + click(close); | |
66 | + String code = invateCode.getText(); | |
67 | + Model.setInvateCode(code); | |
68 | + } | |
69 | +} | ... | ... |
src/test/java/com/essa/pageObject/inquiryManage/ProductInquiryFeedback.java
0 → 100644
... | ... | @@ -0,0 +1,76 @@ |
1 | +package com.essa.pageObject.inquiryManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *成品询价反馈页 | |
14 | + */ | |
15 | +public class ProductInquiryFeedback extends BasePage { | |
16 | + public ProductInquiryFeedback(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + //查询类型 | |
23 | + @FindBy (xpath ="//*[@ng-change='changeSearchType()']") | |
24 | + WebElement searchType; | |
25 | + | |
26 | + //查询条件输入框 | |
27 | + @FindBy (xpath="//*[@placeholder='请输入查询条件']") | |
28 | + WebElement searchText; | |
29 | + | |
30 | + //查询按钮 | |
31 | + @FindBy (xpath ="//button[@ng-click='getFeedbackDetailBySearchInfo()']") | |
32 | + WebElement search; | |
33 | + | |
34 | + //单箱金额 | |
35 | + @FindBy (xpath="//*[contains(text(),'单箱金额')]") | |
36 | + WebElement singlePrice; | |
37 | + | |
38 | + //待反馈任务 | |
39 | + @FindBy (xpath="//*[contains(text(),'待反馈任务')]") | |
40 | + WebElement waitFeedback; | |
41 | + | |
42 | + //提交审核 | |
43 | + @FindBy (xpath="//*[@ng-click='submitFeedback(1)']") | |
44 | + WebElement submit; | |
45 | + | |
46 | + /* | |
47 | + * 页面方法 | |
48 | + */ | |
49 | + /** | |
50 | + * 提交询价任务 | |
51 | + * @return ProductInquiryTask | |
52 | + */ | |
53 | + public ProductInquiryTask submit() { | |
54 | + //根据单箱价格是否为空来判断页面是否加载成功 | |
55 | + while ("单箱金额:".equals(getText(singlePrice))) { | |
56 | + forceWait(1000); | |
57 | + } | |
58 | + selectElement(searchType, "商品编号"); | |
59 | + sendKeys(searchText,Model.getSkuNo()); | |
60 | + //根据sku编号来判断是否加载出想要的sku信息 | |
61 | + click(search); | |
62 | + boolean b = isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]")); | |
63 | + while (!b) { | |
64 | + forceWait(1000); | |
65 | + } | |
66 | + click(waitFeedback); | |
67 | + //判断是否加载待反馈视图 | |
68 | + boolean b1 = isVisibility(By.xpath("//*[contains(text(),'询价要求完成时间')]")); | |
69 | + while(!b1) { | |
70 | + forceWait(1000); | |
71 | + } | |
72 | + moveHeightScroll("100"); | |
73 | + click(submit); | |
74 | + return new ProductInquiryTask(driver); | |
75 | + } | |
76 | +} | ... | ... |
src/test/java/com/essa/pageObject/inquiryManage/ProductInquiryTask.java
0 → 100644
... | ... | @@ -0,0 +1,74 @@ |
1 | +package com.essa.pageObject.inquiryManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *成品询价任务列表 | |
14 | + */ | |
15 | +public class ProductInquiryTask extends BasePage { | |
16 | + public ProductInquiryTask(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + //高级查询 | |
23 | + @FindBy (xpath ="//*[contains(text(),'高级查询')]") | |
24 | + WebElement advancedQuery; | |
25 | + | |
26 | + //商品编码查询 | |
27 | + @FindBy (xpath="//*[text()='商品编码']/../div/input") | |
28 | + WebElement skuNoQuery; | |
29 | + | |
30 | + //高级查询-查询按钮 | |
31 | + @FindBy (xpath="//*[@name='advSearch']/div[12]/button[1]") | |
32 | + WebElement search; | |
33 | + | |
34 | + //列表第一行数据 | |
35 | + @FindBy (xpath ="//*[@ng-table='tableParams1']/tbody/tr[1]") | |
36 | + WebElement firstRow; | |
37 | + | |
38 | + //询价反馈 | |
39 | + @FindBy (xpath ="//*[contains(text(),'询价反馈')]") | |
40 | + WebElement feedBack; | |
41 | + | |
42 | + //暂无数据--用于检查是否已经成功 | |
43 | + @FindBy (xpath="//*[text()='暂无数据']") | |
44 | + WebElement isSucceed; | |
45 | + /* | |
46 | + * 页面方法 | |
47 | + */ | |
48 | + /** | |
49 | + * 查出要成品询价的商品,进入成品询价反馈页面 | |
50 | + * @return ProductInquiryFeedback | |
51 | + */ | |
52 | + public ProductInquiryFeedback toFeedback() { | |
53 | +// mywait(firstRow); | |
54 | + click(advancedQuery); | |
55 | + sendKeys(skuNoQuery, Model.getSkuNo()); | |
56 | + click(search); | |
57 | + mywait(firstRow); | |
58 | + click(firstRow); | |
59 | + click(feedBack); | |
60 | + return new ProductInquiryFeedback(driver); | |
61 | + } | |
62 | + | |
63 | + /** | |
64 | + * 判断页面是否查询不到该商品 | |
65 | + * @return boolean | |
66 | + */ | |
67 | + public boolean isSucceed() { | |
68 | + click(advancedQuery); | |
69 | + sendKeys(skuNoQuery, Model.getSkuNo()); | |
70 | + click(search); | |
71 | + forceWait(1000); | |
72 | + return isVisibility(By.xpath("//*[text()='暂无数据']")); | |
73 | + } | |
74 | +} | ... | ... |
src/test/java/com/essa/pageObject/marketingManage/CollectBillControlPage.java
0 → 100644
... | ... | @@ -0,0 +1,15 @@ |
1 | +package com.essa.pageObject.marketingManage; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | + | |
5 | +import com.essa.framework.BasePage; | |
6 | + | |
7 | +/** | |
8 | + * @author Administrator | |
9 | + *集单控制 | |
10 | + */ | |
11 | +public class CollectBillControlPage extends BasePage { | |
12 | + public CollectBillControlPage(WebDriver driver) { | |
13 | + super(driver); | |
14 | + } | |
15 | +} | ... | ... |
src/test/java/com/essa/pageObject/marketingManage/CollectBillSettingPage.java
0 → 100644
... | ... | @@ -0,0 +1,225 @@ |
1 | +package com.essa.pageObject.marketingManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *集单设置 | |
14 | + */ | |
15 | +public class CollectBillSettingPage extends BasePage { | |
16 | + public CollectBillSettingPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + | |
23 | + //添加商品-查询输入框 | |
24 | + @FindBy (xpath = "//*[@name='keyword']") | |
25 | + WebElement searchContent; | |
26 | + | |
27 | + //团购设置中的关键字输入框 | |
28 | + @FindBy (xpath="//*[@ng-model='searchKeyword']") | |
29 | + WebElement content; | |
30 | + | |
31 | + //查询按钮 | |
32 | + @FindBy (xpath = "//button[@ng-click='gotoSearch()']") | |
33 | + WebElement search; | |
34 | + | |
35 | + //添加商品 | |
36 | + @FindBy (xpath = "//*[text()='添加商品']") | |
37 | + WebElement addSku; | |
38 | + | |
39 | + //loading,判断是否加载完成 | |
40 | + @FindBy (xpath="//*[@class='loading ng-scope']") | |
41 | + WebElement loading; | |
42 | + | |
43 | + //查询列表中的第一个复选框 | |
44 | + @FindBy (xpath = "//*[@class='table marketing-collectbill-products']/tbody/tr[1]/td[1]/input") | |
45 | + WebElement firstCheckBox; | |
46 | + | |
47 | + //MOQ设置 | |
48 | + @FindBy (xpath = "//*[text()='MOQ设置']") | |
49 | + WebElement MOQSet; | |
50 | + | |
51 | + //阶梯价 | |
52 | + @FindBy (xpath = "//*[text()='阶梯价']") | |
53 | + WebElement setPrice; | |
54 | + | |
55 | + //配置主推市场 | |
56 | + @FindBy (xpath = "//*[text()='配置主推市场']") | |
57 | + WebElement mainMarket; | |
58 | + | |
59 | + //发布商品 | |
60 | + @FindBy (xpath = "//*[text()='发布商品']") | |
61 | + WebElement publishSku; | |
62 | + | |
63 | + //添加商品-查询按钮 | |
64 | + @FindBy (xpath = "//*[@ng-click='search(false)']") | |
65 | + WebElement addSkuSearch; | |
66 | + | |
67 | + //添加商品-展开商品信息 | |
68 | + @FindBy (xpath = "//*[contains(@class,'fa fa-angle-double-dow')]") | |
69 | + WebElement showSku; | |
70 | + | |
71 | + //添加商品-搜索结果复选框 | |
72 | + @FindBy (xpath = "//*[@ng-repeat='list in item.skus']/tbody/tr[1]/td[1]/input") | |
73 | + WebElement skuCheckbox; | |
74 | + | |
75 | + //确定按钮 | |
76 | + @FindBy (xpath = "//*[contains(text(),'确定')]") | |
77 | + WebElement confirm; | |
78 | + | |
79 | + //活动成功MOQ | |
80 | + @FindBy (xpath = "//*[@ng-model='activitySuccessMoq']") | |
81 | + WebElement successMoq; | |
82 | + | |
83 | + //活动销售MOQ | |
84 | + @FindBy (xpath = "//*[@ng-model='activitySaleMoq']") | |
85 | + WebElement saleMoq; | |
86 | + | |
87 | + //成本价格 | |
88 | + @FindBy (xpath = "//*[contains(text(),'成本')]") | |
89 | + WebElement firstCost; | |
90 | + | |
91 | + //最低价 | |
92 | + @FindBy (xpath = "//*[@ng-model='minPrice']") | |
93 | + WebElement minPrice; | |
94 | + | |
95 | + //最高价 | |
96 | + @FindBy (xpath = "//*[@ng-model='maxPrice']") | |
97 | + WebElement maxPrice; | |
98 | + | |
99 | + //阶梯数 | |
100 | + @FindBy (xpath = "//*[@ng-model='ladderCount']") | |
101 | + WebElement ladderCount; | |
102 | + | |
103 | + //生成阶梯 | |
104 | + @FindBy (xpath = "//*[text()='生成阶梯']") | |
105 | + WebElement creatLadder; | |
106 | + | |
107 | + //可选区域-东欧 | |
108 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[1]/input") | |
109 | + WebElement easternEurope; | |
110 | + | |
111 | + //可选区域-南美 | |
112 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[2]/input") | |
113 | + WebElement southAmerican; | |
114 | + | |
115 | + //可选区域-欧美 | |
116 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[3]/input") | |
117 | + WebElement europeAndAmerica; | |
118 | + | |
119 | + //可选区域-东南亚 | |
120 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[4]/input") | |
121 | + WebElement southeastAsia; | |
122 | + | |
123 | + //可选区域-中东 | |
124 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[5]/input") | |
125 | + WebElement middleEast; | |
126 | + | |
127 | + /* | |
128 | + * 页面方法 | |
129 | + */ | |
130 | + /** | |
131 | + * 添加商品 | |
132 | + */ | |
133 | + public void addSku() { | |
134 | + mywait(addSku); | |
135 | + click(addSku); | |
136 | +// System.out.println(Model.getSkuNo()); | |
137 | + while (isVisibility(By.xpath("//*[@class='loading ng-scope']"))) { | |
138 | + forceWait(1000); | |
139 | + }; | |
140 | + sendKeys(searchContent, Model.getSkuNo()); | |
141 | +// sendKeys(searchContent, "200299327"); | |
142 | + click(addSkuSearch); | |
143 | + forceWait(1000); | |
144 | + click(showSku); | |
145 | + click(skuCheckbox); | |
146 | + click(confirm); | |
147 | + } | |
148 | + | |
149 | + /** | |
150 | + * 设置MOQ | |
151 | + */ | |
152 | + public void setMoq() { | |
153 | + forceWait(1000); | |
154 | + mywait(firstCheckBox); | |
155 | + sendKeys(content, Model.getSkuNo()); | |
156 | +// sendKeys(searchContent, "200299345"); | |
157 | + click(search); | |
158 | + mywait(firstCheckBox); | |
159 | + click(firstCheckBox); | |
160 | + click(MOQSet); | |
161 | +//===================================================================此处要修改 | |
162 | + sendKeys(successMoq, "150"); | |
163 | + sendKeys(saleMoq, "15"); | |
164 | + click(confirm); | |
165 | + } | |
166 | + /** | |
167 | + * 设置阶梯价 | |
168 | + */ | |
169 | + public void setPrice() { | |
170 | + forceWait(1000); | |
171 | + click(setPrice); | |
172 | + mywait(creatLadder); | |
173 | + int firstCost = getFirstCost(); | |
174 | + System.out.println(firstCost); | |
175 | + sendKeys(minPrice, firstCost+30+""); | |
176 | + sendKeys(maxPrice, firstCost+100+""); | |
177 | + sendKeys(ladderCount, "2"); | |
178 | + click(creatLadder); | |
179 | + forceWait(1000); | |
180 | + click(confirm); | |
181 | + } | |
182 | + /** | |
183 | + * 设置主推市场 | |
184 | + */ | |
185 | + public void setMarket() { | |
186 | + forceWait(1000); | |
187 | + click(mainMarket); | |
188 | + mywait(easternEurope); | |
189 | + click(easternEurope); | |
190 | + click(southAmerican); | |
191 | + click(easternEurope); | |
192 | + click(southeastAsia); | |
193 | + click(middleEast); | |
194 | + click(confirm); | |
195 | + forceWait(1000); | |
196 | + click(confirm); | |
197 | + } | |
198 | + | |
199 | + /** | |
200 | + * 组装以上操作 | |
201 | + * 添加商品并发布团购 | |
202 | + * @return GroupSettingPage | |
203 | + */ | |
204 | + public GroupSettingPage publishGroup() { | |
205 | + addSku(); | |
206 | + setMoq(); | |
207 | + setPrice(); | |
208 | + setMarket(); | |
209 | + forceWait(1000); | |
210 | + click(publishSku); | |
211 | + forceWait(1000); | |
212 | + click(confirm); | |
213 | + return new GroupSettingPage(driver); | |
214 | + } | |
215 | + | |
216 | + /** | |
217 | + * 获取到商品的成本价 | |
218 | + * @return price | |
219 | + */ | |
220 | + private int getFirstCost() { | |
221 | + String p = partialStr(firstCost.getText(), "成本:¥"); | |
222 | + int price = Integer.parseInt(p); | |
223 | + return price; | |
224 | + } | |
225 | +} | ... | ... |
src/test/java/com/essa/pageObject/marketingManage/GroupControlPage.java
0 → 100644
... | ... | @@ -0,0 +1,45 @@ |
1 | +package com.essa.pageObject.marketingManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *团购控制 | |
14 | + */ | |
15 | +public class GroupControlPage extends BasePage { | |
16 | + public GroupControlPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 页面元素定位 | |
21 | + */ | |
22 | + | |
23 | + //关键字查询输入 | |
24 | + @FindBy (xpath = "//*[@ng-model='searchKeyword']") | |
25 | + WebElement searchKeyword; | |
26 | + | |
27 | + //查询按钮 | |
28 | + @FindBy (xpath = "//*[@ng-click='gotoSearch()']") | |
29 | + WebElement search; | |
30 | + | |
31 | + /* | |
32 | + * 页面方法 | |
33 | + */ | |
34 | + /** | |
35 | + * 判断团购的商品是否发布成功 | |
36 | + * @return boolean | |
37 | + */ | |
38 | + public boolean isSuccess() { | |
39 | + mywait(searchKeyword); | |
40 | + sendKeys(searchKeyword, Model.getSkuNo()); | |
41 | + click(search); | |
42 | + forceWait(1500); | |
43 | + return isVisibility(By.xpath("//*[contains(text(),'"+Model.getSkuNo()+"')]")); | |
44 | + } | |
45 | +} | ... | ... |
src/test/java/com/essa/pageObject/marketingManage/GroupSettingPage.java
0 → 100644
... | ... | @@ -0,0 +1,224 @@ |
1 | +package com.essa.pageObject.marketingManage; | |
2 | + | |
3 | +import org.openqa.selenium.By; | |
4 | +import org.openqa.selenium.WebDriver; | |
5 | +import org.openqa.selenium.WebElement; | |
6 | +import org.openqa.selenium.support.FindBy; | |
7 | + | |
8 | +import com.essa.framework.BasePage; | |
9 | +import com.essa.framework.Model; | |
10 | + | |
11 | +/** | |
12 | + * @author Administrator | |
13 | + *团购设置 | |
14 | + */ | |
15 | +public class GroupSettingPage extends BasePage { | |
16 | + public GroupSettingPage(WebDriver driver) { | |
17 | + super(driver); | |
18 | + } | |
19 | + /* | |
20 | + * 元素定位 | |
21 | + */ | |
22 | + | |
23 | + //添加商品-查询输入框 | |
24 | + @FindBy (xpath = "//*[@name='keyword']") | |
25 | + WebElement searchContent; | |
26 | + | |
27 | + //团购设置中的关键字输入框 | |
28 | + @FindBy (xpath="//*[@ng-model='searchKeyword']") | |
29 | + WebElement content; | |
30 | + | |
31 | + //查询按钮 | |
32 | + @FindBy (xpath = "//button[@ng-click='gotoSearch()']") | |
33 | + WebElement search; | |
34 | + | |
35 | + //添加商品 | |
36 | + @FindBy (xpath = "//*[text()='添加商品']") | |
37 | + WebElement addSku; | |
38 | + | |
39 | + //loading,判断是否加载完成 | |
40 | + @FindBy (xpath="//*[@class='loading ng-scope']") | |
41 | + WebElement loading; | |
42 | + | |
43 | + //查询列表中的第一个复选框 | |
44 | + @FindBy (xpath = "//*[@class='table marketing-collectbill-products']/tbody/tr[1]/td[1]/input") | |
45 | + WebElement firstCheckBox; | |
46 | + | |
47 | + //MOQ设置 | |
48 | + @FindBy (xpath = "//*[text()='MOQ设置']") | |
49 | + WebElement MOQSet; | |
50 | + | |
51 | + //阶梯价 | |
52 | + @FindBy (xpath = "//*[text()='阶梯价']") | |
53 | + WebElement setPrice; | |
54 | + | |
55 | + //配置主推市场 | |
56 | + @FindBy (xpath = "//*[text()='配置主推市场']") | |
57 | + WebElement mainMarket; | |
58 | + | |
59 | + //发布商品 | |
60 | + @FindBy (xpath = "//*[text()='发布商品']") | |
61 | + WebElement publishSku; | |
62 | + | |
63 | + //添加商品-查询按钮 | |
64 | + @FindBy (xpath = "//*[@ng-click='search(false)']") | |
65 | + WebElement addSkuSearch; | |
66 | + | |
67 | + //添加商品-展开商品信息 | |
68 | + @FindBy (xpath = "//*[contains(@class,'fa fa-angle-double-dow')]") | |
69 | + WebElement showSku; | |
70 | + | |
71 | + //添加商品-搜索结果复选框 | |
72 | + @FindBy (xpath = "//*[@ng-repeat='list in item.skus']/tbody/tr[1]/td[1]/input") | |
73 | + WebElement skuCheckbox; | |
74 | + | |
75 | + //确定按钮 | |
76 | + @FindBy (xpath = "//*[contains(text(),'确定')]") | |
77 | + WebElement confirm; | |
78 | + | |
79 | + //活动成功MOQ | |
80 | + @FindBy (xpath = "//*[@ng-model='activitySuccessMoq']") | |
81 | + WebElement successQoq; | |
82 | + | |
83 | + //活动销售MOQ | |
84 | + @FindBy (xpath = "//*[@ng-model='activitySaleMoq']") | |
85 | + WebElement saleQoq; | |
86 | + | |
87 | + //成本价格 | |
88 | + @FindBy (xpath = "//*[contains(text(),'成本')]") | |
89 | + WebElement firstCost; | |
90 | + | |
91 | + //最低价 | |
92 | + @FindBy (xpath = "//*[@ng-model='minPrice']") | |
93 | + WebElement minPrice; | |
94 | + | |
95 | + //最高价 | |
96 | + @FindBy (xpath = "//*[@ng-model='maxPrice']") | |
97 | + WebElement maxPrice; | |
98 | + | |
99 | + //阶梯数 | |
100 | + @FindBy (xpath = "//*[@ng-model='ladderCount']") | |
101 | + WebElement ladderCount; | |
102 | + | |
103 | + //生成阶梯 | |
104 | + @FindBy (xpath = "//*[text()='生成阶梯']") | |
105 | + WebElement creatLadder; | |
106 | + | |
107 | + //可选区域-东欧 | |
108 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[1]/input") | |
109 | + WebElement easternEurope; | |
110 | + | |
111 | + //可选区域-南美 | |
112 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[2]/input") | |
113 | + WebElement southAmerican; | |
114 | + | |
115 | + //可选区域-欧美 | |
116 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[3]/input") | |
117 | + WebElement europeAndAmerica; | |
118 | + | |
119 | + //可选区域-东南亚 | |
120 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[4]/input") | |
121 | + WebElement southeastAsia; | |
122 | + | |
123 | + //可选区域-中东 | |
124 | + @FindBy (xpath = "//*[contains(text(),'可选择的市场区域')]/../dd/span[5]/input") | |
125 | + WebElement middleEast; | |
126 | + | |
127 | + /* | |
128 | + * 页面方法 | |
129 | + */ | |
130 | + /** | |
131 | + * 添加商品 | |
132 | + */ | |
133 | + public void addSku() { | |
134 | + mywait(addSku); | |
135 | + click(addSku); | |
136 | +// System.out.println(Model.getSkuNo()); | |
137 | + while (isVisibility(By.xpath("//*[@class='loading ng-scope']"))) { | |
138 | + forceWait(1000); | |
139 | + }; | |
140 | + sendKeys(searchContent, Model.getSkuNo()); | |
141 | +// sendKeys(searchContent, "200299327"); | |
142 | + click(addSkuSearch); | |
143 | + forceWait(1000); | |
144 | + click(showSku); | |
145 | + click(skuCheckbox); | |
146 | + click(confirm); | |
147 | + } | |
148 | + | |
149 | + /** | |
150 | + * 设置MOQ | |
151 | + */ | |
152 | + public void setMoq() { | |
153 | + forceWait(1000); | |
154 | + mywait(firstCheckBox); | |
155 | + sendKeys(content, Model.getSkuNo()); | |
156 | +// sendKeys(searchContent, "200299345"); | |
157 | + click(search); | |
158 | + mywait(firstCheckBox); | |
159 | + click(firstCheckBox); | |
160 | + click(MOQSet); | |
161 | + sendKeys(successQoq, "150"); | |
162 | + sendKeys(saleQoq, "15"); | |
163 | + click(confirm); | |
164 | + } | |
165 | + /** | |
166 | + * 设置阶梯价 | |
167 | + */ | |
168 | + public void setPrice() { | |
169 | + forceWait(1000); | |
170 | + click(setPrice); | |
171 | + mywait(creatLadder); | |
172 | + int firstCost = getFirstCost(); | |
173 | + System.out.println(firstCost); | |
174 | + sendKeys(minPrice, firstCost+30+""); | |
175 | + sendKeys(maxPrice, firstCost+100+""); | |
176 | + sendKeys(ladderCount, "2"); | |
177 | + click(creatLadder); | |
178 | + forceWait(1000); | |
179 | + click(confirm); | |
180 | + } | |
181 | + /** | |
182 | + * 设置主推市场 | |
183 | + */ | |
184 | + public void setMarket() { | |
185 | + forceWait(1000); | |
186 | + click(mainMarket); | |
187 | + mywait(easternEurope); | |
188 | + click(easternEurope); | |
189 | + click(southAmerican); | |
190 | + click(easternEurope); | |
191 | + click(southeastAsia); | |
192 | + click(middleEast); | |
193 | + click(confirm); | |
194 | + forceWait(1000); | |
195 | + click(confirm); | |
196 | + } | |
197 | + | |
198 | + /** | |
199 | + * 组装以上操作 | |
200 | + * 添加商品并发布团购 | |
201 | + * @return GroupSettingPage | |
202 | + */ | |
203 | + public GroupSettingPage publishGroup() { | |
204 | + addSku(); | |
205 | + setMoq(); | |
206 | + setPrice(); | |
207 | + setMarket(); | |
208 | + forceWait(1000); | |
209 | + click(publishSku); | |
210 | + forceWait(1000); | |
211 | + click(confirm); | |
212 | + return new GroupSettingPage(driver); | |
213 | + } | |
214 | + | |
215 | + /** | |
216 | + * 获取到商品的成本价 | |
217 | + * @return price | |
218 | + */ | |
219 | + private int getFirstCost() { | |
220 | + String p = partialStr(firstCost.getText(), "成本:¥"); | |
221 | + int price = Integer.parseInt(p); | |
222 | + return price; | |
223 | + } | |
224 | +} | ... | ... |
src/test/java/com/essa/pageObject/productDev/AddProjectPage.java
0 → 100644
... | ... | @@ -0,0 +1,75 @@ |
1 | +package com.essa.pageObject.productDev; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.WebElement; | |
5 | +import org.openqa.selenium.support.FindBy; | |
6 | + | |
7 | +import com.essa.framework.BasePage; | |
8 | + | |
9 | +/** | |
10 | + * @author Administrator | |
11 | + *新增项目立项书 | |
12 | + */ | |
13 | +public class AddProjectPage extends BasePage { | |
14 | + public AddProjectPage(WebDriver driver) { | |
15 | + super(driver); | |
16 | + } | |
17 | + /* | |
18 | + * 元素定位 | |
19 | + */ | |
20 | + //改版类型 | |
21 | + @FindBy (xpath ="//*[@dic-list='改版类型']") | |
22 | + WebElement revisonType; | |
23 | + | |
24 | + //项目名称 | |
25 | + @FindBy (xpath ="//*[@ng-model='model.name']") | |
26 | + WebElement projectName; | |
27 | + | |
28 | + //项目负责人 | |
29 | + @FindBy (xpath ="//*[@ng-model='model.leaderId']/input") | |
30 | + WebElement projectLeader; | |
31 | + | |
32 | + //项目负责人-林荣 | |
33 | + @FindBy (xpath ="//*[@id='role-user-select-box']/ul/li[3]/span") | |
34 | + WebElement linrong; | |
35 | + | |
36 | + //开发程度 | |
37 | + @FindBy (xpath ="//*[@dic-list='开发程度']") | |
38 | + WebElement devLevel; | |
39 | + | |
40 | + //开发系列 | |
41 | + @FindBy (xpath ="//*[@ng-model='model.serialId']") | |
42 | + WebElement devSerial; | |
43 | + | |
44 | + //团队成员-新增 | |
45 | + @FindBy (xpath ="//button[text()='新增']") | |
46 | + WebElement addMember; | |
47 | + | |
48 | + //任务处理人 -第一个 | |
49 | + @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[1]/td[2]/div/input") | |
50 | + WebElement Transactor1; | |
51 | + | |
52 | + //处理人-linrong | |
53 | + @FindBy (xpath ="//*[@id='role-user-select-box']/ul/li[3]/span") | |
54 | + WebElement linrong1; | |
55 | + | |
56 | + //任务处理人 -第二个 | |
57 | + @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[2]/td[2]/div/input") | |
58 | + WebElement Transactor2; | |
59 | + | |
60 | + //成员角色 -第一个 | |
61 | + @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[1]/td[3]/select") | |
62 | + WebElement role1; | |
63 | + | |
64 | + //成员角色 -第二个 | |
65 | + @FindBy (xpath ="//*[@class='col-md-14']/table/tbody/tr[2]/td[3]/select") | |
66 | + WebElement role2; | |
67 | + | |
68 | + //选择改版商品信息 | |
69 | + @FindBy (xpath ="//*[text()='选择']") | |
70 | + WebElement selectGoods; | |
71 | + | |
72 | + //保存 | |
73 | + @FindBy (xpath ="//*[contains(text(),'保存')]") | |
74 | + WebElement save; | |
75 | +} | ... | ... |
src/test/java/com/essa/testSuite/TestAddMarketGoods.java
0 → 100644
... | ... | @@ -0,0 +1,86 @@ |
1 | +package com.essa.testSuite; | |
2 | + | |
3 | +import java.io.IOException; | |
4 | + | |
5 | +import org.openqa.selenium.WebDriver; | |
6 | +import org.openqa.selenium.support.PageFactory; | |
7 | +import org.testng.annotations.AfterClass; | |
8 | +import org.testng.annotations.BeforeClass; | |
9 | +import org.testng.annotations.Test; | |
10 | +import org.testng.asserts.SoftAssert; | |
11 | + | |
12 | +import com.essa.framework.Model; | |
13 | +import com.essa.pageObject.BaseTest; | |
14 | +import com.essa.pageObject.HomePage; | |
15 | +import com.essa.pageObject.GoodsManage.AddMarketGoodsPage; | |
16 | +import com.essa.pageObject.GoodsManage.AuditMarketGoodsPage; | |
17 | +import com.essa.pageObject.GoodsManage.AuditMarketOpreatePage; | |
18 | +import com.essa.pageObject.GoodsManage.MarketGoodsRelesePage; | |
19 | + | |
20 | +/** | |
21 | + * @author Administrator | |
22 | + *测试用例:添加市场商品 | |
23 | + */ | |
24 | +public class TestAddMarketGoods extends BaseTest { | |
25 | + | |
26 | + WebDriver driver; | |
27 | + | |
28 | + @BeforeClass | |
29 | + public void setUp() throws IOException { | |
30 | + initsetUp(); | |
31 | + loginValid("maomeixiang"); | |
32 | + } | |
33 | + /** | |
34 | + * 进入市场商品发布页,选择对应的采购商 | |
35 | + */ | |
36 | + @Test(description="进入市场商品发布列表,选择采购商") | |
37 | + public void toMarketGoodsRelesePage() { | |
38 | + this.driver = getDriver(); | |
39 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
40 | + homePage.toMarketGoodsRelesePage(); | |
41 | + MarketGoodsRelesePage marketGoodsRelesePage = PageFactory.initElements(driver, MarketGoodsRelesePage.class); | |
42 | + marketGoodsRelesePage.toAddMarketGoodsPage(); | |
43 | + } | |
44 | + /** | |
45 | + * 市场商品建档 | |
46 | + */ | |
47 | + @Test(description="市场商品建档") | |
48 | + public void addMarketGoods() { | |
49 | + this.driver = getDriver(); | |
50 | + AddMarketGoodsPage addMarketGoodsPage = PageFactory.initElements(driver, AddMarketGoodsPage.class); | |
51 | + addMarketGoodsPage.addMarketGoods(); | |
52 | + | |
53 | + //断言是否建档成功,如果model中的skuNo不为null则成功 | |
54 | + SoftAssert softAssert = new SoftAssert(); | |
55 | + boolean actual = !(Model.getSkuNo().isEmpty()); | |
56 | + softAssert.assertEquals(actual, true, "市场商品建档失败"); | |
57 | + softAssert.assertAll(); | |
58 | + | |
59 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
60 | + homePage.getHome(); | |
61 | + homePage.logout(); | |
62 | + } | |
63 | + /** | |
64 | + * 对市场商品进行审核 | |
65 | + */ | |
66 | + @Test(description="市场商品审核") | |
67 | + public void auditMarketGoods() { | |
68 | + loginValid("xingchangyong"); | |
69 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
70 | + homePage.toAuditMarketGoodsPage(); | |
71 | + AuditMarketGoodsPage auditMarketGoodsPage = PageFactory.initElements(driver, AuditMarketGoodsPage.class); | |
72 | + auditMarketGoodsPage.auditMarketGoods(); | |
73 | + AuditMarketOpreatePage auditMarketOpreatePage = PageFactory.initElements(driver, AuditMarketOpreatePage.class); | |
74 | + auditMarketOpreatePage.auditPass(); | |
75 | + //断言是否审核成功 | |
76 | + boolean actual = auditMarketGoodsPage.isSucceed(); | |
77 | + SoftAssert softAssert = new SoftAssert(); | |
78 | + softAssert.assertEquals(actual, false, "市场商品审核失败!"); | |
79 | + softAssert.assertAll(); | |
80 | + } | |
81 | + | |
82 | + @AfterClass | |
83 | + public void tearDown() { | |
84 | + driver.quit(); | |
85 | + } | |
86 | +} | ... | ... |
src/test/java/com/essa/testSuite/TestAddOriginalGoods.java
0 → 100644
... | ... | @@ -0,0 +1,118 @@ |
1 | +package com.essa.testSuite; | |
2 | + | |
3 | +import java.io.IOException; | |
4 | + | |
5 | +import org.openqa.selenium.WebDriver; | |
6 | +import org.openqa.selenium.support.PageFactory; | |
7 | +import org.testng.annotations.AfterClass; | |
8 | +import org.testng.annotations.BeforeClass; | |
9 | +import org.testng.annotations.Test; | |
10 | +import org.testng.asserts.SoftAssert; | |
11 | + | |
12 | +import com.essa.pageObject.BaseTest; | |
13 | +import com.essa.pageObject.HomePage; | |
14 | +import com.essa.pageObject.GoodsManage.AddOriginalGoodsPage; | |
15 | +import com.essa.pageObject.GoodsManage.AuditOriginalGoodsPage; | |
16 | +import com.essa.pageObject.GoodsManage.AuditOriginalOpreatePage; | |
17 | +import com.essa.pageObject.GoodsManage.GoodsBankPage; | |
18 | +import com.essa.pageObject.GoodsManage.GoodsRelesePage; | |
19 | +import com.essa.pageObject.GoodsManage.UpdatePicPage; | |
20 | + | |
21 | +/** | |
22 | + * @author Administrator | |
23 | + *测试用例:天机原厂商品 | |
24 | + */ | |
25 | +public class TestAddOriginalGoods extends BaseTest { | |
26 | + | |
27 | + WebDriver driver; | |
28 | + | |
29 | + @BeforeClass | |
30 | + public void setUp() throws IOException { | |
31 | + initsetUp(); | |
32 | + loginValid("linxun"); | |
33 | + } | |
34 | + | |
35 | + /** | |
36 | + * 商品建档 | |
37 | + * | |
38 | + * @throws InterruptedException | |
39 | + */ | |
40 | + @Test(description="原厂商品建档") | |
41 | + public void toAddOriginalGoodsPage() throws InterruptedException { | |
42 | + this.driver = getDriver(); | |
43 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
44 | + homePage.tOriginalGoodsPage(); | |
45 | + AddOriginalGoodsPage addOriginalGoodsPage = PageFactory.initElements(driver, AddOriginalGoodsPage.class); | |
46 | +// addOriginalGoodsPage.addOriginalGoods("物料分析"); | |
47 | + addOriginalGoodsPage.addOriginalGoods(); | |
48 | + | |
49 | + } | |
50 | + | |
51 | + /** | |
52 | + * 更新商品图片 | |
53 | + * | |
54 | + * @throws Exception | |
55 | + * @throws InterruptedException | |
56 | + */ | |
57 | + @Test(description="更新图片") | |
58 | + public void updatePic() throws Exception { | |
59 | + this.driver = getDriver(); | |
60 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
61 | + homePage.tGoodsRelesePage(); | |
62 | + GoodsRelesePage goodsRelesePage = PageFactory.initElements(driver, GoodsRelesePage.class); | |
63 | + | |
64 | + //断言上一步商品建档是否成功 | |
65 | + boolean actual = goodsRelesePage.isAddOrignalSucceed(); | |
66 | + SoftAssert assertion = new SoftAssert(); | |
67 | + assertion.assertEquals(actual, true, "商品建档失败!"); | |
68 | + assertion.assertAll(); | |
69 | + | |
70 | + goodsRelesePage.toUpDatePic(); | |
71 | + UpdatePicPage updatePicPage = PageFactory.initElements(driver, UpdatePicPage.class); | |
72 | + // 传入要上传的图片的本机地址 | |
73 | +// updatePicPage.upDatePic("C:\\Users\\Administrator\\Pictures\\Camera Roll\\4.jpg"); | |
74 | + updatePicPage.upDatePic(); | |
75 | + } | |
76 | + | |
77 | + /** | |
78 | + * 审核原厂商品 | |
79 | + */ | |
80 | + @Test(description="原厂商品审核") | |
81 | + public void auditOriginal() { | |
82 | + this.driver = getDriver(); | |
83 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
84 | + homePage.toAuditOriginalGoodsPage(); | |
85 | + AuditOriginalGoodsPage auditOriginalGoodsPage = PageFactory.initElements(driver, AuditOriginalGoodsPage.class); | |
86 | + // 断言上一步更新图片是否成功 | |
87 | + boolean actual1 = auditOriginalGoodsPage.isSucceed(); | |
88 | + SoftAssert assertion = new SoftAssert(); | |
89 | + assertion.assertEquals(actual1, true, "更新图片失败!"); | |
90 | + | |
91 | + auditOriginalGoodsPage.toAuditOriginalSku(); | |
92 | + AuditOriginalOpreatePage auditOriginalOpreatePage = PageFactory.initElements(driver, | |
93 | + AuditOriginalOpreatePage.class); | |
94 | + auditOriginalOpreatePage.auditPass(); | |
95 | + | |
96 | + // 断言是否审核成功,如果发布审核页面没有找到刚刚的商品,说明审核成功了 | |
97 | + boolean actual = auditOriginalGoodsPage.isSucceed(); | |
98 | + assertion.assertEquals(actual, false, "审核原厂商品时失败!"); | |
99 | + assertion.assertAll(); | |
100 | + } | |
101 | + | |
102 | + /** | |
103 | + * 获取新增的商品编号 | |
104 | + */ | |
105 | + @Test(description="去商品库获取添加的sku编号") | |
106 | + public void getSkuNo() { | |
107 | + this.driver = getDriver(); | |
108 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
109 | + homePage.toGoodsBankPage(); | |
110 | + GoodsBankPage goodsBankPage = PageFactory.initElements(driver, GoodsBankPage.class); | |
111 | + goodsBankPage.getNo(); | |
112 | + } | |
113 | + | |
114 | + @AfterClass | |
115 | + public void tearDown() { | |
116 | + driver.quit(); | |
117 | + } | |
118 | +} | ... | ... |
src/test/java/com/essa/testSuite/TestGenrateCode.java
0 → 100644
... | ... | @@ -0,0 +1,45 @@ |
1 | +package com.essa.testSuite; | |
2 | + | |
3 | +import java.io.IOException; | |
4 | + | |
5 | +import org.openqa.selenium.WebDriver; | |
6 | +import org.openqa.selenium.support.PageFactory; | |
7 | +import org.testng.annotations.AfterClass; | |
8 | +import org.testng.annotations.BeforeClass; | |
9 | +import org.testng.annotations.Test; | |
10 | + | |
11 | +import com.essa.pageObject.BaseTest; | |
12 | +import com.essa.pageObject.HomePage; | |
13 | +import com.essa.pageObject.buyerManage.InvateCodePage; | |
14 | + | |
15 | +/** | |
16 | + * @author Administrator | |
17 | + *测试用例:生成邀请码 | |
18 | + */ | |
19 | +public class TestGenrateCode extends BaseTest { | |
20 | + | |
21 | +WebDriver driver; | |
22 | + | |
23 | + @BeforeClass | |
24 | + public void setUp() throws IOException { | |
25 | + initsetUp(); | |
26 | + loginValid("admin"); | |
27 | + } | |
28 | + | |
29 | + @AfterClass | |
30 | + public void tearDown() { | |
31 | + driver.quit(); | |
32 | + } | |
33 | + | |
34 | + /** | |
35 | + * 生成邀请码 | |
36 | + */ | |
37 | + @Test(description="生成采购商注册邀请码") | |
38 | + public void genrateCode() { | |
39 | + this.driver = getDriver(); | |
40 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
41 | + homePage.toInvateCodePage(); | |
42 | + InvateCodePage invateCodePage = PageFactory.initElements(driver, InvateCodePage.class); | |
43 | + invateCodePage.generateCode(); | |
44 | + } | |
45 | +} | ... | ... |
src/test/java/com/essa/testSuite/TestGroupPurchase.java
0 → 100644
... | ... | @@ -0,0 +1,75 @@ |
1 | +package com.essa.testSuite; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.support.PageFactory; | |
5 | +import org.testng.annotations.AfterClass; | |
6 | +import org.testng.annotations.BeforeClass; | |
7 | +import org.testng.annotations.Test; | |
8 | +import org.testng.asserts.SoftAssert; | |
9 | + | |
10 | +import com.essa.pageObject.BaseTest; | |
11 | +import com.essa.pageObject.HomePage; | |
12 | +import com.essa.pageObject.buyPlaneManage.SkuCategoryManagerCongfigPage; | |
13 | +import com.essa.pageObject.marketingManage.GroupControlPage; | |
14 | +import com.essa.pageObject.marketingManage.GroupSettingPage; | |
15 | + | |
16 | +/** | |
17 | + * @author Administrator | |
18 | + *测试用例:发布团购 | |
19 | + */ | |
20 | +public class TestGroupPurchase extends BaseTest { | |
21 | + | |
22 | + WebDriver driver; | |
23 | + | |
24 | + @BeforeClass | |
25 | + public void setUp() { | |
26 | + initsetUp(); | |
27 | + loginValid("linrong"); | |
28 | + } | |
29 | + | |
30 | + /** | |
31 | + * 配置商品类目经理 | |
32 | + */ | |
33 | + @Test(description="配置商品类目经理") | |
34 | + public void SkuCategoryManagerCongfig() { | |
35 | + this.driver = getDriver(); | |
36 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
37 | + homePage.toSkuCategoryManagerCongfig(); | |
38 | + SkuCategoryManagerCongfigPage skuCategoryManagerCongfigPage = PageFactory.initElements(driver, | |
39 | + SkuCategoryManagerCongfigPage.class); | |
40 | + skuCategoryManagerCongfigPage.distributeManager(); | |
41 | + } | |
42 | + | |
43 | + /** | |
44 | + * 发布团购商品 | |
45 | + */ | |
46 | + @Test(description="发布团购") | |
47 | + public void publishGroupPurchase() { | |
48 | + this.driver = getDriver(); | |
49 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
50 | + homePage.toGroupSettingPage(); | |
51 | + GroupSettingPage groupSettingPage = PageFactory.initElements(driver, GroupSettingPage.class); | |
52 | + groupSettingPage.publishGroup(); | |
53 | + } | |
54 | + | |
55 | + /** | |
56 | + * 进入团购控制,查找是否有发布成功,并进行断言 | |
57 | + */ | |
58 | + @Test(description="检查团购是否发布成功") | |
59 | + public void isPublish() { | |
60 | + this.driver = getDriver(); | |
61 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
62 | + homePage.toGroupControlPage(); | |
63 | + GroupControlPage groupControlPage = PageFactory.initElements(driver, GroupControlPage.class); | |
64 | + boolean actual = groupControlPage.isSuccess(); | |
65 | + SoftAssert softAssert = new SoftAssert(); | |
66 | + softAssert.assertEquals(actual, true, "发布团购失败了!"); | |
67 | + softAssert.assertAll(); | |
68 | + } | |
69 | + | |
70 | + @AfterClass | |
71 | + public void tearDown() { | |
72 | + driver.quit(); | |
73 | + } | |
74 | + | |
75 | +} | ... | ... |
src/test/java/com/essa/testSuite/TestProductInquiry.java
0 → 100644
... | ... | @@ -0,0 +1,50 @@ |
1 | +package com.essa.testSuite; | |
2 | + | |
3 | +import org.openqa.selenium.WebDriver; | |
4 | +import org.openqa.selenium.support.PageFactory; | |
5 | +import org.testng.annotations.AfterClass; | |
6 | +import org.testng.annotations.BeforeClass; | |
7 | +import org.testng.annotations.Test; | |
8 | +import org.testng.asserts.SoftAssert; | |
9 | + | |
10 | +import com.essa.pageObject.BaseTest; | |
11 | +import com.essa.pageObject.HomePage; | |
12 | +import com.essa.pageObject.inquiryManage.ProductInquiryFeedback; | |
13 | +import com.essa.pageObject.inquiryManage.ProductInquiryTask; | |
14 | + | |
15 | +/** | |
16 | + * @author Administrator | |
17 | + *测试用例:成品询价 | |
18 | + */ | |
19 | +public class TestProductInquiry extends BaseTest { | |
20 | + | |
21 | + WebDriver driver; | |
22 | + | |
23 | + @BeforeClass | |
24 | + public void setUp() { | |
25 | + initsetUp(); | |
26 | + loginValid("chenhong"); | |
27 | + } | |
28 | + @AfterClass | |
29 | + public void tearDown() { | |
30 | + driver.quit(); | |
31 | + } | |
32 | + | |
33 | + /** | |
34 | + * 成品询价 | |
35 | + */ | |
36 | + @Test(description="成品询价流程") | |
37 | + public void productInquiry() { | |
38 | + this.driver = getDriver(); | |
39 | + HomePage homePage = PageFactory.initElements(driver, HomePage.class); | |
40 | + homePage.toProductInquiryTask(); | |
41 | + ProductInquiryTask productInquiryTask = PageFactory.initElements(driver, ProductInquiryTask.class); | |
42 | + productInquiryTask.toFeedback(); | |
43 | + ProductInquiryFeedback productInquiryFeedback = PageFactory.initElements(driver, ProductInquiryFeedback.class); | |
44 | + productInquiryFeedback.submit(); | |
45 | + //断言 | |
46 | + SoftAssert softAssert = new SoftAssert(); | |
47 | + softAssert.assertEquals(productInquiryTask.isSucceed(), true, "成品询价失败!"); | |
48 | + softAssert.assertAll(); | |
49 | + } | |
50 | +} | ... | ... |
... | ... | @@ -0,0 +1,521 @@ |
1 | +package demo; | |
2 | + | |
3 | +import java.awt.EventQueue; | |
4 | + | |
5 | +import javax.swing.JFrame; | |
6 | +import javax.swing.ButtonGroup; | |
7 | +import javax.swing.JButton; | |
8 | +import java.awt.event.ActionListener; | |
9 | +import java.io.BufferedReader; | |
10 | +import java.io.File; | |
11 | +import java.io.InputStream; | |
12 | +import java.io.InputStreamReader; | |
13 | +import java.text.SimpleDateFormat; | |
14 | +import java.util.ArrayList; | |
15 | +import java.util.Date; | |
16 | +import java.util.List; | |
17 | +import java.awt.event.ActionEvent; | |
18 | +import javax.swing.JTextField; | |
19 | + | |
20 | +import org.apache.xmlbeans.impl.xb.xsdschema.Public; | |
21 | +import org.testng.TestNG; | |
22 | + | |
23 | +import com.essa.framework.BrowserEngine; | |
24 | +import com.essa.framework.Logger; | |
25 | +import com.essa.framework.Model; | |
26 | +import com.essa.pageObject.GoodsManage.AddOriginalGoodsPage; | |
27 | +import com.essa.pageObject.GoodsManage.GoodsBankPage; | |
28 | +import com.essa.pageObject.GoodsManage.UpdatePicPage; | |
29 | + | |
30 | +import javax.swing.JLabel; | |
31 | +import javax.swing.JRadioButton; | |
32 | +import javax.swing.JComboBox; | |
33 | +import javax.swing.JFileChooser; | |
34 | +import javax.swing.JScrollPane; | |
35 | +import javax.swing.JTextArea; | |
36 | + | |
37 | +import java.awt.Color; | |
38 | +import javax.swing.DefaultComboBoxModel; | |
39 | +import javax.swing.ImageIcon; | |
40 | +import java.awt.Toolkit; | |
41 | +import java.awt.BorderLayout; | |
42 | +import java.awt.Choice; | |
43 | +import java.awt.Font; | |
44 | +import java.awt.Graphics; | |
45 | + | |
46 | +import javax.swing.JList; | |
47 | +import javax.swing.JMenuBar; | |
48 | +import javax.swing.JTextPane; | |
49 | +import java.awt.event.InputMethodListener; | |
50 | +import java.awt.event.InputMethodEvent; | |
51 | +import java.beans.VetoableChangeListener; | |
52 | +import java.beans.PropertyChangeEvent; | |
53 | +import javax.swing.JPanel; | |
54 | +import java.beans.PropertyChangeListener; | |
55 | +import java.awt.event.MouseAdapter; | |
56 | +import java.awt.event.MouseEvent; | |
57 | +import javax.swing.UIManager; | |
58 | +import java.awt.TextField; | |
59 | +import java.awt.Panel; | |
60 | +import javax.swing.JScrollBar; | |
61 | +import javax.swing.ScrollPaneConstants; | |
62 | +import javax.swing.border.LineBorder; | |
63 | + | |
64 | +/** | |
65 | + * @author Administrator | |
66 | + *图形化 | |
67 | + */ | |
68 | +public class firstDemo { | |
69 | + | |
70 | + private JFrame frmvBy; | |
71 | + private JTextField supplierName; | |
72 | + private JTextField buyerNo2; | |
73 | + public static String no; | |
74 | + private JTextField account; | |
75 | + private JTextField SkuNo; | |
76 | + private JTextField password; | |
77 | + private JTextField registerAccount; | |
78 | + | |
79 | + /** | |
80 | + * Launch the application. | |
81 | + */ | |
82 | + public static void main(String[] args) { | |
83 | + EventQueue.invokeLater(new Runnable() { | |
84 | + public void run() { | |
85 | + try { | |
86 | + firstDemo window = new firstDemo(); | |
87 | + window.frmvBy.setVisible(true); | |
88 | + } catch (Exception e) { | |
89 | + e.printStackTrace(); | |
90 | + } | |
91 | + } | |
92 | + }); | |
93 | + } | |
94 | + | |
95 | + /** | |
96 | + * Create the application. | |
97 | + */ | |
98 | + public firstDemo() { | |
99 | + initialize(); | |
100 | + | |
101 | + } | |
102 | + public String getCurrentTime() { | |
103 | + SimpleDateFormat format = new SimpleDateFormat("[yyyy-MM-dd HH:mm:ss] "); | |
104 | + Date today = new Date(); | |
105 | + String time = format.format(today); | |
106 | + return time; | |
107 | + } | |
108 | + | |
109 | + /** | |
110 | + * Initialize the contents of the frame. | |
111 | + */ | |
112 | + private void initialize() { | |
113 | + frmvBy = new JFrame("ESSA自动化测试工具v1.0.0"); | |
114 | + frmvBy.getContentPane().setBackground(UIManager.getColor("Button.background")); | |
115 | + frmvBy.setTitle("ESSA自动化测试工具v1.0.1"); | |
116 | + frmvBy.setIconImage(Toolkit.getDefaultToolkit().getImage(firstDemo.class.getResource("/demo/icon2.png"))); | |
117 | + frmvBy.getContentPane().setEnabled(false); | |
118 | + frmvBy.setResizable(false); | |
119 | + frmvBy.setBackground(UIManager.getColor("Button.background")); | |
120 | + frmvBy.setForeground(Color.LIGHT_GRAY); | |
121 | + frmvBy.setBounds(650, 350, 526, 467); | |
122 | + frmvBy.setSize(686, 405); | |
123 | + frmvBy.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
124 | + frmvBy.getContentPane().setLayout(null); | |
125 | + | |
126 | + final JTextArea ja; | |
127 | + JScrollPane jsp; | |
128 | + ja = new JTextArea(); | |
129 | + jsp = new JScrollPane(ja); | |
130 | + jsp.setBounds(22, 186, 631, 134); | |
131 | + frmvBy.getContentPane().add(jsp); | |
132 | + | |
133 | + ja.setEditable(false); | |
134 | + ja.setWrapStyleWord(true); | |
135 | + ja.setLineWrap(true); | |
136 | + ja.setFont(new Font("微软雅黑", Font.PLAIN, 13)); | |
137 | +// ja.append("提示:建议使用版本号为68.0的Chrome浏览器\r\n"); | |
138 | + ja.append(getCurrentTime()+"默认选择场景:新增原厂商品\r\n"); | |
139 | + | |
140 | + JLabel label = new JLabel("操作环境:"); | |
141 | + label.setBounds(24, 53, 78, 15); | |
142 | + label.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
143 | + frmvBy.getContentPane().add(label); | |
144 | + | |
145 | + final JPanel ToCart = new JPanel(); | |
146 | + ToCart.setBounds(231, 42, 230, 128); | |
147 | + ToCart.setVisible(false); | |
148 | + frmvBy.getContentPane().add(ToCart); | |
149 | + ToCart.setLayout(null); | |
150 | + | |
151 | + JLabel label_1 = new JLabel("可视化操作:"); | |
152 | + label_1.setBounds(10, 119, 88, 15); | |
153 | + label_1.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
154 | + frmvBy.getContentPane().add(label_1); | |
155 | + | |
156 | + JRadioButton view = new JRadioButton("是"); | |
157 | + view.setBounds(103, 115, 42, 23); | |
158 | + view.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
159 | + view.setSelected(true); | |
160 | + frmvBy.getContentPane().add(view); | |
161 | + | |
162 | + JRadioButton notView = new JRadioButton("否"); | |
163 | + notView.setBounds(160, 115, 44, 23); | |
164 | + notView.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
165 | + notView.setEnabled(false); | |
166 | + frmvBy.getContentPane().add(notView); | |
167 | + | |
168 | + ButtonGroup group = new ButtonGroup(); | |
169 | + group.add(view); | |
170 | + group.add(notView); | |
171 | + | |
172 | + final JLabel process = new JLabel(); | |
173 | + process.setBounds(474, 25, 179, 170); | |
174 | + process.setForeground(Color.GRAY); | |
175 | + process.setFont(new Font("微软雅黑", Font.PLAIN, 12)); | |
176 | + process.setText("<html><body>新增原厂商品场景流程:<br>1.商品建档<br>2.更新商品图片<br>3.审核商品<br>4.检查商品库,验证是否新增成功<br>PS:以上均由账号(linxun)操作<br><br></body></html>"); | |
177 | + frmvBy.getContentPane().add(process); | |
178 | + | |
179 | + JLabel label_2 = new JLabel("操作场景:"); | |
180 | + label_2.setBounds(24, 87, 78, 15); | |
181 | + label_2.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
182 | + frmvBy.getContentPane().add(label_2); | |
183 | + | |
184 | + | |
185 | + final JPanel addOriginal = new JPanel(); | |
186 | + addOriginal.setBounds(231, 37, 234, 134); | |
187 | + addOriginal.setVisible(true); | |
188 | + frmvBy.getContentPane().add(addOriginal); | |
189 | + addOriginal.setLayout(null); | |
190 | + | |
191 | + final JComboBox selectSystem = new JComboBox<String>(); | |
192 | + selectSystem.setBounds(102, 51, 114, 20); | |
193 | + selectSystem.addActionListener(new ActionListener() { | |
194 | + public void actionPerformed(ActionEvent e) { | |
195 | + if ("SIT".equals((String)selectSystem.getSelectedItem())) { | |
196 | + Model.setEnv("SIT"); | |
197 | + ja.append(getCurrentTime()+"已选择环境:SIT\r\n"); | |
198 | + }else if ("DIT".equals((String)selectSystem.getSelectedItem())) { | |
199 | + Model.setEnv("DIT"); | |
200 | + ja.append(getCurrentTime()+"已选择环境:DIT\r\n"); | |
201 | + }else if ("HOTFIX".equals((String)selectSystem.getSelectedItem())) { | |
202 | + Model.setEnv("HOTFIX"); | |
203 | + ja.append(getCurrentTime()+"已选择环境:HOTFIX\r\n"); | |
204 | + }else if ("UAT".equals((String)selectSystem.getSelectedItem())){ | |
205 | + Model.setEnv("UAT"); | |
206 | + ja.append(getCurrentTime()+"已选择环境:UAT\r\n"); | |
207 | + } | |
208 | +// Model.setEnv((String)selectSystem.getSelectedItem()); | |
209 | + } | |
210 | + }); | |
211 | + selectSystem.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
212 | + selectSystem.addItem("SIT"); | |
213 | + selectSystem.addItem("HOTFIX"); | |
214 | + selectSystem.addItem("UAT"); | |
215 | + selectSystem.addItem("DIT"); | |
216 | + frmvBy.getContentPane().add(selectSystem); | |
217 | + | |
218 | + final JPanel addMarket = new JPanel(); | |
219 | + addMarket.setBounds(0, 67, 230, 46); | |
220 | + addOriginal.add(addMarket); | |
221 | + addMarket.setVisible(false); | |
222 | + addMarket.setLayout(null); | |
223 | + | |
224 | + final JComboBox browser = new JComboBox(); | |
225 | + browser.setEnabled(false); | |
226 | + browser.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
227 | + browser.setBounds(102, 147, 114, 20); | |
228 | + browser.setModel(new DefaultComboBoxModel(new String[] {"Chrome", "Firefox", "IE"})); | |
229 | + frmvBy.getContentPane().add(browser); | |
230 | + | |
231 | + final JComboBox selectScene = new JComboBox(); | |
232 | + selectScene.setBounds(102, 85, 114, 20); | |
233 | + selectScene.setForeground(Color.BLACK); | |
234 | + selectScene.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
235 | + selectScene.addActionListener(new ActionListener() { | |
236 | + public void actionPerformed(ActionEvent e) { | |
237 | + if ("新增原厂商品".equals((String)selectScene.getSelectedItem())) { | |
238 | + process.setText("<html><body>新增原厂商品场景流程:<br>1.商品建档<br>2.更新商品图片<br>3.审核商品<br>4.检查商品库,验证是否新增成功<br>PS:以上均由账号(linxun)操作<br><br></body></html>"); | |
239 | + addOriginal.setVisible(true); | |
240 | + addMarket.setVisible(false); | |
241 | + ToCart.setVisible(false); | |
242 | + ja.append(getCurrentTime()+"已选择场景:新增原厂商品\r\n"); | |
243 | + }else if("新增市场商品".equals((String)selectScene.getSelectedItem())) { | |
244 | + process.setText("<html><body>新增市场商品场景流程:<br>" + | |
245 | + "1.指定采购商编号(默认:RUS00833)<br>" + | |
246 | + "2.使用账号(maomeixiang)对指定采购商进行市场商品建档并选择审核人为\"邢昌勇\"<br>" + | |
247 | + "3.使用账号(xingchangyong)对市场商品审核<br></body></html>"); | |
248 | + addMarket.setVisible(true); | |
249 | + ToCart.setVisible(false); | |
250 | + ja.append(getCurrentTime()+"已选择场景:新增市场商品\r\n"); | |
251 | + }else if("发布团购".equals((String)selectScene.getSelectedItem())) { | |
252 | + ja.append(getCurrentTime()+"已选择场景:发布团购,运行过程中将会打开关闭浏览器2次!\r\n"); | |
253 | + process.setText("<html><body>发布团购场景流程:<br><font color=\"red\">1.先执行新增原厂商品流程,生成一个原厂SKU</font><br>2.使用账号(linrong)为新增的SKU分配类目经理<br>3.团购设置中添加该SKU,并发布团购,验证团购发布结果</body></html>"); | |
254 | + addOriginal.setVisible(true); | |
255 | + addMarket.setVisible(false); | |
256 | + ToCart.setVisible(false); | |
257 | + }else if ("采购商注册".equals((String)selectScene.getSelectedItem())) { | |
258 | + addOriginal.setVisible(false); | |
259 | + ToCart.setVisible(false); | |
260 | + ja.append(getCurrentTime()+"已选择场景:采购商注册,运行过程中将会打开关闭浏览器2次!\r\n"); | |
261 | + process.setText("<html><body>采购商注册流程:<br>1.使用账号(admin)在bpms后台生成一个邀请码<br>2.采购商平台填写注册信息,并填入上一步生成的邀请码<br>PS:新账号密码默认为:essa123<br><br><br></body></html>"); | |
262 | + }else if ("添加SKU至购物车".equals((String)selectScene.getSelectedItem())) { | |
263 | + addOriginal.setVisible(false); | |
264 | + ToCart.setVisible(true); | |
265 | + ja.append(getCurrentTime()+"已选择场景:添加SKU至购物车\r\n"); | |
266 | + process.setText("<html><body>添加SKU至购物车流程:<br>1.Buyer平台根据填入的采购<br>商信息进行登录操作<br>2.若未填写商品编号,将从数<br>据库随机查出一个符合要求的<br>sku添加至购物车<br><br><br></body></html>"); | |
267 | + }else if ("成品询价".equals((String)selectScene.getSelectedItem())) { | |
268 | + ToCart.setVisible(true); | |
269 | + ja.append(getCurrentTime()+"已选择场景:成品询价,运行过程中将会打开关闭浏览器2次!\r\n"); | |
270 | + process.setText("<html><body>成品询价流程:<br>1.Buyer平台根据填入的采购<br>商信息加入sku,若未填写sku<br>编号,将随机从数据库获取符<br>合要求的sku<br>2.bpms后台登录账号(chenhong)对该sku进行成<br>品询价审核<br></body></html>"); | |
271 | + }else if ("提交PO".equals((String)selectScene.getSelectedItem())) { | |
272 | + ToCart.setVisible(true); | |
273 | + ja.append(getCurrentTime()+"已选择场景:提交PO,运行过程中将会打开关闭浏览器3次!\r\n"); | |
274 | + process.setText("<html><body>提交PO流程:<br>1.采购商平台加入商品至购物车<br>2.bpms后台登录账号(chenhong)对该sku进行成品询价审核<br>3.再次登录采购商平台,进行拼柜、设置唛头、贴纸和提交PO操作</body></html>"); | |
275 | + } | |
276 | + } | |
277 | + }); | |
278 | + selectScene.setModel(new DefaultComboBoxModel(new String[] {"新增原厂商品", "新增市场商品", "发布团购", "采购商注册", "成品询价", "提交PO"})); | |
279 | + frmvBy.getContentPane().add(selectScene); | |
280 | + | |
281 | + JLabel label_3 = new JLabel("供应商名称:"); | |
282 | + label_3.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
283 | + label_3.setBounds(9, 15, 91, 15); | |
284 | + addOriginal.add(label_3); | |
285 | + | |
286 | + supplierName = new JTextField(); | |
287 | + supplierName.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
288 | + supplierName.setForeground(Color.BLACK); | |
289 | + supplierName.setBounds(92, 10, 114, 25); | |
290 | + addOriginal.add(supplierName); | |
291 | + supplierName.setText("ESSA"); | |
292 | + supplierName.setColumns(10); | |
293 | + | |
294 | + JButton button = new JButton("选择图片"); | |
295 | + button.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
296 | + button.setBounds(91, 44, 91, 23); | |
297 | + addOriginal.add(button); | |
298 | + | |
299 | + JLabel lblSku = new JLabel("商品图片:"); | |
300 | + lblSku.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
301 | + lblSku.setBounds(22, 48, 70, 15); | |
302 | + addOriginal.add(lblSku); | |
303 | + | |
304 | + final JLabel label_7 = new JLabel("*必填"); | |
305 | + label_7.setFont(new Font("微软雅黑", Font.PLAIN, 12)); | |
306 | + label_7.setBounds(192, 48, 42, 15); | |
307 | + addOriginal.add(label_7); | |
308 | + label_7.setForeground(Color.RED); | |
309 | + | |
310 | + final JLabel picPath = new JLabel(""); | |
311 | + picPath.setVisible(false); | |
312 | + addOriginal.add(picPath); | |
313 | + | |
314 | + JLabel label_5 = new JLabel("采购商编号:"); | |
315 | + label_5.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
316 | + label_5.setBounds(8, 15, 86, 15); | |
317 | + addMarket.add(label_5); | |
318 | + | |
319 | + buyerNo2 = new JTextField(); | |
320 | + buyerNo2.setBounds(93, 11, 114, 25); | |
321 | + addMarket.add(buyerNo2); | |
322 | + buyerNo2.setFont(new Font("宋体", Font.PLAIN, 14)); | |
323 | + buyerNo2.setText("RUS00833"); | |
324 | + buyerNo2.setColumns(10); | |
325 | + | |
326 | + button.addActionListener(new ActionListener() { | |
327 | + public void actionPerformed(ActionEvent e) { | |
328 | + JFileChooser jf = new JFileChooser(); | |
329 | + jf.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES ); | |
330 | + jf.showDialog(new JLabel(), "选择图片"); | |
331 | + File file=jf.getSelectedFile(); | |
332 | + String s = null; | |
333 | + try { | |
334 | + s = file.getAbsolutePath(); | |
335 | + } catch (NullPointerException exception) { | |
336 | + } | |
337 | + if(s == "" || s == null) { | |
338 | + ja.append(getCurrentTime()+"您未选择图片,请选择图片\r\n"); | |
339 | + }else { | |
340 | + ja.append(getCurrentTime()+"选择的图片为:"+s+"\r\n"); | |
341 | + picPath.setText(s); | |
342 | + label_7.setText("已选"); | |
343 | + } | |
344 | + } | |
345 | + }); | |
346 | + | |
347 | + JLabel label_4 = new JLabel("浏览器:"); | |
348 | + label_4.setBounds(38, 149, 62, 15); | |
349 | + label_4.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
350 | + frmvBy.getContentPane().add(label_4); | |
351 | + | |
352 | + JButton btnNewButton = new JButton("开 始"); | |
353 | + btnNewButton.setBounds(551, 325, 101, 35); | |
354 | + frmvBy.getContentPane().add(btnNewButton); | |
355 | + btnNewButton.setFont(new Font("微软雅黑", Font.PLAIN, 17)); | |
356 | + | |
357 | + | |
358 | + JLabel lblEssav = new JLabel("ESSA自动化测试工具 V1.0.1"); | |
359 | + lblEssav.setBounds(225, 10, 228, 29); | |
360 | + lblEssav.setFont(new Font("微软雅黑", Font.BOLD, 16)); | |
361 | + frmvBy.getContentPane().add(lblEssav); | |
362 | + | |
363 | + JLabel lblwindowsjdkbug = new JLabel("<html><body>提示:1.建议使用版本号为68.0的Chrome浏览器<br> 2.由于部分操作会用到鼠标事件,若运行时手动切换界面可能会导致运行出错</body></html>"); | |
364 | + lblwindowsjdkbug.setFont(new Font("微软雅黑", Font.PLAIN, 12)); | |
365 | + lblwindowsjdkbug.setBounds(25, 323, 456, 40); | |
366 | + frmvBy.getContentPane().add(lblwindowsjdkbug); | |
367 | + | |
368 | + | |
369 | + JLabel Account = new JLabel("采购商账号:"); | |
370 | + Account.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
371 | + Account.setBounds(9, 10, 88, 15); | |
372 | + ToCart.add(Account); | |
373 | + | |
374 | + JLabel Password = new JLabel("密码:"); | |
375 | + Password.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
376 | + Password.setBounds(50, 41, 65, 15); | |
377 | + ToCart.add(Password); | |
378 | + | |
379 | + JLabel No = new JLabel("商品编号:"); | |
380 | + No.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
381 | + No.setBounds(22, 75, 88, 15); | |
382 | + ToCart.add(No); | |
383 | + | |
384 | + account = new JTextField(); | |
385 | + account.setText("buyer11159@essa.cn"); | |
386 | + account.setFont(new Font("微软雅黑", Font.PLAIN, 12)); | |
387 | + account.setBounds(92, 4, 130, 25); | |
388 | + ToCart.add(account); | |
389 | + account.setColumns(10); | |
390 | + | |
391 | + password = new JTextField(); | |
392 | + password.setText("essa123"); | |
393 | + password.setToolTipText(""); | |
394 | + password.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
395 | + password.setBounds(92, 37, 130, 25); | |
396 | + ToCart.add(password); | |
397 | + password.setColumns(10); | |
398 | + | |
399 | + SkuNo = new JTextField(); | |
400 | + SkuNo.setText("选填,勿填活动商品"); | |
401 | + SkuNo.setForeground(Color.LIGHT_GRAY); | |
402 | + SkuNo.setFont(new Font("微软雅黑", Font.PLAIN, 13)); | |
403 | + SkuNo.addMouseListener(new MouseAdapter() { | |
404 | + @Override | |
405 | + public void mouseClicked(MouseEvent e) { | |
406 | + if (SkuNo.getText().equals("选填,勿填活动商品")) { | |
407 | + SkuNo.setForeground(Color.black); | |
408 | + SkuNo.setText(""); | |
409 | + } | |
410 | + } | |
411 | + }); | |
412 | + SkuNo.setBounds(92, 70, 130, 25); | |
413 | + ToCart.add(SkuNo); | |
414 | + SkuNo.setColumns(10); | |
415 | + | |
416 | + JPanel register = new JPanel(); | |
417 | + register.setBounds(231, 42, 224, 134); | |
418 | + frmvBy.getContentPane().add(register); | |
419 | + | |
420 | + JLabel RegisterAccount = new JLabel("采购商邮箱:"); | |
421 | + register.add(RegisterAccount); | |
422 | + RegisterAccount.setFont(new Font("微软雅黑", Font.PLAIN, 14)); | |
423 | + | |
424 | + registerAccount = new JTextField(); | |
425 | + registerAccount.setForeground(Color.LIGHT_GRAY); | |
426 | + registerAccount.setText("若不填写将自动生成"); | |
427 | + registerAccount.addMouseListener(new MouseAdapter() { | |
428 | + @Override | |
429 | + public void mouseClicked(MouseEvent e) { | |
430 | + if (registerAccount.getText().equals("若不填写将自动生成")) { | |
431 | + registerAccount.setForeground(Color.black); | |
432 | + registerAccount.setText(""); | |
433 | + } | |
434 | + } | |
435 | + }); | |
436 | + register.add(registerAccount); | |
437 | + registerAccount.setFont(new Font("微软雅黑", Font.PLAIN, 13)); | |
438 | + registerAccount.setColumns(10); | |
439 | + | |
440 | + | |
441 | + btnNewButton.addActionListener(new ActionListener() { | |
442 | + public void actionPerformed(ActionEvent e) { | |
443 | + String Environment = (String) selectSystem.getSelectedItem(); | |
444 | + String Scene = (String) selectScene.getSelectedItem(); | |
445 | + String Browser = (String) browser.getSelectedItem(); | |
446 | + BrowserEngine.setInit(Environment, Browser); | |
447 | + TestNG testNG = new TestNG(); | |
448 | + List<String> suites = new ArrayList<String>(); | |
449 | + if (Scene == "新增原厂商品") { | |
450 | + AddOriginalGoodsPage.setSupplierName(supplierName.getText()); | |
451 | + UpdatePicPage.setPicPath(picPath.getText()); | |
452 | +// suites.add(".\\suites\\addOriginalGoods.xml"); | |
453 | + suites.add(".\\resources\\suites\\addOriginalGoods.xml");//图形界面 | |
454 | + }else if (Scene == "新增市场商品") { | |
455 | + Model.setBuyerNo(buyerNo2.getText()); | |
456 | + Model.setPicPath(picPath.getText()); | |
457 | + Model.setSupplierName(supplierName.getText()); | |
458 | +// suites.add(".\\suites\\addMarketGoods.xml"); | |
459 | + suites.add(".\\resources\\suites\\addMarketGoods.xml");//图形界面 | |
460 | + } else if (Scene == "发布团购") { | |
461 | + AddOriginalGoodsPage.setSupplierName(supplierName.getText()); | |
462 | + UpdatePicPage.setPicPath(picPath.getText()); | |
463 | +// suites.add(".\\suites\\publishGroupPurchase.xml"); | |
464 | + suites.add(".\\resources\\suites\\publishGroupPurchase.xml");//图形界面 | |
465 | + } else if (Scene == "采购商注册") { | |
466 | +// suites.add(".\\suites\\buyerRegister.xml"); | |
467 | + if (!(registerAccount.getText().equals("") ||registerAccount.getText().equals("若不填写将自动生成"))) { | |
468 | + Model.setEmail(registerAccount.getText()); | |
469 | + } | |
470 | + suites.add(".\\resources\\suites\\buyerRegister.xml");//图形界面 | |
471 | + } else if (Scene == "添加SKU至购物车") { | |
472 | + Model.setBuyerAccount(account.getText()); | |
473 | + Model.setBuyerPassword(password.getText()); | |
474 | + Model.setSkuNo(SkuNo.getText()); | |
475 | + suites.add(".\\resources\\suites\\addSkuToCart.xml");//暂时舍弃 | |
476 | + } else if (Scene == "成品询价") { | |
477 | + Model.setBuyerAccount(account.getText()); | |
478 | + Model.setBuyerPassword(password.getText()); | |
479 | + Model.setSkuNo(SkuNo.getText()); | |
480 | + System.out.println("打印:"+SkuNo);//=============================================== | |
481 | + suites.add(".\\resources\\suites\\productInquiry.xml"); | |
482 | + } else if (Scene == "提交PO") { | |
483 | + Model.setBuyerAccount(account.getText()); | |
484 | + Model.setBuyerPassword(password.getText()); | |
485 | + Model.setSkuNo(SkuNo.getText()); | |
486 | + suites.add(".\\resources\\suites\\sendPO.xml"); | |
487 | + } | |
488 | + testNG.setTestSuites(suites); | |
489 | + testNG.run(); | |
490 | + ja.append(getCurrentTime()+"======="+Scene+"场景,执行完毕!=======\r\n"); | |
491 | + if (Scene == "新增原厂商品" || Scene == "新增市场商品" || Scene == "发布团购") { | |
492 | + no = Model.getSkuNo(); | |
493 | + if (no != null) { | |
494 | + ja.append(getCurrentTime()+"SKU商品编号:"+no+"\r\n"); | |
495 | + }else { | |
496 | + ja.append(getCurrentTime()+"程序执行失败了!\r\n你可查看目录中test-output/index.html的测试报告,或者查看Log中的执行日志检查原因"); | |
497 | + } | |
498 | + }else if (Scene == "采购商注册") { | |
499 | + String code = Model.getInvateCode(); | |
500 | + String email = Model.getEmail(); | |
501 | + if (code !=null && email != null) { | |
502 | + ja.append(getCurrentTime()+"生成的邀请码:"+Model.getInvateCode()+"\r\n"); | |
503 | + ja.append(getCurrentTime()+"新采购商邮箱:"+Model.getEmail()+"\r\n"); | |
504 | + }else { | |
505 | + ja.append(getCurrentTime()+"程序执行失败了!\r\n你可以分析目录中test-output/index.html的测试报告,或者查看目录中Log文件夹生成的执行日志"); | |
506 | + } | |
507 | + }else if (Scene == "添加SKU至购物车") { | |
508 | + ja.append(getCurrentTime()+"所选采购商账号:"+Model.getBuyerAccount()+"\r\n"); | |
509 | + ja.append(getCurrentTime()+"添加的SKU编号为:"+Model.getSkuNo()+"\r\n"); | |
510 | + }else if (Scene == "成品询价") { | |
511 | + ja.append(getCurrentTime()+"采购商账号:"+Model.getBuyerAccount()+"\r\n"); | |
512 | + ja.append(getCurrentTime()+"SKU编号:"+Model.getSkuNo()+"\r\n"); | |
513 | + }else if (Scene == "提交PO") { | |
514 | + ja.append(getCurrentTime()+"采购商账号:"+Model.getBuyerAccount()+"\r\n"); | |
515 | + ja.append(getCurrentTime()+"PO单号:"+Model.getPoNum()+"\r\n"); | |
516 | + } | |
517 | + } | |
518 | + }); | |
519 | + | |
520 | + } | |
521 | +} | ... | ... |
15.6 KB
target/classes/TestConfig/config.properties deleted
... | ... | @@ -1,16 +0,0 @@ |
1 | -#browserName=FireFox | |
2 | -#browserName=IE | |
3 | -browserName=Chrome | |
4 | - | |
5 | -SIT=http://bpms.sit.gz.essa | |
6 | -BSIT=http://en.portalsit.cn | |
7 | - | |
8 | -HOTFIX=http://bpms.hotfix.gz.essa | |
9 | -BHOTFIX=http://en.portalhotfix.cn | |
10 | - | |
11 | -UAT=http://bpms.spstoys.com:7291 | |
12 | -BUAT=http://en.spstoys.com:889 | |
13 | - | |
14 | -DIT=http://bpms.dit.gz.essa | |
15 | -BDIT=http://en.portaldit.cn | |
16 | - |
target/classes/chromedriver.exe deleted
No preview for this file type
target/classes/data.xlsx deleted
No preview for this file type
target/essa-0.0.1-SNAPSHOT.jar deleted
No preview for this file type
target/maven-archiver/pom.properties deleted
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted
... | ... | @@ -1,14 +0,0 @@ |
1 | -E:\work\essa\src\main\java\com\essa\testSuite\Test_Development_Ability.java | |
2 | -E:\work\essa\src\main\java\com\essa\testSuite\Test_Login.java | |
3 | -E:\work\essa\src\main\java\com\essa\pageObject\LoginPage.java | |
4 | -E:\work\essa\src\main\java\com\essa\framework\BrowserEngine.java | |
5 | -E:\work\essa\src\main\java\com\essa\framework\ListenerSuite.java | |
6 | -E:\work\essa\src\main\java\com\essa\framework\LogType.java | |
7 | -E:\work\essa\src\main\java\com\essa\pageObject\SupplierOperationsTrackPage.java | |
8 | -E:\work\essa\src\main\java\com\essa\pageObject\SupplierStrengthPage.java | |
9 | -E:\work\essa\src\main\java\com\essa\framework\BasePage.java | |
10 | -E:\work\essa\src\main\java\com\essa\testSuite\SendEmail.java | |
11 | -E:\work\essa\src\main\java\com\essa\framework\SendEmail.java | |
12 | -E:\work\essa\src\main\java\com\essa\pageObject\BaseTest.java | |
13 | -E:\work\essa\src\main\java\com\essa\pageObject\HomePage.java | |
14 | -E:\work\essa\src\main\java\com\essa\framework\Logger.java |
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst renamed to target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
target/surefire-reports/TEST-TestSuite.xml deleted
... | ... | @@ -1,67 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8" ?> | |
2 | -<testsuite tests="2" failures="0" name="TestSuite" time="48.905" errors="0" skipped="0"> | |
3 | - <properties> | |
4 | - <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> | |
5 | - <property name="sun.boot.library.path" value="C:\Java\jdk1.8.0_144\jre\bin"/> | |
6 | - <property name="java.vm.version" value="25.144-b01"/> | |
7 | - <property name="java.vm.vendor" value="Oracle Corporation"/> | |
8 | - <property name="java.vendor.url" value="http://java.oracle.com/"/> | |
9 | - <property name="path.separator" value=";"/> | |
10 | - <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/> | |
11 | - <property name="file.encoding.pkg" value="sun.io"/> | |
12 | - <property name="user.script" value=""/> | |
13 | - <property name="user.country" value="CN"/> | |
14 | - <property name="sun.java.launcher" value="SUN_STANDARD"/> | |
15 | - <property name="sun.os.patch.level" value=""/> | |
16 | - <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> | |
17 | - <property name="user.dir" value="E:\work\essa"/> | |
18 | - <property name="java.runtime.version" value="1.8.0_144-b01"/> | |
19 | - <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/> | |
20 | - <property name="basedir" value="E:\work\essa"/> | |
21 | - <property name="java.endorsed.dirs" value="C:\Java\jdk1.8.0_144\jre\lib\endorsed"/> | |
22 | - <property name="os.arch" value="x86"/> | |
23 | - <property name="surefire.real.class.path" value="E:\work\essa\target\surefire\surefirebooter8959233717724126040.jar"/> | |
24 | - <property name="java.io.tmpdir" value="C:\Users\jin\AppData\Local\Temp\"/> | |
25 | - <property name="line.separator" value=" | |
26 | -"/> | |
27 | - <property name="java.vm.specification.vendor" value="Oracle Corporation"/> | |
28 | - <property name="user.variant" value=""/> | |
29 | - <property name="os.name" value="Windows 10"/> | |
30 | - <property name="sun.jnu.encoding" value="GBK"/> | |
31 | - <property name="java.library.path" value="C:\Java\jdk1.8.0_144\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\apache-maven-3.5.3/bin;C:\Java\jdk1.8.0_144/bin;C:\Java\jdk1.8.0_144/bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Java\jdk1.8.0_144\bin;C:\Java\jdk1.8.0_144\jre\bin;;."/> | |
32 | - <property name="surefire.test.class.path" value="E:\work\essa\target\test-classes;E:\work\essa\target\classes;C:\Users\jin\.m2\repository\org\testng\testng\6.14.2\testng-6.14.2.jar;C:\Users\jin\.m2\repository\com\beust\jcommander\1.72\jcommander-1.72.jar;C:\Users\jin\.m2\repository\org\apache-extras\beanshell\bsh\2.0b6\bsh-2.0b6.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-java\3.11.0\selenium-java-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-api\3.11.0\selenium-api-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.11.0\selenium-edge-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.11.0\selenium-opera-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.11.0\selenium-remote-driver-3.11.0.jar;C:\Users\jin\.m2\repository\net\bytebuddy\byte-buddy\1.7.9\byte-buddy-1.7.9.jar;C:\Users\jin\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\jin\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\jin\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\jin\.m2\repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;C:\Users\jin\.m2\repository\com\google\guava\guava\23.6-jre\guava-23.6-jre.jar;C:\Users\jin\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\jin\.m2\repository\org\checkerframework\checker-compat-qual\2.0.0\checker-compat-qual-2.0.0.jar;C:\Users\jin\.m2\repository\com\google\errorprone\error_prone_annotations\2.1.3\error_prone_annotations-2.1.3.jar;C:\Users\jin\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\jin\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\jin\.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\jin\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\jin\.m2\repository\com\squareup\okhttp3\okhttp\3.9.1\okhttp-3.9.1.jar;C:\Users\jin\.m2\repository\com\squareup\okio\okio\1.13.0\okio-1.13.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.11.0\selenium-firefox-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.11.0\selenium-chrome-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.11.0\selenium-safari-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.11.0\selenium-ie-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-support\2.46.0\selenium-support-2.46.0.jar;C:\Users\jin\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar;C:\Users\jin\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\jin\.m2\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi\3.17\poi-3.17.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi-ooxml\3.17\poi-ooxml-3.17.jar;C:\Users\jin\.m2\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.17\poi-ooxml-schemas-3.17.jar;C:\Users\jin\.m2\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;C:\Users\jin\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\jin\.m2\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;"/> | |
33 | - <property name="java.specification.name" value="Java Platform API Specification"/> | |
34 | - <property name="java.class.version" value="52.0"/> | |
35 | - <property name="sun.management.compiler" value="HotSpot Client Compiler"/> | |
36 | - <property name="os.version" value="10.0"/> | |
37 | - <property name="user.home" value="C:\Users\jin"/> | |
38 | - <property name="user.timezone" value="Asia/Shanghai"/> | |
39 | - <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/> | |
40 | - <property name="java.specification.version" value="1.8"/> | |
41 | - <property name="file.encoding" value="GBK"/> | |
42 | - <property name="user.name" value="jin"/> | |
43 | - <property name="java.class.path" value="E:\work\essa\target\test-classes;E:\work\essa\target\classes;C:\Users\jin\.m2\repository\org\testng\testng\6.14.2\testng-6.14.2.jar;C:\Users\jin\.m2\repository\com\beust\jcommander\1.72\jcommander-1.72.jar;C:\Users\jin\.m2\repository\org\apache-extras\beanshell\bsh\2.0b6\bsh-2.0b6.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-java\3.11.0\selenium-java-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-api\3.11.0\selenium-api-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.11.0\selenium-edge-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.11.0\selenium-opera-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.11.0\selenium-remote-driver-3.11.0.jar;C:\Users\jin\.m2\repository\net\bytebuddy\byte-buddy\1.7.9\byte-buddy-1.7.9.jar;C:\Users\jin\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\jin\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\jin\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\jin\.m2\repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;C:\Users\jin\.m2\repository\com\google\guava\guava\23.6-jre\guava-23.6-jre.jar;C:\Users\jin\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\jin\.m2\repository\org\checkerframework\checker-compat-qual\2.0.0\checker-compat-qual-2.0.0.jar;C:\Users\jin\.m2\repository\com\google\errorprone\error_prone_annotations\2.1.3\error_prone_annotations-2.1.3.jar;C:\Users\jin\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\jin\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\jin\.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\jin\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\jin\.m2\repository\com\squareup\okhttp3\okhttp\3.9.1\okhttp-3.9.1.jar;C:\Users\jin\.m2\repository\com\squareup\okio\okio\1.13.0\okio-1.13.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.11.0\selenium-firefox-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.11.0\selenium-chrome-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.11.0\selenium-safari-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.11.0\selenium-ie-driver-3.11.0.jar;C:\Users\jin\.m2\repository\org\seleniumhq\selenium\selenium-support\2.46.0\selenium-support-2.46.0.jar;C:\Users\jin\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar;C:\Users\jin\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\jin\.m2\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi\3.17\poi-3.17.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi-ooxml\3.17\poi-ooxml-3.17.jar;C:\Users\jin\.m2\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;C:\Users\jin\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.17\poi-ooxml-schemas-3.17.jar;C:\Users\jin\.m2\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;C:\Users\jin\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\jin\.m2\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;"/> | |
44 | - <property name="java.vm.specification.version" value="1.8"/> | |
45 | - <property name="sun.arch.data.model" value="32"/> | |
46 | - <property name="java.home" value="C:\Java\jdk1.8.0_144\jre"/> | |
47 | - <property name="sun.java.command" value="E:\work\essa\target\surefire\surefirebooter8959233717724126040.jar E:\work\essa\target\surefire\surefire2809287539438424410tmp E:\work\essa\target\surefire\surefire4282035049965679832tmp"/> | |
48 | - <property name="java.specification.vendor" value="Oracle Corporation"/> | |
49 | - <property name="user.language" value="zh"/> | |
50 | - <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/> | |
51 | - <property name="java.vm.info" value="mixed mode"/> | |
52 | - <property name="java.version" value="1.8.0_144"/> | |
53 | - <property name="java.ext.dirs" value="C:\Java\jdk1.8.0_144\jre\lib\ext;C:\Windows\Sun\Java\lib\ext"/> | |
54 | - <property name="sun.boot.class.path" value="C:\Java\jdk1.8.0_144\jre\lib\resources.jar;C:\Java\jdk1.8.0_144\jre\lib\rt.jar;C:\Java\jdk1.8.0_144\jre\lib\sunrsasign.jar;C:\Java\jdk1.8.0_144\jre\lib\jsse.jar;C:\Java\jdk1.8.0_144\jre\lib\jce.jar;C:\Java\jdk1.8.0_144\jre\lib\charsets.jar;C:\Java\jdk1.8.0_144\jre\lib\jfr.jar;C:\Java\jdk1.8.0_144\jre\classes"/> | |
55 | - <property name="webdriver.chrome.driver" value=".\src\main\resources\chromedriver.exe"/> | |
56 | - <property name="java.vendor" value="Oracle Corporation"/> | |
57 | - <property name="localRepository" value="C:\Users\jin\.m2\repository"/> | |
58 | - <property name="file.separator" value="\"/> | |
59 | - <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/> | |
60 | - <property name="sun.cpu.endian" value="little"/> | |
61 | - <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> | |
62 | - <property name="sun.desktop" value="windows"/> | |
63 | - <property name="sun.cpu.isalist" value=""/> | |
64 | - </properties> | |
65 | - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="8.68"/> | |
66 | - <testcase classname="com.essa.testSuite.Test_Login" name="login" time="10.97"/> | |
67 | -</testsuite> | |
68 | 0 | \ No newline at end of file |
target/surefire-reports/TestSuite.txt deleted
target/surefire-reports/bpms自动化测试/login.xml deleted
... | ... | @@ -1,6 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | -<testsuite hostname="DESKTOP-NIGE62D" ignored="0" name="login" tests="2" failures="0" timestamp="10 四月 2018 10:25:58 GMT" time="44.303" errors="0"> | |
4 | - <testcase name="login" time="8.676" classname="com.essa.testSuite.Test_Login"/> | |
5 | - <testcase name="login" time="10.933" classname="com.essa.testSuite.Test_Login"/> | |
6 | -</testsuite> <!-- login --> |
target/surefire-reports/bpms自动化测试报告/login.xml deleted
... | ... | @@ -1,6 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | -<testsuite hostname="DESKTOP-NIGE62D" ignored="0" name="login" tests="2" failures="0" timestamp="10 四月 2018 10:11:39 GMT" time="22.999" errors="0"> | |
4 | - <testcase name="login" time="5.599" classname="com.essa.testSuite.Test_Login"/> | |
5 | - <testcase name="login" time="5.314" classname="com.essa.testSuite.Test_Login"/> | |
6 | -</testsuite> <!-- login --> |
target/surefire-reports/bpms自动化测试报告/testng-failed.xml deleted
... | ... | @@ -1,18 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | -<suite guice-stage="DEVELOPMENT" verbose="0" name="Failed suite [bpms自动化测试报告]"> | |
4 | - <listeners> | |
5 | - <listener class-name="com.essa.framework.ListenerSuite"/> | |
6 | - </listeners> | |
7 | - <test thread-count="5" verbose="0" name="login(failed)"> | |
8 | - <classes> | |
9 | - <class name="com.essa.testSuite.Test_Login"> | |
10 | - <methods> | |
11 | - <include name="setUp"/> | |
12 | - <include name="login"/> | |
13 | - <include name="tearDown"/> | |
14 | - </methods> | |
15 | - </class> <!-- com.essa.testSuite.Test_Login --> | |
16 | - </classes> | |
17 | - </test> <!-- login(failed) --> | |
18 | -</suite> <!-- Failed suite [bpms自动化测试报告] --> |
target/surefire-reports/bullet_point.png deleted
356 Bytes
target/surefire-reports/collapseall.gif deleted
157 Bytes
target/surefire-reports/emailable-report.html deleted
... | ... | @@ -1,19 +0,0 @@ |
1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
2 | -<html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | -<head> | |
4 | -<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
5 | -<title>TestNG Report</title> | |
6 | -<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style> | |
7 | -</head> | |
8 | -<body> | |
9 | -<table> | |
10 | -<tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr> | |
11 | -<tr><th colspan="7">bpms自动化测试</th></tr> | |
12 | -<tr><td><a href="#t0">login</a></td><td class="num">2</td><td class="num">0</td><td class="num">0</td><td class="num">44,303</td><td></td><td></td></tr> | |
13 | -</table> | |
14 | -<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">bpms自动化测试</th></tr></tbody><tbody id="t0"><tr><th colspan="4">login — passed</th></tr><tr class="passedeven"><td rowspan="2">com.essa.testSuite.Test_Login</td><td><a href="#m0">login</a></td><td rowspan="2">1523355930019</td><td rowspan="2">8676</td></tr><tr class="passedeven"><td><a href="#m1">login</a></td></tr></tbody> | |
15 | -</table> | |
16 | -<h2>login</h2><h3 id="m0">com.essa.testSuite.Test_Login#login</h3><table class="result"><tr class="param"><th>Parameter #1</th><th>Parameter #2</th></tr><tr class="param stripe"><td>admin</td><td>essa123</td></tr></table><p class="totop"><a href="#summary">back to summary</a></p> | |
17 | -<h3 id="m1">com.essa.testSuite.Test_Login#login</h3><table class="result"><tr class="param"><th>Parameter #1</th><th>Parameter #2</th></tr><tr class="param stripe"><td>linrong</td><td>essa123</td></tr></table><p class="totop"><a href="#summary">back to summary</a></p> | |
18 | -</body> | |
19 | -</html> |
target/surefire-reports/failed.png deleted
977 Bytes
target/surefire-reports/index.html deleted
... | ... | @@ -1,265 +0,0 @@ |
1 | -<!DOCTYPE html> | |
2 | - | |
3 | -<html> | |
4 | - <head> | |
5 | - <meta charset='utf-8'> | |
6 | - <title>TestNG reports</title> | |
7 | - | |
8 | - <link type="text/css" href="testng-reports.css" rel="stylesheet" /> | |
9 | - <script type="text/javascript" src="jquery-1.7.1.min.js"></script> | |
10 | - <script type="text/javascript" src="testng-reports.js"></script> | |
11 | - <script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
12 | - <script type='text/javascript'> | |
13 | - google.load('visualization', '1', {packages:['table']}); | |
14 | - google.setOnLoadCallback(drawTable); | |
15 | - var suiteTableInitFunctions = new Array(); | |
16 | - var suiteTableData = new Array(); | |
17 | - </script> | |
18 | - <!-- | |
19 | - <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script> | |
20 | - --> | |
21 | - </head> | |
22 | - | |
23 | - <body> | |
24 | - <div class="top-banner-root"> | |
25 | - <span class="top-banner-title-font">Test results</span> | |
26 | - <br/> | |
27 | - <span class="top-banner-font-1">1 suite</span> | |
28 | - </div> <!-- top-banner-root --> | |
29 | - <div class="navigator-root"> | |
30 | - <div class="navigator-suite-header"> | |
31 | - <span>All suites</span> | |
32 | - <a href="#" class="collapse-all-link" title="Collapse/expand all the suites"> | |
33 | - <img class="collapse-all-icon" src="collapseall.gif"> | |
34 | - </img> <!-- collapse-all-icon --> | |
35 | - </a> <!-- collapse-all-link --> | |
36 | - </div> <!-- navigator-suite-header --> | |
37 | - <div class="suite"> | |
38 | - <div class="rounded-window"> | |
39 | - <div class="suite-header light-rounded-window-top"> | |
40 | - <a href="#" class="navigator-link" panel-name="suite-bpms自动化测试"> | |
41 | - <span class="suite-name border-passed">bpms自动化测试</span> | |
42 | - </a> <!-- navigator-link --> | |
43 | - </div> <!-- suite-header light-rounded-window-top --> | |
44 | - <div class="navigator-suite-content"> | |
45 | - <div class="suite-section-title"> | |
46 | - <span>Info</span> | |
47 | - </div> <!-- suite-section-title --> | |
48 | - <div class="suite-section-content"> | |
49 | - <ul> | |
50 | - <li> | |
51 | - <a href="#" class="navigator-link " panel-name="test-xml-bpms自动化测试"> | |
52 | - <span>E:\work\essa\suites\testng.xml</span> | |
53 | - </a> <!-- navigator-link --> | |
54 | - </li> | |
55 | - <li> | |
56 | - <a href="#" class="navigator-link " panel-name="testlist-bpms自动化测试"> | |
57 | - <span class="test-stats">1 test</span> | |
58 | - </a> <!-- navigator-link --> | |
59 | - </li> | |
60 | - <li> | |
61 | - <a href="#" class="navigator-link " panel-name="group-bpms自动化测试"> | |
62 | - <span>0 groups</span> | |
63 | - </a> <!-- navigator-link --> | |
64 | - </li> | |
65 | - <li> | |
66 | - <a href="#" class="navigator-link " panel-name="times-bpms自动化测试"> | |
67 | - <span>Times</span> | |
68 | - </a> <!-- navigator-link --> | |
69 | - </li> | |
70 | - <li> | |
71 | - <a href="#" class="navigator-link " panel-name="reporter-bpms自动化测试"> | |
72 | - <span>Reporter output</span> | |
73 | - </a> <!-- navigator-link --> | |
74 | - </li> | |
75 | - <li> | |
76 | - <a href="#" class="navigator-link " panel-name="ignored-methods-bpms自动化测试"> | |
77 | - <span>Ignored methods</span> | |
78 | - </a> <!-- navigator-link --> | |
79 | - </li> | |
80 | - <li> | |
81 | - <a href="#" class="navigator-link " panel-name="chronological-bpms自动化测试"> | |
82 | - <span>Chronological view</span> | |
83 | - </a> <!-- navigator-link --> | |
84 | - </li> | |
85 | - </ul> | |
86 | - </div> <!-- suite-section-content --> | |
87 | - <div class="result-section"> | |
88 | - <div class="suite-section-title"> | |
89 | - <span>Results</span> | |
90 | - </div> <!-- suite-section-title --> | |
91 | - <div class="suite-section-content"> | |
92 | - <ul> | |
93 | - <li> | |
94 | - <span class="method-stats">2 methods, 2 passed</span> | |
95 | - </li> | |
96 | - <li> | |
97 | - <span class="method-list-title passed">Passed methods</span> | |
98 | - <span class="show-or-hide-methods passed"> | |
99 | - <a href="#" panel-name="suite-bpms自动化测试" class="hide-methods passed suite-bpms自动化测试"> (hide)</a> <!-- hide-methods passed suite-bpms自动化测试 --> | |
100 | - <a href="#" panel-name="suite-bpms自动化测试" class="show-methods passed suite-bpms自动化测试"> (show)</a> <!-- show-methods passed suite-bpms自动化测试 --> | |
101 | - </span> | |
102 | - <div class="method-list-content passed suite-bpms自动化测试"> | |
103 | - <span> | |
104 | - <img width="3%" src="passed.png"/> | |
105 | - <a href="#" class="method navigator-link" panel-name="suite-bpms自动化测试" title="com.essa.testSuite.Test_Login" hash-for-method="login(admin, essa123)">login(admin, essa123)</a> <!-- method navigator-link --> | |
106 | - </span> | |
107 | - <br/> | |
108 | - <span> | |
109 | - <img width="3%" src="passed.png"/> | |
110 | - <a href="#" class="method navigator-link" panel-name="suite-bpms自动化测试" title="com.essa.testSuite.Test_Login" hash-for-method="login(linrong, essa123)">login(linrong, essa123)</a> <!-- method navigator-link --> | |
111 | - </span> | |
112 | - <br/> | |
113 | - </div> <!-- method-list-content passed suite-bpms自动化测试 --> | |
114 | - </li> | |
115 | - </ul> | |
116 | - </div> <!-- suite-section-content --> | |
117 | - </div> <!-- result-section --> | |
118 | - </div> <!-- navigator-suite-content --> | |
119 | - </div> <!-- rounded-window --> | |
120 | - </div> <!-- suite --> | |
121 | - </div> <!-- navigator-root --> | |
122 | - <div class="wrapper"> | |
123 | - <div class="main-panel-root"> | |
124 | - <div panel-name="suite-bpms自动化测试" class="panel bpms自动化测试"> | |
125 | - <div class="suite-bpms自动化测试-class-passed"> | |
126 | - <div class="main-panel-header rounded-window-top"> | |
127 | - <img src="passed.png"/> | |
128 | - <span class="class-name">com.essa.testSuite.Test_Login</span> | |
129 | - </div> <!-- main-panel-header rounded-window-top --> | |
130 | - <div class="main-panel-content rounded-window-bottom"> | |
131 | - <div class="method"> | |
132 | - <div class="method-content"> | |
133 | - <a name="login(admin, essa123)"> | |
134 | - </a> <!-- login(admin, essa123) --> | |
135 | - <span class="method-name">login</span> | |
136 | - <span class="parameters">(admin, essa123)</span> | |
137 | - </div> <!-- method-content --> | |
138 | - </div> <!-- method --> | |
139 | - <div class="method"> | |
140 | - <div class="method-content"> | |
141 | - <a name="login(linrong, essa123)"> | |
142 | - </a> <!-- login(linrong, essa123) --> | |
143 | - <span class="method-name">login</span> | |
144 | - <span class="parameters">(linrong, essa123)</span> | |
145 | - </div> <!-- method-content --> | |
146 | - </div> <!-- method --> | |
147 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
148 | - </div> <!-- suite-bpms自动化测试-class-passed --> | |
149 | - </div> <!-- panel bpms自动化测试 --> | |
150 | - <div panel-name="test-xml-bpms自动化测试" class="panel"> | |
151 | - <div class="main-panel-header rounded-window-top"> | |
152 | - <span class="header-content">E:\work\essa\suites\testng.xml</span> | |
153 | - </div> <!-- main-panel-header rounded-window-top --> | |
154 | - <div class="main-panel-content rounded-window-bottom"> | |
155 | - <pre> | |
156 | -<?xml version="1.0" encoding="UTF-8"?> | |
157 | -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
158 | -<suite guice-stage="DEVELOPMENT" verbose="0" name="bpms自动化测试"> | |
159 | - <listeners> | |
160 | - <listener class-name="com.essa.framework.ListenerSuite"/> | |
161 | - </listeners> | |
162 | - <test thread-count="5" verbose="0" name="login"> | |
163 | - <classes> | |
164 | - <class name="com.essa.testSuite.Test_Login"/> | |
165 | - </classes> | |
166 | - </test> <!-- login --> | |
167 | -</suite> <!-- bpms自动化测试 --> | |
168 | - </pre> | |
169 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
170 | - </div> <!-- panel --> | |
171 | - <div panel-name="testlist-bpms自动化测试" class="panel"> | |
172 | - <div class="main-panel-header rounded-window-top"> | |
173 | - <span class="header-content">Tests for bpms自动化测试</span> | |
174 | - </div> <!-- main-panel-header rounded-window-top --> | |
175 | - <div class="main-panel-content rounded-window-bottom"> | |
176 | - <ul> | |
177 | - <li> | |
178 | - <span class="test-name">login (1 class)</span> | |
179 | - </li> | |
180 | - </ul> | |
181 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
182 | - </div> <!-- panel --> | |
183 | - <div panel-name="group-bpms自动化测试" class="panel"> | |
184 | - <div class="main-panel-header rounded-window-top"> | |
185 | - <span class="header-content">Groups for bpms自动化测试</span> | |
186 | - </div> <!-- main-panel-header rounded-window-top --> | |
187 | - <div class="main-panel-content rounded-window-bottom"> | |
188 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
189 | - </div> <!-- panel --> | |
190 | - <div panel-name="times-bpms自动化测试" class="panel"> | |
191 | - <div class="main-panel-header rounded-window-top"> | |
192 | - <span class="header-content">Times for bpms自动化测试</span> | |
193 | - </div> <!-- main-panel-header rounded-window-top --> | |
194 | - <div class="main-panel-content rounded-window-bottom"> | |
195 | - <div class="times-div"> | |
196 | - <script type="text/javascript"> | |
197 | -suiteTableInitFunctions.push('tableData_bpms自动化测试'); | |
198 | -function tableData_bpms自动化测试() { | |
199 | -var data = new google.visualization.DataTable(); | |
200 | -data.addColumn('number', 'Number'); | |
201 | -data.addColumn('string', 'Method'); | |
202 | -data.addColumn('string', 'Class'); | |
203 | -data.addColumn('number', 'Time (ms)'); | |
204 | -data.addRows(2); | |
205 | -data.setCell(0, 0, 0) | |
206 | -data.setCell(0, 1, 'login') | |
207 | -data.setCell(0, 2, 'com.essa.testSuite.Test_Login') | |
208 | -data.setCell(0, 3, 10933); | |
209 | -data.setCell(1, 0, 1) | |
210 | -data.setCell(1, 1, 'login') | |
211 | -data.setCell(1, 2, 'com.essa.testSuite.Test_Login') | |
212 | -data.setCell(1, 3, 8676); | |
213 | -window.suiteTableData['bpms自动化测试']= { tableData: data, tableDiv: 'times-div-bpms自动化测试'} | |
214 | -return data; | |
215 | -} | |
216 | - </script> | |
217 | - <span class="suite-total-time">Total running time: 19 seconds</span> | |
218 | - <div id="times-div-bpms自动化测试"> | |
219 | - </div> <!-- times-div-bpms自动化测试 --> | |
220 | - </div> <!-- times-div --> | |
221 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
222 | - </div> <!-- panel --> | |
223 | - <div panel-name="reporter-bpms自动化测试" class="panel"> | |
224 | - <div class="main-panel-header rounded-window-top"> | |
225 | - <span class="header-content">Reporter output for bpms自动化测试</span> | |
226 | - </div> <!-- main-panel-header rounded-window-top --> | |
227 | - <div class="main-panel-content rounded-window-bottom"> | |
228 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
229 | - </div> <!-- panel --> | |
230 | - <div panel-name="ignored-methods-bpms自动化测试" class="panel"> | |
231 | - <div class="main-panel-header rounded-window-top"> | |
232 | - <span class="header-content">0 ignored methods</span> | |
233 | - </div> <!-- main-panel-header rounded-window-top --> | |
234 | - <div class="main-panel-content rounded-window-bottom"> | |
235 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
236 | - </div> <!-- panel --> | |
237 | - <div panel-name="chronological-bpms自动化测试" class="panel"> | |
238 | - <div class="main-panel-header rounded-window-top"> | |
239 | - <span class="header-content">Methods in chronological order</span> | |
240 | - </div> <!-- main-panel-header rounded-window-top --> | |
241 | - <div class="main-panel-content rounded-window-bottom"> | |
242 | - <div class="chronological-class"> | |
243 | - <div class="chronological-class-name">com.essa.testSuite.Test_Login</div> <!-- chronological-class-name --> | |
244 | - <div class="configuration-class before"> | |
245 | - <span class="method-name">setUp</span> | |
246 | - <span class="method-start">0 ms</span> | |
247 | - </div> <!-- configuration-class before --> | |
248 | - <div class="test-method"> | |
249 | - <span class="method-name">login(admin, essa123)</span> | |
250 | - <span class="method-start">16192 ms</span> | |
251 | - </div> <!-- test-method --> | |
252 | - <div class="test-method"> | |
253 | - <span class="method-name">login(linrong, essa123)</span> | |
254 | - <span class="method-start">24877 ms</span> | |
255 | - </div> <!-- test-method --> | |
256 | - <div class="configuration-class after"> | |
257 | - <span class="method-name">tearDown</span> | |
258 | - <span class="method-start">35848 ms</span> | |
259 | - </div> <!-- configuration-class after --> | |
260 | - </div> <!-- main-panel-content rounded-window-bottom --> | |
261 | - </div> <!-- panel --> | |
262 | - </div> <!-- main-panel-root --> | |
263 | - </div> <!-- wrapper --> | |
264 | - </body> | |
265 | -</html> |
target/surefire-reports/jquery-1.7.1.min.js deleted
... | ... | @@ -1,4 +0,0 @@ |
1 | -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ | |
2 | -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; | |
3 | -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() | |
4 | -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); | |
5 | 0 | \ No newline at end of file |
target/surefire-reports/junitreports/TEST-com.essa.testSuite.Test_Login.xml deleted
... | ... | @@ -1,6 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | -<testsuite skipped="0" hostname="DESKTOP-NIGE62D" name="com.essa.testSuite.Test_Login" tests="2" failures="0" timestamp="10 四月 2018 10:26:02 GMT" time="19.609" errors="0"> | |
4 | - <testcase name="login" time="8.676" classname="com.essa.testSuite.Test_Login"/> | |
5 | - <testcase name="login" time="10.933" classname="com.essa.testSuite.Test_Login"/> | |
6 | -</testsuite> <!-- com.essa.testSuite.Test_Login --> |
target/surefire-reports/navigator-bullet.png deleted
352 Bytes
target/surefire-reports/old/bpms自动化测试/login.properties deleted
target/surefire-reports/old/bpms自动化测试/main.html deleted
target/surefire-reports/old/bpms自动化测试/methods-alphabetical.html deleted
... | ... | @@ -1,12 +0,0 @@ |
1 | -<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | -<table border="1"> | |
3 | -<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:30</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
5 | - <td>main@21753702</td> <td></td> </tr> | |
6 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:38</td> <td>8685</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
7 | - <td>main@21753702</td> <td></td> </tr> | |
8 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:13</td> <td>-16186</td> <td> </td><td> </td><td title=">>Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">>>setUp</td> | |
9 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
10 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:49</td> <td>19656</td> <td> </td><td> </td><td title="<<Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]"><<tearDown</td> | |
11 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
12 | -</table> |
target/surefire-reports/old/bpms自动化测试/methods.html deleted
... | ... | @@ -1,12 +0,0 @@ |
1 | -<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | -<table border="1"> | |
3 | -<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:13</td> <td>0</td> <td> </td><td> </td><td title=">>Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">>>setUp</td> | |
5 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
6 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:30</td> <td>16186</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
7 | - <td>main@21753702</td> <td></td> </tr> | |
8 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:38</td> <td>24871</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
9 | - <td>main@21753702</td> <td></td> </tr> | |
10 | -<tr bgcolor="dca596"> <td>18/04/10 18:25:49</td> <td>35842</td> <td> </td><td> </td><td title="<<Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]"><<tearDown</td> | |
11 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
12 | -</table> |
target/surefire-reports/old/bpms自动化测试/testng.xml.html deleted
... | ... | @@ -1 +0,0 @@ |
1 | -<html><head><title>testng.xml for bpms自动化测试</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite guice-stage="DEVELOPMENT" verbose="0" name="bpms自动化测试"> <br/> <listeners> <br/> <listener class-name="com.essa.framework.ListenerSuite"/> <br/> </listeners> <br/> <test thread-count="5" verbose="0" name="login"> <br/> <classes> <br/> <class name="com.essa.testSuite.Test_Login"/> <br/> </classes> <br/> </test> <!-- login --> <br/></suite> <!-- bpms自动化测试 --> <br/></tt></body></html> | |
2 | 0 | \ No newline at end of file |
target/surefire-reports/old/bpms自动化测试报告/login.properties deleted
target/surefire-reports/old/bpms自动化测试报告/main.html deleted
target/surefire-reports/old/bpms自动化测试报告/methods-alphabetical.html deleted
... | ... | @@ -1,12 +0,0 @@ |
1 | -<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ±¨¸æ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | -<table border="1"> | |
3 | -<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:27</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
5 | - <td>main@21753702</td> <td></td> </tr> | |
6 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:32</td> <td>5603</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
7 | - <td>main@21753702</td> <td></td> </tr> | |
8 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:16</td> <td>-10671</td> <td> </td><td> </td><td title=">>Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">>>setUp</td> | |
9 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
10 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:37</td> <td>10917</td> <td> </td><td> </td><td title="<<Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]"><<tearDown</td> | |
11 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
12 | -</table> |
target/surefire-reports/old/bpms自动化测试报告/methods.html deleted
... | ... | @@ -1,12 +0,0 @@ |
1 | -<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>bpms×Ô¶¯»¯²âÊÔ±¨¸æ</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | -<table border="1"> | |
3 | -<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:16</td> <td>0</td> <td> </td><td> </td><td title=">>Test_Login.setUp()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">>>setUp</td> | |
5 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
6 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:27</td> <td>10671</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
7 | - <td>main@21753702</td> <td></td> </tr> | |
8 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:32</td> <td>16274</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="Test_Login.login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]">login</td> | |
9 | - <td>main@21753702</td> <td></td> </tr> | |
10 | -<tr bgcolor="dca596"> <td>18/04/10 18:11:37</td> <td>21588</td> <td> </td><td> </td><td title="<<Test_Login.tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]"><<tearDown</td> | |
11 | -<td> </td><td> </td><td> </td> <td>main@21753702</td> <td></td> </tr> | |
12 | -</table> |
target/surefire-reports/old/bpms自动化测试报告/testng.xml.html deleted
... | ... | @@ -1 +0,0 @@ |
1 | -<html><head><title>testng.xml for bpms自动化测试报告</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite guice-stage="DEVELOPMENT" verbose="0" name="bpms自动化测试报告"> <br/> <listeners> <br/> <listener class-name="com.essa.framework.ListenerSuite"/> <br/> </listeners> <br/> <test thread-count="5" verbose="0" name="login"> <br/> <classes> <br/> <class name="com.essa.testSuite.Test_Login"/> <br/> </classes> <br/> </test> <!-- login --> <br/></suite> <!-- bpms自动化测试报告 --> <br/></tt></body></html> | |
2 | 0 | \ No newline at end of file |
target/surefire-reports/old/index.html deleted
... | ... | @@ -1,9 +0,0 @@ |
1 | -<html> | |
2 | -<head><title></title><link href="./testng.css" rel="stylesheet" type="text/css" /> | |
3 | -<link href="./my-testng.css" rel="stylesheet" type="text/css" /> | |
4 | -</head><body> | |
5 | -<h2><p align='center'>Test results</p></h2> | |
6 | -<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr> | |
7 | -<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>2</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr> | |
8 | -<tr align='center' class='invocation-passed'><td><a href='bpms自动化测试/index.html'>bpms自动化测试</a></td> | |
9 | -<td>2</td><td>0</td><td>0</td><td><a href='bpms自动化测试/testng.xml.html'>Link</a></td></tr></table></body></html> |
target/surefire-reports/passed.png deleted
1019 Bytes
target/surefire-reports/skipped.png deleted
967 Bytes
target/surefire-reports/testng-failed.xml deleted
... | ... | @@ -1,18 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | -<suite guice-stage="DEVELOPMENT" verbose="0" name="Failed suite [bpms自动化测试报告]"> | |
4 | - <listeners> | |
5 | - <listener class-name="com.essa.framework.ListenerSuite"/> | |
6 | - </listeners> | |
7 | - <test thread-count="5" verbose="0" name="login(failed)"> | |
8 | - <classes> | |
9 | - <class name="com.essa.testSuite.Test_Login"> | |
10 | - <methods> | |
11 | - <include name="setUp"/> | |
12 | - <include name="login"/> | |
13 | - <include name="tearDown"/> | |
14 | - </methods> | |
15 | - </class> <!-- com.essa.testSuite.Test_Login --> | |
16 | - </classes> | |
17 | - </test> <!-- login(failed) --> | |
18 | -</suite> <!-- Failed suite [bpms自动化测试报告] --> |
target/surefire-reports/testng-reports.css deleted
... | ... | @@ -1,309 +0,0 @@ |
1 | -body { | |
2 | - margin: 0px 0px 5px 5px; | |
3 | -} | |
4 | - | |
5 | -ul { | |
6 | - margin: 0px; | |
7 | -} | |
8 | - | |
9 | -li { | |
10 | - list-style-type: none; | |
11 | -} | |
12 | - | |
13 | -a { | |
14 | - text-decoration: none; | |
15 | -} | |
16 | - | |
17 | -a:hover { | |
18 | - text-decoration: underline; | |
19 | -} | |
20 | - | |
21 | -.navigator-selected { | |
22 | - background: #ffa500; | |
23 | -} | |
24 | - | |
25 | -.wrapper { | |
26 | - position: absolute; | |
27 | - top: 60px; | |
28 | - bottom: 0; | |
29 | - left: 400px; | |
30 | - right: 0; | |
31 | - overflow: auto; | |
32 | -} | |
33 | - | |
34 | -.navigator-root { | |
35 | - position: absolute; | |
36 | - top: 60px; | |
37 | - bottom: 0; | |
38 | - left: 0; | |
39 | - width: 400px; | |
40 | - overflow-y: auto; | |
41 | -} | |
42 | - | |
43 | -.suite { | |
44 | - margin: 0px 10px 10px 0px; | |
45 | - background-color: #fff8dc; | |
46 | -} | |
47 | - | |
48 | -.suite-name { | |
49 | - padding-left: 10px; | |
50 | - font-size: 25px; | |
51 | - font-family: Times; | |
52 | -} | |
53 | - | |
54 | -.main-panel-header { | |
55 | - padding: 5px; | |
56 | - background-color: #9FB4D9; //afeeee; | |
57 | - font-family: monospace; | |
58 | - font-size: 18px; | |
59 | -} | |
60 | - | |
61 | -.main-panel-content { | |
62 | - padding: 5px; | |
63 | - margin-bottom: 10px; | |
64 | - background-color: #DEE8FC; //d0ffff; | |
65 | -} | |
66 | - | |
67 | -.rounded-window { | |
68 | - border-radius: 10px; | |
69 | - border-style: solid; | |
70 | - border-width: 1px; | |
71 | -} | |
72 | - | |
73 | -.rounded-window-top { | |
74 | - border-top-right-radius: 10px 10px; | |
75 | - border-top-left-radius: 10px 10px; | |
76 | - border-style: solid; | |
77 | - border-width: 1px; | |
78 | - overflow: auto; | |
79 | -} | |
80 | - | |
81 | -.light-rounded-window-top { | |
82 | - border-top-right-radius: 10px 10px; | |
83 | - border-top-left-radius: 10px 10px; | |
84 | -} | |
85 | - | |
86 | -.rounded-window-bottom { | |
87 | - border-style: solid; | |
88 | - border-width: 0px 1px 1px 1px; | |
89 | - border-bottom-right-radius: 10px 10px; | |
90 | - border-bottom-left-radius: 10px 10px; | |
91 | - overflow: auto; | |
92 | -} | |
93 | - | |
94 | -.method-name { | |
95 | - font-size: 12px; | |
96 | - font-family: monospace; | |
97 | -} | |
98 | - | |
99 | -.method-content { | |
100 | - border-style: solid; | |
101 | - border-width: 0px 0px 1px 0px; | |
102 | - margin-bottom: 10; | |
103 | - padding-bottom: 5px; | |
104 | - width: 80%; | |
105 | -} | |
106 | - | |
107 | -.parameters { | |
108 | - font-size: 14px; | |
109 | - font-family: monospace; | |
110 | -} | |
111 | - | |
112 | -.stack-trace { | |
113 | - white-space: pre; | |
114 | - font-family: monospace; | |
115 | - font-size: 12px; | |
116 | - font-weight: bold; | |
117 | - margin-top: 0px; | |
118 | - margin-left: 20px; | |
119 | -} | |
120 | - | |
121 | -.testng-xml { | |
122 | - font-family: monospace; | |
123 | -} | |
124 | - | |
125 | -.method-list-content { | |
126 | - margin-left: 10px; | |
127 | -} | |
128 | - | |
129 | -.navigator-suite-content { | |
130 | - margin-left: 10px; | |
131 | - font: 12px 'Lucida Grande'; | |
132 | -} | |
133 | - | |
134 | -.suite-section-title { | |
135 | - margin-top: 10px; | |
136 | - width: 80%; | |
137 | - border-style: solid; | |
138 | - border-width: 1px 0px 0px 0px; | |
139 | - font-family: Times; | |
140 | - font-size: 18px; | |
141 | - font-weight: bold; | |
142 | -} | |
143 | - | |
144 | -.suite-section-content { | |
145 | - list-style-image: url(bullet_point.png); | |
146 | -} | |
147 | - | |
148 | -.top-banner-root { | |
149 | - position: absolute; | |
150 | - top: 0; | |
151 | - height: 45px; | |
152 | - left: 0; | |
153 | - right: 0; | |
154 | - padding: 5px; | |
155 | - margin: 0px 0px 5px 0px; | |
156 | - background-color: #0066ff; | |
157 | - font-family: Times; | |
158 | - color: #fff; | |
159 | - text-align: center; | |
160 | -} | |
161 | - | |
162 | -.top-banner-title-font { | |
163 | - font-size: 25px; | |
164 | -} | |
165 | - | |
166 | -.test-name { | |
167 | - font-family: 'Lucida Grande'; | |
168 | - font-size: 16px; | |
169 | -} | |
170 | - | |
171 | -.suite-icon { | |
172 | - padding: 5px; | |
173 | - float: right; | |
174 | - height: 20; | |
175 | -} | |
176 | - | |
177 | -.test-group { | |
178 | - font: 20px 'Lucida Grande'; | |
179 | - margin: 5px 5px 10px 5px; | |
180 | - border-width: 0px 0px 1px 0px; | |
181 | - border-style: solid; | |
182 | - padding: 5px; | |
183 | -} | |
184 | - | |
185 | -.test-group-name { | |
186 | - font-weight: bold; | |
187 | -} | |
188 | - | |
189 | -.method-in-group { | |
190 | - font-size: 16px; | |
191 | - margin-left: 80px; | |
192 | -} | |
193 | - | |
194 | -table.google-visualization-table-table { | |
195 | - width: 100%; | |
196 | -} | |
197 | - | |
198 | -.reporter-method-name { | |
199 | - font-size: 14px; | |
200 | - font-family: monospace; | |
201 | -} | |
202 | - | |
203 | -.reporter-method-output-div { | |
204 | - padding: 5px; | |
205 | - margin: 0px 0px 5px 20px; | |
206 | - font-size: 12px; | |
207 | - font-family: monospace; | |
208 | - border-width: 0px 0px 0px 1px; | |
209 | - border-style: solid; | |
210 | -} | |
211 | - | |
212 | -.ignored-class-div { | |
213 | - font-size: 14px; | |
214 | - font-family: monospace; | |
215 | -} | |
216 | - | |
217 | -.ignored-methods-div { | |
218 | - padding: 5px; | |
219 | - margin: 0px 0px 5px 20px; | |
220 | - font-size: 12px; | |
221 | - font-family: monospace; | |
222 | - border-width: 0px 0px 0px 1px; | |
223 | - border-style: solid; | |
224 | -} | |
225 | - | |
226 | -.border-failed { | |
227 | - border-top-left-radius: 10px 10px; | |
228 | - border-bottom-left-radius: 10px 10px; | |
229 | - border-style: solid; | |
230 | - border-width: 0px 0px 0px 10px; | |
231 | - border-color: #f00; | |
232 | -} | |
233 | - | |
234 | -.border-skipped { | |
235 | - border-top-left-radius: 10px 10px; | |
236 | - border-bottom-left-radius: 10px 10px; | |
237 | - border-style: solid; | |
238 | - border-width: 0px 0px 0px 10px; | |
239 | - border-color: #edc600; | |
240 | -} | |
241 | - | |
242 | -.border-passed { | |
243 | - border-top-left-radius: 10px 10px; | |
244 | - border-bottom-left-radius: 10px 10px; | |
245 | - border-style: solid; | |
246 | - border-width: 0px 0px 0px 10px; | |
247 | - border-color: #19f52d; | |
248 | -} | |
249 | - | |
250 | -.times-div { | |
251 | - text-align: center; | |
252 | - padding: 5px; | |
253 | -} | |
254 | - | |
255 | -.suite-total-time { | |
256 | - font: 16px 'Lucida Grande'; | |
257 | -} | |
258 | - | |
259 | -.configuration-suite { | |
260 | - margin-left: 20px; | |
261 | -} | |
262 | - | |
263 | -.configuration-test { | |
264 | - margin-left: 40px; | |
265 | -} | |
266 | - | |
267 | -.configuration-class { | |
268 | - margin-left: 60px; | |
269 | -} | |
270 | - | |
271 | -.configuration-method { | |
272 | - margin-left: 80px; | |
273 | -} | |
274 | - | |
275 | -.test-method { | |
276 | - margin-left: 100px; | |
277 | -} | |
278 | - | |
279 | -.chronological-class { | |
280 | - background-color: #0ccff; | |
281 | - border-style: solid; | |
282 | - border-width: 0px 0px 1px 1px; | |
283 | -} | |
284 | - | |
285 | -.method-start { | |
286 | - float: right; | |
287 | -} | |
288 | - | |
289 | -.chronological-class-name { | |
290 | - padding: 0px 0px 0px 5px; | |
291 | - color: #008; | |
292 | -} | |
293 | - | |
294 | -.after, .before, .test-method { | |
295 | - font-family: monospace; | |
296 | - font-size: 14px; | |
297 | -} | |
298 | - | |
299 | -.navigator-suite-header { | |
300 | - font-size: 22px; | |
301 | - margin: 0px 10px 5px 0px; | |
302 | - background-color: #deb887; | |
303 | - text-align: center; | |
304 | -} | |
305 | - | |
306 | -.collapse-all-icon { | |
307 | - padding: 5px; | |
308 | - float: right; | |
309 | -} |
target/surefire-reports/testng-reports.js deleted
... | ... | @@ -1,122 +0,0 @@ |
1 | -$(document).ready(function() { | |
2 | - $('a.navigator-link').click(function() { | |
3 | - // Extract the panel for this link | |
4 | - var panel = getPanelName($(this)); | |
5 | - | |
6 | - // Mark this link as currently selected | |
7 | - $('.navigator-link').parent().removeClass('navigator-selected'); | |
8 | - $(this).parent().addClass('navigator-selected'); | |
9 | - | |
10 | - showPanel(panel); | |
11 | - }); | |
12 | - | |
13 | - installMethodHandlers('failed'); | |
14 | - installMethodHandlers('skipped'); | |
15 | - installMethodHandlers('passed', true); // hide passed methods by default | |
16 | - | |
17 | - $('a.method').click(function() { | |
18 | - showMethod($(this)); | |
19 | - return false; | |
20 | - }); | |
21 | - | |
22 | - // Hide all the panels and display the first one (do this last | |
23 | - // to make sure the click() will invoke the listeners) | |
24 | - $('.panel').hide(); | |
25 | - $('.navigator-link').first().click(); | |
26 | - | |
27 | - // Collapse/expand the suites | |
28 | - $('a.collapse-all-link').click(function() { | |
29 | - var contents = $('.navigator-suite-content'); | |
30 | - if (contents.css('display') == 'none') { | |
31 | - contents.show(); | |
32 | - } else { | |
33 | - contents.hide(); | |
34 | - } | |
35 | - }); | |
36 | -}); | |
37 | - | |
38 | -// The handlers that take care of showing/hiding the methods | |
39 | -function installMethodHandlers(name, hide) { | |
40 | - function getContent(t) { | |
41 | - return $('.method-list-content.' + name + "." + t.attr('panel-name')); | |
42 | - } | |
43 | - | |
44 | - function getHideLink(t, name) { | |
45 | - var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); | |
46 | - return $(s); | |
47 | - } | |
48 | - | |
49 | - function getShowLink(t, name) { | |
50 | - return $('a.show-methods.' + name + "." + t.attr('panel-name')); | |
51 | - } | |
52 | - | |
53 | - function getMethodPanelClassSel(element, name) { | |
54 | - var panelName = getPanelName(element); | |
55 | - var sel = '.' + panelName + "-class-" + name; | |
56 | - return $(sel); | |
57 | - } | |
58 | - | |
59 | - $('a.hide-methods.' + name).click(function() { | |
60 | - var w = getContent($(this)); | |
61 | - w.hide(); | |
62 | - getHideLink($(this), name).hide(); | |
63 | - getShowLink($(this), name).show(); | |
64 | - getMethodPanelClassSel($(this), name).hide(); | |
65 | - }); | |
66 | - | |
67 | - $('a.show-methods.' + name).click(function() { | |
68 | - var w = getContent($(this)); | |
69 | - w.show(); | |
70 | - getHideLink($(this), name).show(); | |
71 | - getShowLink($(this), name).hide(); | |
72 | - showPanel(getPanelName($(this))); | |
73 | - getMethodPanelClassSel($(this), name).show(); | |
74 | - }); | |
75 | - | |
76 | - if (hide) { | |
77 | - $('a.hide-methods.' + name).click(); | |
78 | - } else { | |
79 | - $('a.show-methods.' + name).click(); | |
80 | - } | |
81 | -} | |
82 | - | |
83 | -function getHashForMethod(element) { | |
84 | - return element.attr('hash-for-method'); | |
85 | -} | |
86 | - | |
87 | -function getPanelName(element) { | |
88 | - return element.attr('panel-name'); | |
89 | -} | |
90 | - | |
91 | -function showPanel(panelName) { | |
92 | - $('.panel').hide(); | |
93 | - var panel = $('.panel[panel-name="' + panelName + '"]'); | |
94 | - panel.show(); | |
95 | -} | |
96 | - | |
97 | -function showMethod(element) { | |
98 | - var hashTag = getHashForMethod(element); | |
99 | - var panelName = getPanelName(element); | |
100 | - showPanel(panelName); | |
101 | - var current = document.location.href; | |
102 | - var base = current.substring(0, current.indexOf('#')) | |
103 | - document.location.href = base + '#' + hashTag; | |
104 | - var newPosition = $(document).scrollTop() - 65; | |
105 | - $(document).scrollTop(newPosition); | |
106 | -} | |
107 | - | |
108 | -function drawTable() { | |
109 | - for (var i = 0; i < suiteTableInitFunctions.length; i++) { | |
110 | - window[suiteTableInitFunctions[i]](); | |
111 | - } | |
112 | - | |
113 | - for (var k in window.suiteTableData) { | |
114 | - var v = window.suiteTableData[k]; | |
115 | - var div = v.tableDiv; | |
116 | - var data = v.tableData | |
117 | - var table = new google.visualization.Table(document.getElementById(div)); | |
118 | - table.draw(data, { | |
119 | - showRowNumber : false | |
120 | - }); | |
121 | - } | |
122 | -} |
target/surefire-reports/testng-results.xml deleted
... | ... | @@ -1,53 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<testng-results skipped="0" failed="0" ignored="0" total="2" passed="2"> | |
3 | - <reporter-output> | |
4 | - </reporter-output> | |
5 | - <suite name="bpms自动化测试" duration-ms="44303" started-at="2018-04-10T10:25:13Z" finished-at="2018-04-10T10:25:58Z"> | |
6 | - <groups> | |
7 | - </groups> | |
8 | - <test name="login" duration-ms="44303" started-at="2018-04-10T10:25:13Z" finished-at="2018-04-10T10:25:58Z"> | |
9 | - <class name="com.essa.testSuite.Test_Login"> | |
10 | - <test-method status="PASS" signature="setUp()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]" name="setUp" is-config="true" duration-ms="14081" started-at="2018-04-10T10:25:13Z" finished-at="2018-04-10T10:25:27Z"> | |
11 | - <reporter-output> | |
12 | - </reporter-output> | |
13 | - </test-method> <!-- setUp --> | |
14 | - <test-method status="PASS" signature="login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]" name="login" duration-ms="8676" started-at="2018-04-10T10:25:30Z" data-provider="users" finished-at="2018-04-10T10:25:38Z"> | |
15 | - <params> | |
16 | - <param index="0"> | |
17 | - <value> | |
18 | - <![CDATA[admin]]> | |
19 | - </value> | |
20 | - </param> | |
21 | - <param index="1"> | |
22 | - <value> | |
23 | - <![CDATA[essa123]]> | |
24 | - </value> | |
25 | - </param> | |
26 | - </params> | |
27 | - <reporter-output> | |
28 | - </reporter-output> | |
29 | - </test-method> <!-- login --> | |
30 | - <test-method status="PASS" signature="login(java.lang.String, java.lang.String)[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]" name="login" duration-ms="10933" started-at="2018-04-10T10:25:38Z" data-provider="users" finished-at="2018-04-10T10:25:49Z"> | |
31 | - <params> | |
32 | - <param index="0"> | |
33 | - <value> | |
34 | - <![CDATA[linrong]]> | |
35 | - </value> | |
36 | - </param> | |
37 | - <param index="1"> | |
38 | - <value> | |
39 | - <![CDATA[essa123]]> | |
40 | - </value> | |
41 | - </param> | |
42 | - </params> | |
43 | - <reporter-output> | |
44 | - </reporter-output> | |
45 | - </test-method> <!-- login --> | |
46 | - <test-method status="PASS" signature="tearDown()[pri:0, instance:com.essa.testSuite.Test_Login@1b6a447]" name="tearDown" is-config="true" duration-ms="8429" started-at="2018-04-10T10:25:49Z" finished-at="2018-04-10T10:25:58Z"> | |
47 | - <reporter-output> | |
48 | - </reporter-output> | |
49 | - </test-method> <!-- tearDown --> | |
50 | - </class> <!-- com.essa.testSuite.Test_Login --> | |
51 | - </test> <!-- login --> | |
52 | - </suite> <!-- bpms自动化测试 --> | |
53 | -</testng-results> |
target/surefire-reports/testng.css deleted
... | ... | @@ -1,9 +0,0 @@ |
1 | -.invocation-failed, .test-failed { background-color: #DD0000; } | |
2 | -.invocation-percent, .test-percent { background-color: #006600; } | |
3 | -.invocation-passed, .test-passed { background-color: #00AA00; } | |
4 | -.invocation-skipped, .test-skipped { background-color: #CCCC00; } | |
5 | - | |
6 | -.main-page { | |
7 | - font-size: x-large; | |
8 | -} | |
9 | - |
target/surefire/surefire1845207619614431793tmp deleted
target/surefire/surefire2165407935539232655tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 18:11:15 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/surefire/surefire2461867590626624403tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 18:16:16 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/surefire/surefire2650276131276259812tmp deleted
target/surefire/surefire2809287539438424410tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 18:25:12 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/surefire/surefire4282035049965679832tmp deleted
target/surefire/surefire4376639955203633826tmp deleted
target/surefire/surefire5618242358599832587tmp deleted
target/surefire/surefire5906040255932099436tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 17:56:43 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/surefire/surefire660604287503818693tmp deleted
target/surefire/surefire7418267653302398198tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 17:55:26 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/surefire/surefire8275028450064723919tmp deleted
... | ... | @@ -1,62 +0,0 @@ |
1 | -#surefire | |
2 | -#Tue Apr 10 18:21:11 CST 2018 | |
3 | -enableAssertions=true | |
4 | -testSuiteDefinitionTestSourceDirectory=E\:\\work\\essa\\src\\test\\java | |
5 | -classPathUrl.39=C\:\\Users\\jin\\.m2\\repository\\commons-io\\commons-io\\1.3.2\\commons-io-1.3.2.jar | |
6 | -classPathUrl.38=C\:\\Users\\jin\\.m2\\repository\\stax\\stax-api\\1.0.1\\stax-api-1.0.1.jar | |
7 | -classPathUrl.37=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\xmlbeans\\xmlbeans\\2.6.0\\xmlbeans-2.6.0.jar | |
8 | -classPathUrl.36=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml-schemas\\3.17\\poi-ooxml-schemas-3.17.jar | |
9 | -classPathUrl.35=C\:\\Users\\jin\\.m2\\repository\\com\\github\\virtuald\\curvesapi\\1.04\\curvesapi-1.04.jar | |
10 | -classPathUrl.34=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi-ooxml\\3.17\\poi-ooxml-3.17.jar | |
11 | -surefireClassPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-api\\2.7.1\\surefire-api-2.7.1.jar | |
12 | -classPathUrl.33=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\poi\\poi\\3.17\\poi-3.17.jar | |
13 | -surefireClassPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\plexus\\plexus-utils\\1.0.4\\plexus-utils-1.0.4.jar | |
14 | -classPathUrl.32=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-collections4\\4.1\\commons-collections4-4.1.jar | |
15 | -surefireClassPathUrl.1=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\maven-artifact\\2.0\\maven-artifact-2.0.jar | |
16 | -classPathUrl.31=C\:\\Users\\jin\\.m2\\repository\\javax\\activation\\activation\\1.1\\activation-1.1.jar | |
17 | -surefireClassPathUrl.0=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire-testng\\2.7.1\\surefire-testng-2.7.1.jar | |
18 | -classPathUrl.30=C\:\\Users\\jin\\.m2\\repository\\javax\\mail\\mail\\1.4\\mail-1.4.jar | |
19 | -classPathUrl.9=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-remote-driver\\3.11.0\\selenium-remote-driver-3.11.0.jar | |
20 | -classPathUrl.8=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-opera-driver\\3.11.0\\selenium-opera-driver-3.11.0.jar | |
21 | -classPathUrl.7=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-edge-driver\\3.11.0\\selenium-edge-driver-3.11.0.jar | |
22 | -classPathUrl.6=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-api\\3.11.0\\selenium-api-3.11.0.jar | |
23 | -classPathUrl.5=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-java\\3.11.0\\selenium-java-3.11.0.jar | |
24 | -classPathUrl.4=C\:\\Users\\jin\\.m2\\repository\\org\\apache-extras\\beanshell\\bsh\\2.0b6\\bsh-2.0b6.jar | |
25 | -classPathUrl.3=C\:\\Users\\jin\\.m2\\repository\\com\\beust\\jcommander\\1.72\\jcommander-1.72.jar | |
26 | -classPathUrl.2=C\:\\Users\\jin\\.m2\\repository\\org\\testng\\testng\\6.14.2\\testng-6.14.2.jar | |
27 | -classPathUrl.1=E\:\\work\\essa\\target\\classes | |
28 | -report.2=org.apache.maven.surefire.report.XMLReporter | |
29 | -classPathUrl.0=E\:\\work\\essa\\target\\test-classes | |
30 | -report.1=org.apache.maven.surefire.report.BriefFileReporter | |
31 | -childDelegation=false | |
32 | -report.0=org.apache.maven.surefire.report.ForkingConsoleReporter | |
33 | -isTrimStackTrace=true | |
34 | -classPathUrl.29=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-support\\2.46.0\\selenium-support-2.46.0.jar | |
35 | -classPathUrl.28=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-ie-driver\\3.11.0\\selenium-ie-driver-3.11.0.jar | |
36 | -classPathUrl.27=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-safari-driver\\3.11.0\\selenium-safari-driver-3.11.0.jar | |
37 | -testFwJarVersion=6.14.2 | |
38 | -classPathUrl.26=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-chrome-driver\\3.11.0\\selenium-chrome-driver-3.11.0.jar | |
39 | -classPathUrl.25=C\:\\Users\\jin\\.m2\\repository\\org\\seleniumhq\\selenium\\selenium-firefox-driver\\3.11.0\\selenium-firefox-driver-3.11.0.jar | |
40 | -classPathUrl.24=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okio\\okio\\1.13.0\\okio-1.13.0.jar | |
41 | -reportsDirectory=E\:\\work\\essa\\target\\surefire-reports | |
42 | -classPathUrl.23=C\:\\Users\\jin\\.m2\\repository\\com\\squareup\\okhttp3\\okhttp\\3.9.1\\okhttp-3.9.1.jar | |
43 | -classPathUrl.22=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpcore\\4.4.6\\httpcore-4.4.6.jar | |
44 | -classPathUrl.21=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\httpcomponents\\httpclient\\4.5.3\\httpclient-4.5.3.jar | |
45 | -classPathUrl.20=C\:\\Users\\jin\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.14\\animal-sniffer-annotations-1.14.jar | |
46 | -failIfNoTests=false | |
47 | -useManifestOnlyJar=true | |
48 | -testng.test.classpath=E\:\\work\\essa\\target\\test-classes | |
49 | -dirscanner.0=directoryScannerOptions | |
50 | -classPathUrl.19=C\:\\Users\\jin\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar | |
51 | -classPathUrl.18=C\:\\Users\\jin\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.1.3\\error_prone_annotations-2.1.3.jar | |
52 | -classPathUrl.17=C\:\\Users\\jin\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.0.0\\checker-compat-qual-2.0.0.jar | |
53 | -classPathUrl.16=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\1.3.9\\jsr305-1.3.9.jar | |
54 | -classPathUrl.15=C\:\\Users\\jin\\.m2\\repository\\com\\google\\guava\\guava\\23.6-jre\\guava-23.6-jre.jar | |
55 | -classPathUrl.14=C\:\\Users\\jin\\.m2\\repository\\com\\google\\code\\gson\\gson\\2.8.2\\gson-2.8.2.jar | |
56 | -classPathUrl.13=C\:\\Users\\jin\\.m2\\repository\\commons-logging\\commons-logging\\1.2\\commons-logging-1.2.jar | |
57 | -testSuiteXmlFiles0=E\:\\work\\essa\\suites\\testng.xml | |
58 | -classPathUrl.12=C\:\\Users\\jin\\.m2\\repository\\commons-codec\\commons-codec\\1.10\\commons-codec-1.10.jar | |
59 | -providerConfiguration=org.apache.maven.surefire.testng.TestNGProvider | |
60 | -classPathUrl.11=C\:\\Users\\jin\\.m2\\repository\\org\\apache\\commons\\commons-exec\\1.3\\commons-exec-1.3.jar | |
61 | -classPathUrl.10=C\:\\Users\\jin\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.7.9\\byte-buddy-1.7.9.jar | |
62 | -useSystemClassLoader=true |
target/test-classes/com/essa/testSuite/Test_Development_Ability.class deleted
No preview for this file type
target/test-classes/com/essa/testSuite/Test_Login.class deleted
No preview for this file type
... | ... | @@ -0,0 +1,141 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: Default test</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>Default test</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>0/1/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 11:50:34 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>11 seconds (11417 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-failed'> | |
71 | +<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.buyer.testSuite.TestBuyGoods.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestBuyGoods<br>Test method: 关键字搜索,并将sku加入购物车</td> | |
79 | +<td><div><pre>java.lang.NullPointerException | |
80 | + at com.buyer.pageObject.IndexPage.keywordSearch(IndexPage.java:89) | |
81 | + at com.buyer.testSuite.TestBuyGoods.keywordToCart(TestBuyGoods.java:46) | |
82 | + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
83 | + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
84 | + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
85 | + at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
86 | + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) | |
87 | + at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) | |
88 | + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) | |
89 | + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) | |
90 | + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | |
91 | + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
92 | + at org.testng.TestRunner.privateRun(TestRunner.java:648) | |
93 | + at org.testng.TestRunner.run(TestRunner.java:505) | |
94 | + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) | |
95 | + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) | |
96 | + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) | |
97 | + at org.testng.SuiteRunner.run(SuiteRunner.java:364) | |
98 | + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
99 | + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) | |
100 | + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) | |
101 | + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) | |
102 | + at org.testng.TestNG.runSuites(TestNG.java:1049) | |
103 | + at org.testng.TestNG.run(TestNG.java:1017) | |
104 | + at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) | |
105 | + at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) | |
106 | + at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) | |
107 | +</pre></div><a href='#' onClick='toggleBox("stack-trace1917784974", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a> | |
108 | +<div class='stack-trace' id='stack-trace1917784974'><pre>java.lang.NullPointerException | |
109 | + at com.buyer.pageObject.IndexPage.keywordSearch(IndexPage.java:89) | |
110 | + at com.buyer.testSuite.TestBuyGoods.keywordToCart(TestBuyGoods.java:46) | |
111 | + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
112 | + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
113 | + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
114 | + at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
115 | + at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) | |
116 | + at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) | |
117 | + at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) | |
118 | + at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) | |
119 | + at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | |
120 | + at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
121 | + at org.testng.TestRunner.privateRun(TestRunner.java:648) | |
122 | + at org.testng.TestRunner.run(TestRunner.java:505) | |
123 | + at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) | |
124 | + at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) | |
125 | + at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) | |
126 | + at org.testng.SuiteRunner.run(SuiteRunner.java:364) | |
127 | + at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
128 | + at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) | |
129 | + at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) | |
130 | + at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) | |
131 | + at org.testng.TestNG.runSuites(TestNG.java:1049) | |
132 | + at org.testng.TestNG.run(TestNG.java:1017) | |
133 | + at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) | |
134 | + at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) | |
135 | + at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) | |
136 | +</pre></div></td> | |
137 | +<td>1</td> | |
138 | +<td>com.buyer.testSuite.TestBuyGoods@44a7bfbc</td></tr> | |
139 | +</table><p> | |
140 | +</body> | |
141 | +</html> | |
0 | 142 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,40 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="1" tests="1" name="Default test" time="11.417" errors="0" timestamp="31 8月 2018 03:50:46 GMT"> | |
4 | + <testcase classname="com.buyer.testSuite.TestBuyGoods" name="keywordToCart" time="1.128"> | |
5 | + <failure type="java.lang.NullPointerException"> | |
6 | + <![CDATA[java.lang.NullPointerException | |
7 | +at com.buyer.pageObject.IndexPage.keywordSearch(IndexPage.java:89) | |
8 | +at com.buyer.testSuite.TestBuyGoods.keywordToCart(TestBuyGoods.java:46) | |
9 | +at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
10 | +at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
11 | +at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
12 | +at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
13 | +at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) | |
14 | +at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) | |
15 | +at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) | |
16 | +at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) | |
17 | +at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | |
18 | +at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
19 | +at org.testng.TestRunner.privateRun(TestRunner.java:648) | |
20 | +at org.testng.TestRunner.run(TestRunner.java:505) | |
21 | +at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) | |
22 | +at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) | |
23 | +at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) | |
24 | +at org.testng.SuiteRunner.run(SuiteRunner.java:364) | |
25 | +at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
26 | +at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) | |
27 | +at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) | |
28 | +at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) | |
29 | +at org.testng.TestNG.runSuites(TestNG.java:1049) | |
30 | +at org.testng.TestNG.run(TestNG.java:1017) | |
31 | +at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) | |
32 | +at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) | |
33 | +at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) | |
34 | +]]> | |
35 | + </failure> | |
36 | + </testcase> <!-- keywordToCart --> | |
37 | + <testcase classname="com.buyer.testSuite.TestBuyGoods" name="conslidation" time="0.0"> | |
38 | + <ignored/> | |
39 | + </testcase> <!-- conslidation --> | |
40 | +</testsuite> <!-- Default test --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [Default suite]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="Default test(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestBuyGoods"> | |
7 | + <methods> | |
8 | + <include name="setUp"/> | |
9 | + <include name="keywordToCart"/> | |
10 | + <include name="tearDown"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.buyer.testSuite.TestBuyGoods --> | |
13 | + </classes> | |
14 | + </test> <!-- Default test(failed) --> | |
15 | +</suite> <!-- Failed suite [Default suite] --> | ... | ... |
... | ... | @@ -0,0 +1,94 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: addOriginalGoods</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>addOriginalGoods</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 17 12:48:18 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>68 seconds (68748 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td> | |
79 | +<td></td> | |
80 | +<td>16</td> | |
81 | +<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td> | |
84 | +<td></td> | |
85 | +<td>30</td> | |
86 | +<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods</td> | |
89 | +<td></td> | |
90 | +<td>12</td> | |
91 | +<td>com.essa.testSuite.TestAddOriginalGoods@4a668b6e</td></tr> | |
92 | +</table><p> | |
93 | +</body> | |
94 | +</html> | |
0 | 95 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,7 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="addOriginalGoods" time="68.748" errors="0" timestamp="17 8月 2018 04:49:27 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="toAddOriginalGoodsPage" time="30.224"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="updatePic" time="12.571"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="auditOriginal" time="16.052"/> | |
7 | +</testsuite> <!-- addOriginalGoods --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [bpms自动化测试]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="addOriginalGoods(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestAddOriginalGoods"> | |
7 | + <methods> | |
8 | + <include name="auditOriginal"/> | |
9 | + <include name="setUp"/> | |
10 | + <include name="tearDown"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestAddOriginalGoods --> | |
13 | + </classes> | |
14 | + </test> <!-- addOriginalGoods(failed) --> | |
15 | +</suite> <!-- Failed suite [bpms自动化测试] --> | ... | ... |
test-output/junitreports/TEST-com.buyer.testSuite.TestAddToCart.xml
0 → 100644
... | ... | @@ -0,0 +1,5 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestAddToCart" time="12.739" errors="0" timestamp="03 9月 2018 08:28:53 GMT" skipped="0"> | |
4 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="12.739"/> | |
5 | +</testsuite> <!-- com.buyer.testSuite.TestAddToCart --> | ... | ... |
test-output/junitreports/TEST-com.buyer.testSuite.TestBuyGoods.xml
0 → 100644
... | ... | @@ -0,0 +1,37 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestBuyGoods" time="1.128" errors="1" timestamp="31 8月 2018 03:50:46 GMT" skipped="0"> | |
4 | + <testcase classname="com.buyer.testSuite.TestBuyGoods" name="keywordToCart" time="1.128"> | |
5 | + <error type="java.lang.NullPointerException"> | |
6 | + <![CDATA[java.lang.NullPointerException | |
7 | +at com.buyer.pageObject.IndexPage.keywordSearch(IndexPage.java:89) | |
8 | +at com.buyer.testSuite.TestBuyGoods.keywordToCart(TestBuyGoods.java:46) | |
9 | +at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
10 | +at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
11 | +at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
12 | +at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
13 | +at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) | |
14 | +at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) | |
15 | +at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) | |
16 | +at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) | |
17 | +at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | |
18 | +at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
19 | +at org.testng.TestRunner.privateRun(TestRunner.java:648) | |
20 | +at org.testng.TestRunner.run(TestRunner.java:505) | |
21 | +at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) | |
22 | +at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) | |
23 | +at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) | |
24 | +at org.testng.SuiteRunner.run(SuiteRunner.java:364) | |
25 | +at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
26 | +at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) | |
27 | +at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208) | |
28 | +at org.testng.TestNG.runSuitesLocally(TestNG.java:1137) | |
29 | +at org.testng.TestNG.runSuites(TestNG.java:1049) | |
30 | +at org.testng.TestNG.run(TestNG.java:1017) | |
31 | +at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) | |
32 | +at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) | |
33 | +at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) | |
34 | +]]> | |
35 | + </error> | |
36 | + </testcase> <!-- keywordToCart --> | |
37 | +</testsuite> <!-- com.buyer.testSuite.TestBuyGoods --> | ... | ... |
test-output/junitreports/TEST-com.buyer.testSuite.TestRegister.xml
0 → 100644
... | ... | @@ -0,0 +1,5 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestRegister" time="10.873" errors="0" timestamp="31 8月 2018 09:14:09 GMT" skipped="0"> | |
4 | + <testcase classname="com.buyer.testSuite.TestRegister" name="register" time="10.873"/> | |
5 | +</testsuite> <!-- com.buyer.testSuite.TestRegister --> | ... | ... |
test-output/junitreports/TEST-com.buyer.testSuite.TestSendPO.xml
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="com.buyer.testSuite.TestSendPO" time="42.346" errors="0" timestamp="03 9月 2018 08:28:53 GMT" skipped="0"> | |
4 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="conslidation" time="29.695"/> | |
5 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="sendPO" time="12.651"/> | |
6 | +</testsuite> <!-- com.buyer.testSuite.TestSendPO --> | ... | ... |
test-output/junitreports/TEST-com.essa.testSuite.TestAddMarketGoods.xml
0 → 100644
... | ... | @@ -0,0 +1,7 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="com.essa.testSuite.TestAddMarketGoods" time="61.008" errors="0" timestamp="31 8月 2018 09:08:39 GMT" skipped="0"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="addMarketGoods" time="39.085"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="auditMarketGoods" time="16.595"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="toMarketGoodsRelesePage" time="5.328"/> | |
7 | +</testsuite> <!-- com.essa.testSuite.TestAddMarketGoods --> | ... | ... |
test-output/junitreports/TEST-com.essa.testSuite.TestAddOriginalGoods.xml
0 → 100644
... | ... | @@ -0,0 +1,8 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="4" name="com.essa.testSuite.TestAddOriginalGoods" time="57.392" errors="0" timestamp="31 8月 2018 09:12:13 GMT" skipped="0"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="auditOriginal" time="14.310"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="toAddOriginalGoodsPage" time="28.436"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="updatePic" time="12.345"/> | |
7 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="getSkuNo" time="2.301"/> | |
8 | +</testsuite> <!-- com.essa.testSuite.TestAddOriginalGoods --> | ... | ... |
test-output/junitreports/TEST-com.essa.testSuite.TestGenrateCode.xml
0 → 100644
... | ... | @@ -0,0 +1,5 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.essa.testSuite.TestGenrateCode" time="5.025" errors="0" timestamp="31 8月 2018 09:14:09 GMT" skipped="0"> | |
4 | + <testcase classname="com.essa.testSuite.TestGenrateCode" name="genrateCode" time="5.025"/> | |
5 | +</testsuite> <!-- com.essa.testSuite.TestGenrateCode --> | ... | ... |
test-output/junitreports/TEST-com.essa.testSuite.TestGroupPurchase.xml
0 → 100644
... | ... | @@ -0,0 +1,7 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="com.essa.testSuite.TestGroupPurchase" time="38.482" errors="0" timestamp="31 8月 2018 09:12:13 GMT" skipped="0"> | |
4 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="publishGroupPurchase" time="28.834"/> | |
5 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="isPublish" time="4.364"/> | |
6 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="SkuCategoryManagerCongfig" time="5.284"/> | |
7 | +</testsuite> <!-- com.essa.testSuite.TestGroupPurchase --> | ... | ... |
test-output/junitreports/TEST-com.essa.testSuite.TestProductInquiry.xml
0 → 100644
... | ... | @@ -0,0 +1,5 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitReportReporter --> | |
3 | +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.essa.testSuite.TestProductInquiry" time="15.888" errors="0" timestamp="03 9月 2018 08:28:53 GMT" skipped="0"> | |
4 | + <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="15.888"/> | |
5 | +</testsuite> <!-- com.essa.testSuite.TestProductInquiry --> | ... | ... |
test-output/old/Default suite/Default test.properties
0 → 100644
target/surefire-reports/old/bpms自动化测试/classes.html renamed to test-output/old/Default suite/classes.html
... | ... | @@ -4,14 +4,18 @@ |
4 | 4 | <th>Method name</th> |
5 | 5 | <th>Groups</th> |
6 | 6 | </tr><tr> |
7 | -<td>com.essa.testSuite.Test_Login</td> | |
7 | +<td>com.buyer.testSuite.TestBuyGoods</td> | |
8 | 8 | <td> </td><td> </td></tr> |
9 | 9 | <tr> |
10 | 10 | <td align='center' colspan='3'>@Test</td> |
11 | 11 | </tr> |
12 | 12 | <tr> |
13 | 13 | <td> </td> |
14 | -<td>login</td> | |
14 | +<td>conslidation</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>keywordToCart</td> | |
15 | 19 | <td> </td></tr> |
16 | 20 | <tr> |
17 | 21 | <td align='center' colspan='3'>@BeforeClass</td> | ... | ... |
target/surefire-reports/old/bpms自动化测试/groups.html renamed to test-output/old/Default suite/groups.html
target/surefire-reports/old/bpms自动化测试/index.html renamed to test-output/old/Default suite/index.html
test-output/old/Default suite/methods-alphabetical.html
0 → 100644
... | ... | @@ -0,0 +1,10 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:44</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestBuyGoods.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]">keywordToCart</td> | |
5 | + <td>main@890545344</td> <td></td> </tr> | |
6 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:34</td> <td>-9441</td> <td> </td><td> </td><td title=">>TestBuyGoods.setUp()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]">>>setUp</td> | |
7 | +<td> </td><td> </td><td> </td> <td>main@890545344</td> <td></td> </tr> | |
8 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:45</td> <td>1135</td> <td> </td><td> </td><td title="<<TestBuyGoods.tearDown()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>main@890545344</td> <td></td> </tr> | |
10 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:34</td> <td>0</td> <td> </td><td> </td><td title=">>TestBuyGoods.setUp()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>main@890545344</td> <td></td> </tr> | |
6 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:44</td> <td>9441</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestBuyGoods.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]">keywordToCart</td> | |
7 | + <td>main@890545344</td> <td></td> </tr> | |
8 | +<tr bgcolor="8c9a9c"> <td>18/08/31 11:50:45</td> <td>10576</td> <td> </td><td> </td><td title="<<TestBuyGoods.tearDown()[pri:0, instance:com.buyer.testSuite.TestBuyGoods@44a7bfbc]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>main@890545344</td> <td></td> </tr> | |
10 | +</table> | ... | ... |
target/surefire-reports/old/bpms自动化测试/reporter-output.html renamed to test-output/old/Default suite/reporter-output.html
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for Default suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="Default suite" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="Default test" verbose="2"> <br/> <classes> <br/> <class name="com.buyer.testSuite.TestBuyGoods"> <br/> <methods> <br/> <include name="keywordToCart"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestBuyGoods --> <br/> </classes> <br/> </test> <!-- Default test --> <br/></suite> <!-- Default suite --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for Default suite</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>Default suite</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>1 class</a></td> | |
13 | +<td>1 method:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-failed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>Default test (0/1/0)</td><td valign='top' align='right'> | |
26 | + <a href='Default test.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
test-output/old/bpms自动化测试/addOriginalGoods.properties
0 → 100644
... | ... | @@ -0,0 +1,86 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestGroupPurchase</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>SkuCategoryManagerCongfig</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>isPublish</td> | |
19 | +<td> </td></tr> | |
20 | +<tr> | |
21 | +<td> </td> | |
22 | +<td>publishGroupPurchase</td> | |
23 | +<td> </td></tr> | |
24 | +<tr> | |
25 | +<td align='center' colspan='3'>@BeforeClass</td> | |
26 | +</tr> | |
27 | +<tr> | |
28 | +<td> </td> | |
29 | +<td>setUp</td> | |
30 | +<td> </td></tr> | |
31 | +<tr> | |
32 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
33 | +</tr> | |
34 | +<tr> | |
35 | +<td align='center' colspan='3'>@AfterMethod</td> | |
36 | +</tr> | |
37 | +<tr> | |
38 | +<td align='center' colspan='3'>@AfterClass</td> | |
39 | +</tr> | |
40 | +<tr> | |
41 | +<td> </td> | |
42 | +<td>tearDown</td> | |
43 | +<td> </td></tr> | |
44 | +<tr> | |
45 | +<td>com.essa.testSuite.TestAddOriginalGoods</td> | |
46 | +<td> </td><td> </td></tr> | |
47 | +<tr> | |
48 | +<td align='center' colspan='3'>@Test</td> | |
49 | +</tr> | |
50 | +<tr> | |
51 | +<td> </td> | |
52 | +<td>updatePic</td> | |
53 | +<td> </td></tr> | |
54 | +<tr> | |
55 | +<td> </td> | |
56 | +<td>toAddOriginalGoodsPage</td> | |
57 | +<td> </td></tr> | |
58 | +<tr> | |
59 | +<td> </td> | |
60 | +<td>auditOriginal</td> | |
61 | +<td> </td></tr> | |
62 | +<tr> | |
63 | +<td> </td> | |
64 | +<td>getSkuNo</td> | |
65 | +<td> </td></tr> | |
66 | +<tr> | |
67 | +<td align='center' colspan='3'>@BeforeClass</td> | |
68 | +</tr> | |
69 | +<tr> | |
70 | +<td> </td> | |
71 | +<td>setUp</td> | |
72 | +<td> </td></tr> | |
73 | +<tr> | |
74 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
75 | +</tr> | |
76 | +<tr> | |
77 | +<td align='center' colspan='3'>@AfterMethod</td> | |
78 | +</tr> | |
79 | +<tr> | |
80 | +<td align='center' colspan='3'>@AfterClass</td> | |
81 | +</tr> | |
82 | +<tr> | |
83 | +<td> </td> | |
84 | +<td>tearDown</td> | |
85 | +<td> </td></tr> | |
86 | +</table> | ... | ... |
target/surefire-reports/old/bpms自动化测试报告/groups.html renamed to test-output/old/发布团购商品/groups.html
target/surefire-reports/old/bpms自动化测试报告/index.html renamed to test-output/old/发布团购商品/index.html
... | ... | @@ -0,0 +1,26 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>发布团购商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:34</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.SkuCategoryManagerCongfig()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">SkuCategoryManagerCongfig</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:09</td> <td>-24991</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">auditOriginal</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:23</td> <td>-10681</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">getSkuNo</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="61f199"> <td>18/08/31 17:12:08</td> <td>34119</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.isPublish()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">isPublish</td> | |
11 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:39</td> <td>5284</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.publishGroupPurchase()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">publishGroupPurchase</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:20</td> <td>-74121</td> <td> </td><td> </td><td title=">>TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">>>setUp</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:26</td> <td>-7522</td> <td> </td><td> </td><td title=">>TestGroupPurchase.setUp()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">>>setUp</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:26</td> <td>-8379</td> <td> </td><td> </td><td title="<<TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]"><<tearDown</td> | |
19 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
20 | +<tr bgcolor="61f199"> <td>18/08/31 17:12:12</td> <td>38483</td> <td> </td><td> </td><td title="<<TestGroupPurchase.tearDown()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]"><<tearDown</td> | |
21 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
22 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:28</td> <td>-65773</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">toAddOriginalGoodsPage</td> | |
23 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
24 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:57</td> <td>-37337</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">updatePic</td> | |
25 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
26 | +</table> | ... | ... |
target/surefire-reports/old/bpms自动化测试/methods-not-run.html renamed to test-output/old/发布团购商品/methods-not-run.html
... | ... | @@ -0,0 +1,26 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>发布团购商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:20</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:28</td> <td>8348</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">toAddOriginalGoodsPage</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9b649b"> <td>18/08/31 17:10:57</td> <td>36784</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">updatePic</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:09</td> <td>49130</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">auditOriginal</td> | |
11 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:23</td> <td>63440</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]">getSkuNo</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="9b649b"> <td>18/08/31 17:11:26</td> <td>65742</td> <td> </td><td> </td><td title="<<TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@74f2fec8]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:26</td> <td>66599</td> <td> </td><td> </td><td title=">>TestGroupPurchase.setUp()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">>>setUp</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:34</td> <td>74121</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.SkuCategoryManagerCongfig()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">SkuCategoryManagerCongfig</td> | |
19 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
20 | +<tr bgcolor="61f199"> <td>18/08/31 17:11:39</td> <td>79405</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.publishGroupPurchase()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">publishGroupPurchase</td> | |
21 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
22 | +<tr bgcolor="61f199"> <td>18/08/31 17:12:08</td> <td>108240</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGroupPurchase.isPublish()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]">isPublish</td> | |
23 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
24 | +<tr bgcolor="61f199"> <td>18/08/31 17:12:12</td> <td>112604</td> <td> </td><td> </td><td title="<<TestGroupPurchase.tearDown()[pri:0, instance:com.essa.testSuite.TestGroupPurchase@e3267b8]"><<tearDown</td> | |
25 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
26 | +</table> | ... | ... |
test-output/old/发布团购商品/publishGroupPurchase.properties
0 → 100644
target/surefire-reports/old/bpms自动化测试报告/reporter-output.html renamed to test-output/old/发布团购商品/reporter-output.html
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 发布团购商品</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="发布团购商品" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="publishGroupPurchase"> <br/> <classes> <br/> <class name="com.essa.testSuite.TestAddOriginalGoods"> <br/> <methods> <br/> <include name="toAddOriginalGoodsPage"/> <br/> <include name="updatePic"/> <br/> <include name="auditOriginal"/> <br/> <include name="getSkuNo"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestAddOriginalGoods --> <br/> <class name="com.essa.testSuite.TestGroupPurchase"> <br/> <methods> <br/> <include name="SkuCategoryManagerCongfig"/> <br/> <include name="publishGroupPurchase"/> <br/> <include name="isPublish"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestGroupPurchase --> <br/> </classes> <br/> </test> <!-- publishGroupPurchase --> <br/></suite> <!-- 发布团购商品 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 发布团购商品</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>发布团购商品</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>2 classes</a></td> | |
13 | +<td>7 methods:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>publishGroupPurchase (7/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='publishGroupPurchase.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,70 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestProductInquiry</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>productInquiry</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td align='center' colspan='3'>@BeforeClass</td> | |
18 | +</tr> | |
19 | +<tr> | |
20 | +<td> </td> | |
21 | +<td>setUp</td> | |
22 | +<td> </td></tr> | |
23 | +<tr> | |
24 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
25 | +</tr> | |
26 | +<tr> | |
27 | +<td align='center' colspan='3'>@AfterMethod</td> | |
28 | +</tr> | |
29 | +<tr> | |
30 | +<td align='center' colspan='3'>@AfterClass</td> | |
31 | +</tr> | |
32 | +<tr> | |
33 | +<td> </td> | |
34 | +<td>tearDown</td> | |
35 | +<td> </td></tr> | |
36 | +<tr> | |
37 | +<td>com.buyer.testSuite.TestAddToCart</td> | |
38 | +<td> </td><td> </td></tr> | |
39 | +<tr> | |
40 | +<td align='center' colspan='3'>@Test</td> | |
41 | +</tr> | |
42 | +<tr> | |
43 | +<td> </td> | |
44 | +<td>addSku</td> | |
45 | +<td> </td></tr> | |
46 | +<tr> | |
47 | +<td> </td> | |
48 | +<td>keywordToCart</td> | |
49 | +<td> </td></tr> | |
50 | +<tr> | |
51 | +<td align='center' colspan='3'>@BeforeClass</td> | |
52 | +</tr> | |
53 | +<tr> | |
54 | +<td> </td> | |
55 | +<td>setUp</td> | |
56 | +<td> </td></tr> | |
57 | +<tr> | |
58 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
59 | +</tr> | |
60 | +<tr> | |
61 | +<td align='center' colspan='3'>@AfterMethod</td> | |
62 | +</tr> | |
63 | +<tr> | |
64 | +<td align='center' colspan='3'>@AfterClass</td> | |
65 | +</tr> | |
66 | +<tr> | |
67 | +<td> </td> | |
68 | +<td>tearDown</td> | |
69 | +<td> </td></tr> | |
70 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:32:55</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">keywordToCart</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:27</td> <td>31840</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">productInquiry</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:32:45</td> <td>-10237</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">>>setUp</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:17</td> <td>22252</td> <td> </td><td> </td><td title=">>TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:33:16</td> <td>21459</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]"><<tearDown</td> | |
13 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:45</td> <td>50079</td> <td> </td><td> </td><td title="<<TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:32:45</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:32:55</td> <td>10237</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">keywordToCart</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="98ed7a"> <td>18/08/31 18:33:16</td> <td>31696</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:17</td> <td>32489</td> <td> </td><td> </td><td title=">>TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:27</td> <td>42077</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">productInquiry</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="70629e"> <td>18/08/31 18:33:45</td> <td>60316</td> <td> </td><td> </td><td title="<<TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 成品询价</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="成品询价" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="productInquiry"> <br/> <classes> <br/> <class name="com.buyer.testSuite.TestAddToCart"> <br/> <methods> <br/> <include name="keywordToCart"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestAddToCart --> <br/> <class name="com.essa.testSuite.TestProductInquiry"> <br/> <methods> <br/> <include name="productInquiry"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestProductInquiry --> <br/> </classes> <br/> </test> <!-- productInquiry --> <br/></suite> <!-- 成品询价 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 成品询价</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>成品询价</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>2 classes</a></td> | |
13 | +<td>2 methods:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>productInquiry (2/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='productInquiry.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,74 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.buyer.testSuite.TestAddToCart</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>addSku</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>keywordToCart</td> | |
19 | +<td> </td></tr> | |
20 | +<tr> | |
21 | +<td align='center' colspan='3'>@BeforeClass</td> | |
22 | +</tr> | |
23 | +<tr> | |
24 | +<td> </td> | |
25 | +<td>setUp</td> | |
26 | +<td> </td></tr> | |
27 | +<tr> | |
28 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
29 | +</tr> | |
30 | +<tr> | |
31 | +<td align='center' colspan='3'>@AfterMethod</td> | |
32 | +</tr> | |
33 | +<tr> | |
34 | +<td align='center' colspan='3'>@AfterClass</td> | |
35 | +</tr> | |
36 | +<tr> | |
37 | +<td> </td> | |
38 | +<td>tearDown</td> | |
39 | +<td> </td></tr> | |
40 | +<tr> | |
41 | +<td>com.buyer.testSuite.TestSendPO</td> | |
42 | +<td> </td><td> </td></tr> | |
43 | +<tr> | |
44 | +<td align='center' colspan='3'>@Test</td> | |
45 | +</tr> | |
46 | +<tr> | |
47 | +<td> </td> | |
48 | +<td>conslidation</td> | |
49 | +<td> </td></tr> | |
50 | +<tr> | |
51 | +<td> </td> | |
52 | +<td>sendPO</td> | |
53 | +<td> </td></tr> | |
54 | +<tr> | |
55 | +<td align='center' colspan='3'>@BeforeClass</td> | |
56 | +</tr> | |
57 | +<tr> | |
58 | +<td> </td> | |
59 | +<td>setUp</td> | |
60 | +<td> </td></tr> | |
61 | +<tr> | |
62 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
63 | +</tr> | |
64 | +<tr> | |
65 | +<td align='center' colspan='3'>@AfterMethod</td> | |
66 | +</tr> | |
67 | +<tr> | |
68 | +<td align='center' colspan='3'>@AfterClass</td> | |
69 | +</tr> | |
70 | +<tr> | |
71 | +<td> </td> | |
72 | +<td>tearDown</td> | |
73 | +<td> </td></tr> | |
74 | +</table> | ... | ... |
test-output/old/提交PO-活动商品/methods-alphabetical.html
0 → 100644
... | ... | @@ -0,0 +1,18 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>提交PO-活动商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:33</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">addSku</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="97d560"> <td>18/09/03 16:02:55</td> <td>22466</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">conslidation</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="97d560"> <td>18/09/03 16:03:34</td> <td>60820</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">sendPO</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:24</td> <td>-9143</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="97d560"> <td>18/09/03 16:02:47</td> <td>13908</td> <td> </td><td> </td><td title=">>TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">>>setUp</td> | |
13 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:46</td> <td>13142</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="97d560"> <td>18/09/03 16:03:47</td> <td>74155</td> <td> </td><td> </td><td title="<<TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]"><<tearDown</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,18 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>提交PO-活动商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:24</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:33</td> <td>9143</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]">addSku</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="86f4ae"> <td>18/09/03 16:02:46</td> <td>22285</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@20fceaa1]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="97d560"> <td>18/09/03 16:02:47</td> <td>23051</td> <td> </td><td> </td><td title=">>TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="97d560"> <td>18/09/03 16:02:55</td> <td>31609</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">conslidation</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="97d560"> <td>18/09/03 16:03:34</td> <td>69963</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]">sendPO</td> | |
15 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="97d560"> <td>18/09/03 16:03:47</td> <td>83298</td> <td> </td><td> </td><td title="<<TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@6dd8e9aa]"><<tearDown</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +</table> | ... | ... |
test-output/old/提交PO-活动商品/sendActivityPO.properties
0 → 100644
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 提交PO-活动商品</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="提交PO-活动商品" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="sendActivityPO"> <br/> <classes> <br/> <class name="com.buyer.testSuite.TestAddToCart"> <br/> <methods> <br/> <include name="addSku"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestAddToCart --> <br/> <class name="com.buyer.testSuite.TestSendPO"> <br/> <methods> <br/> <include name="conslidation"/> <br/> <include name="sendPO"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestSendPO --> <br/> </classes> <br/> </test> <!-- sendActivityPO --> <br/></suite> <!-- 提交PO-活动商品 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 提交PO-活动商品</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>提交PO-活动商品</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>2 classes</a></td> | |
13 | +<td>3 methods:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>sendActivityPO (3/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='sendActivityPO.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,104 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestProductInquiry</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>productInquiry</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td align='center' colspan='3'>@BeforeClass</td> | |
18 | +</tr> | |
19 | +<tr> | |
20 | +<td> </td> | |
21 | +<td>setUp</td> | |
22 | +<td> </td></tr> | |
23 | +<tr> | |
24 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
25 | +</tr> | |
26 | +<tr> | |
27 | +<td align='center' colspan='3'>@AfterMethod</td> | |
28 | +</tr> | |
29 | +<tr> | |
30 | +<td align='center' colspan='3'>@AfterClass</td> | |
31 | +</tr> | |
32 | +<tr> | |
33 | +<td> </td> | |
34 | +<td>tearDown</td> | |
35 | +<td> </td></tr> | |
36 | +<tr> | |
37 | +<td>com.buyer.testSuite.TestAddToCart</td> | |
38 | +<td> </td><td> </td></tr> | |
39 | +<tr> | |
40 | +<td align='center' colspan='3'>@Test</td> | |
41 | +</tr> | |
42 | +<tr> | |
43 | +<td> </td> | |
44 | +<td>addSku</td> | |
45 | +<td> </td></tr> | |
46 | +<tr> | |
47 | +<td> </td> | |
48 | +<td>keywordToCart</td> | |
49 | +<td> </td></tr> | |
50 | +<tr> | |
51 | +<td align='center' colspan='3'>@BeforeClass</td> | |
52 | +</tr> | |
53 | +<tr> | |
54 | +<td> </td> | |
55 | +<td>setUp</td> | |
56 | +<td> </td></tr> | |
57 | +<tr> | |
58 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
59 | +</tr> | |
60 | +<tr> | |
61 | +<td align='center' colspan='3'>@AfterMethod</td> | |
62 | +</tr> | |
63 | +<tr> | |
64 | +<td align='center' colspan='3'>@AfterClass</td> | |
65 | +</tr> | |
66 | +<tr> | |
67 | +<td> </td> | |
68 | +<td>tearDown</td> | |
69 | +<td> </td></tr> | |
70 | +<tr> | |
71 | +<td>com.buyer.testSuite.TestSendPO</td> | |
72 | +<td> </td><td> </td></tr> | |
73 | +<tr> | |
74 | +<td align='center' colspan='3'>@Test</td> | |
75 | +</tr> | |
76 | +<tr> | |
77 | +<td> </td> | |
78 | +<td>conslidation</td> | |
79 | +<td> </td></tr> | |
80 | +<tr> | |
81 | +<td> </td> | |
82 | +<td>sendPO</td> | |
83 | +<td> </td></tr> | |
84 | +<tr> | |
85 | +<td align='center' colspan='3'>@BeforeClass</td> | |
86 | +</tr> | |
87 | +<tr> | |
88 | +<td> </td> | |
89 | +<td>setUp</td> | |
90 | +<td> </td></tr> | |
91 | +<tr> | |
92 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
93 | +</tr> | |
94 | +<tr> | |
95 | +<td align='center' colspan='3'>@AfterMethod</td> | |
96 | +</tr> | |
97 | +<tr> | |
98 | +<td align='center' colspan='3'>@AfterClass</td> | |
99 | +</tr> | |
100 | +<tr> | |
101 | +<td> </td> | |
102 | +<td>tearDown</td> | |
103 | +<td> </td></tr> | |
104 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>提交PO</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:23</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]">addSku</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:10</td> <td>46907</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">conslidation</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="a874f9"> <td>18/09/03 16:27:45</td> <td>22021</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]">productInquiry</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:40</td> <td>76603</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">sendPO</td> | |
11 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:14</td> <td>-9507</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]">>>setUp</td> | |
13 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="a874f9"> <td>18/09/03 16:27:37</td> <td>13519</td> <td> </td><td> </td><td title=">>TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]">>>setUp</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:02</td> <td>38725</td> <td> </td><td> </td><td title=">>TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">>>setUp</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:36</td> <td>12741</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]"><<tearDown</td> | |
19 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
20 | +<tr bgcolor="a874f9"> <td>18/09/03 16:28:01</td> <td>37909</td> <td> </td><td> </td><td title="<<TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]"><<tearDown</td> | |
21 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
22 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:52</td> <td>89254</td> <td> </td><td> </td><td title="<<TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]"><<tearDown</td> | |
23 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
24 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>提交PO</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:14</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:23</td> <td>9507</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]">addSku</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="f7b6f4"> <td>18/09/03 16:27:36</td> <td>22248</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="a874f9"> <td>18/09/03 16:27:37</td> <td>23026</td> <td> </td><td> </td><td title=">>TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="a874f9"> <td>18/09/03 16:27:45</td> <td>31528</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]">productInquiry</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="a874f9"> <td>18/09/03 16:28:01</td> <td>47416</td> <td> </td><td> </td><td title="<<TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:02</td> <td>48232</td> <td> </td><td> </td><td title=">>TestSendPO.setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">>>setUp</td> | |
17 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
18 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:10</td> <td>56414</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">conslidation</td> | |
19 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
20 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:40</td> <td>86110</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestSendPO.sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]">sendPO</td> | |
21 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
22 | +<tr bgcolor="ccb6bc"> <td>18/09/03 16:28:52</td> <td>98761</td> <td> </td><td> </td><td title="<<TestSendPO.tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]"><<tearDown</td> | |
23 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
24 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 提交PO</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="提交PO" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="sendPO"> <br/> <classes> <br/> <class name="com.buyer.testSuite.TestAddToCart"> <br/> <methods> <br/> <include name="addSku"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestAddToCart --> <br/> <class name="com.essa.testSuite.TestProductInquiry"> <br/> <methods> <br/> <include name="productInquiry"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestProductInquiry --> <br/> <class name="com.buyer.testSuite.TestSendPO"> <br/> <methods> <br/> <include name="conslidation"/> <br/> <include name="sendPO"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestSendPO --> <br/> </classes> <br/> </test> <!-- sendPO --> <br/></suite> <!-- 提交PO --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 提交PO</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>提交PO</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>3 classes</a></td> | |
13 | +<td>4 methods:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>sendPO (4/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='sendPO.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,48 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestAddOriginalGoods</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>updatePic</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>toAddOriginalGoodsPage</td> | |
19 | +<td> </td></tr> | |
20 | +<tr> | |
21 | +<td> </td> | |
22 | +<td>auditOriginal</td> | |
23 | +<td> </td></tr> | |
24 | +<tr> | |
25 | +<td> </td> | |
26 | +<td>getSkuNo</td> | |
27 | +<td> </td></tr> | |
28 | +<tr> | |
29 | +<td align='center' colspan='3'>@BeforeClass</td> | |
30 | +</tr> | |
31 | +<tr> | |
32 | +<td> </td> | |
33 | +<td>setUp</td> | |
34 | +<td> </td></tr> | |
35 | +<tr> | |
36 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
37 | +</tr> | |
38 | +<tr> | |
39 | +<td align='center' colspan='3'>@AfterMethod</td> | |
40 | +</tr> | |
41 | +<tr> | |
42 | +<td align='center' colspan='3'>@AfterClass</td> | |
43 | +</tr> | |
44 | +<tr> | |
45 | +<td> </td> | |
46 | +<td>tearDown</td> | |
47 | +<td> </td></tr> | |
48 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>新增原厂商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:54</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">auditOriginal</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9b649b"> <td>18/08/31 17:07:08</td> <td>13992</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">getSkuNo</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:04</td> <td>-50346</td> <td> </td><td> </td><td title=">>TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">>>setUp</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="9b649b"> <td>18/08/31 17:07:11</td> <td>16307</td> <td> </td><td> </td><td title="<<TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]"><<tearDown</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:13</td> <td>-41147</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">toAddOriginalGoodsPage</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:42</td> <td>-12384</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">updatePic</td> | |
15 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
target/surefire-reports/old/bpms自动化测试报告/methods-not-run.html renamed to test-output/old/新增原厂商品/methods-not-run.html
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>新增原厂商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:04</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddOriginalGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:13</td> <td>9199</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.toAddOriginalGoodsPage()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">toAddOriginalGoodsPage</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:42</td> <td>37962</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.updatePic()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">updatePic</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="9b649b"> <td>18/08/31 17:06:54</td> <td>50346</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.auditOriginal()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">auditOriginal</td> | |
11 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="9b649b"> <td>18/08/31 17:07:08</td> <td>64338</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddOriginalGoods.getSkuNo()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]">getSkuNo</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="9b649b"> <td>18/08/31 17:07:11</td> <td>66653</td> <td> </td><td> </td><td title="<<TestAddOriginalGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddOriginalGoods@5c29e401]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 新增原厂商品</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="新增原厂商品" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="addOriginalGoods"> <br/> <classes> <br/> <class name="com.essa.testSuite.TestAddOriginalGoods"> <br/> <methods> <br/> <include name="toAddOriginalGoodsPage"/> <br/> <include name="toGoodsRelesePage"/> <br/> <include name="updatePic"/> <br/> <include name="auditOriginal"/> <br/> <include name="getSkuNo"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestAddOriginalGoods --> <br/> </classes> <br/> </test> <!-- addOriginalGoods --> <br/></suite> <!-- 新增原厂商品 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
target/surefire-reports/old/bpms自动化测试/toc.html renamed to test-output/old/新增原厂商品/toc.html
1 | 1 | <html> |
2 | 2 | <head> |
3 | -<title>Results for bpms自动化测试</title> | |
3 | +<title>Results for 鏂板鍘熷巶鍟嗗搧</title> | |
4 | 4 | <link href="../testng.css" rel="stylesheet" type="text/css" /> |
5 | 5 | <link href="../my-testng.css" rel="stylesheet" type="text/css" /> |
6 | 6 | </head> |
7 | 7 | <body> |
8 | -<h3><p align="center">Results for<br/><em>bpms自动化测试</em></p></h3> | |
8 | +<h3><p align="center">Results for<br/><em>鏂板鍘熷巶鍟嗗搧</em></p></h3> | |
9 | 9 | <table border='1' width='100%'> |
10 | 10 | <tr valign='top'> |
11 | 11 | <td>1 test</td> |
12 | 12 | <td><a target='mainFrame' href='classes.html'>1 class</a></td> |
13 | -<td>1 method:<br/> | |
13 | +<td>4 methods:<br/> | |
14 | 14 | <a target='mainFrame' href='methods.html'>chronological</a><br/> |
15 | 15 | <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> |
16 | 16 | <a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> |
... | ... | @@ -22,8 +22,8 @@ |
22 | 22 | </tr></table> |
23 | 23 | <table width='100%' class='test-passed'> |
24 | 24 | <tr><td> |
25 | -<table style='width: 100%'><tr><td valign='top'>login (2/0/0)</td><td valign='top' align='right'> | |
26 | - <a href='login.html' target='mainFrame'>Results</a> | |
25 | +<table style='width: 100%'><tr><td valign='top'>addOriginalGoods (4/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='addOriginalGoods.html' target='mainFrame'>Results</a> | |
27 | 27 | </td></tr></table> |
28 | 28 | </td></tr><p/> |
29 | 29 | </table> | ... | ... |
... | ... | @@ -0,0 +1,44 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestAddMarketGoods</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>auditMarketGoods</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>addMarketGoods</td> | |
19 | +<td> </td></tr> | |
20 | +<tr> | |
21 | +<td> </td> | |
22 | +<td>toMarketGoodsRelesePage</td> | |
23 | +<td> </td></tr> | |
24 | +<tr> | |
25 | +<td align='center' colspan='3'>@BeforeClass</td> | |
26 | +</tr> | |
27 | +<tr> | |
28 | +<td> </td> | |
29 | +<td>setUp</td> | |
30 | +<td> </td></tr> | |
31 | +<tr> | |
32 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
33 | +</tr> | |
34 | +<tr> | |
35 | +<td align='center' colspan='3'>@AfterMethod</td> | |
36 | +</tr> | |
37 | +<tr> | |
38 | +<td align='center' colspan='3'>@AfterClass</td> | |
39 | +</tr> | |
40 | +<tr> | |
41 | +<td> </td> | |
42 | +<td>tearDown</td> | |
43 | +<td> </td></tr> | |
44 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>新增市场商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:43</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.addMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">addMarketGoods</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:08:22</td> <td>39085</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.auditMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">auditMarketGoods</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:29</td> <td>-13606</td> <td> </td><td> </td><td title=">>TestAddMarketGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">>>setUp</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:08:38</td> <td>55681</td> <td> </td><td> </td><td title="<<TestAddMarketGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]"><<tearDown</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:37</td> <td>-5328</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.toMarketGoodsRelesePage()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">toMarketGoodsRelesePage</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>新增市场商品</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:29</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddMarketGoods.setUp()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:37</td> <td>8278</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.toMarketGoodsRelesePage()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">toMarketGoodsRelesePage</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:07:43</td> <td>13606</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.addMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">addMarketGoods</td> | |
9 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:08:22</td> <td>52691</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddMarketGoods.auditMarketGoods()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]">auditMarketGoods</td> | |
11 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="98e3ca"> <td>18/08/31 17:08:38</td> <td>69287</td> <td> </td><td> </td><td title="<<TestAddMarketGoods.tearDown()[pri:0, instance:com.essa.testSuite.TestAddMarketGoods@6cf4bb3a]"><<tearDown</td> | |
13 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 新增市场商品</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="新增市场商品" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="addMarketGoods"> <br/> <classes> <br/> <class name="com.essa.testSuite.TestAddMarketGoods"> <br/> <methods> <br/> <include name="toMarketGoodsRelesePage"/> <br/> <include name="addMarketGoods"/> <br/> <include name="auditMarketGoods"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestAddMarketGoods --> <br/> </classes> <br/> </test> <!-- addMarketGoods --> <br/></suite> <!-- 新增市场商品 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
target/surefire-reports/old/bpms自动化测试报告/toc.html renamed to test-output/old/新增市场商品/toc.html
1 | 1 | <html> |
2 | 2 | <head> |
3 | -<title>Results for bpms自动化测试报告</title> | |
3 | +<title>Results for 鏂板甯傚満鍟嗗搧</title> | |
4 | 4 | <link href="../testng.css" rel="stylesheet" type="text/css" /> |
5 | 5 | <link href="../my-testng.css" rel="stylesheet" type="text/css" /> |
6 | 6 | </head> |
7 | 7 | <body> |
8 | -<h3><p align="center">Results for<br/><em>bpms自动化测试报告</em></p></h3> | |
8 | +<h3><p align="center">Results for<br/><em>鏂板甯傚満鍟嗗搧</em></p></h3> | |
9 | 9 | <table border='1' width='100%'> |
10 | 10 | <tr valign='top'> |
11 | 11 | <td>1 test</td> |
12 | 12 | <td><a target='mainFrame' href='classes.html'>1 class</a></td> |
13 | -<td>1 method:<br/> | |
13 | +<td>3 methods:<br/> | |
14 | 14 | <a target='mainFrame' href='methods.html'>chronological</a><br/> |
15 | 15 | <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> |
16 | 16 | <a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> |
... | ... | @@ -22,8 +22,8 @@ |
22 | 22 | </tr></table> |
23 | 23 | <table width='100%' class='test-passed'> |
24 | 24 | <tr><td> |
25 | -<table style='width: 100%'><tr><td valign='top'>login (2/0/0)</td><td valign='top' align='right'> | |
26 | - <a href='login.html' target='mainFrame'>Results</a> | |
25 | +<table style='width: 100%'><tr><td valign='top'>addMarketGoods (3/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='addMarketGoods.html' target='mainFrame'>Results</a> | |
27 | 27 | </td></tr></table> |
28 | 28 | </td></tr><p/> |
29 | 29 | </table> | ... | ... |
target/surefire-reports/old/bpms自动化测试报告/classes.html renamed to test-output/old/添加SKU到购物车/classes.html
... | ... | @@ -4,14 +4,18 @@ |
4 | 4 | <th>Method name</th> |
5 | 5 | <th>Groups</th> |
6 | 6 | </tr><tr> |
7 | -<td>com.essa.testSuite.Test_Login</td> | |
7 | +<td>com.buyer.testSuite.TestAddToCart</td> | |
8 | 8 | <td> </td><td> </td></tr> |
9 | 9 | <tr> |
10 | 10 | <td align='center' colspan='3'>@Test</td> |
11 | 11 | </tr> |
12 | 12 | <tr> |
13 | 13 | <td> </td> |
14 | -<td>login</td> | |
14 | +<td>addSku</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td> </td> | |
18 | +<td>keywordToCart</td> | |
15 | 19 | <td> </td></tr> |
16 | 20 | <tr> |
17 | 21 | <td align='center' colspan='3'>@BeforeClass</td> | ... | ... |
test-output/old/添加SKU到购物车/methods-alphabetical.html
0 → 100644
... | ... | @@ -0,0 +1,10 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>添加SKU到购物车</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:32</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">keywordToCart</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:24</td> <td>-7683</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">>>setUp</td> | |
7 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:49</td> <td>16769</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>添加SKU到购物车</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:24</td> <td>0</td> <td> </td><td> </td><td title=">>TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:32</td> <td>7683</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]">keywordToCart</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="9e7378"> <td>18/08/31 16:16:49</td> <td>24452</td> <td> </td><td> </td><td title="<<TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@33c31eea]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 添加SKU到购物车</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="添加SKU到购物车" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="buyerRegister"> <br/> <classes> <br/> <class name="com.buyer.testSuite.TestAddToCart"> <br/> <methods> <br/> <include name="keywordToCart"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestAddToCart --> <br/> </classes> <br/> </test> <!-- buyerRegister --> <br/></suite> <!-- 添加SKU到购物车 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 添加SKU到购物车</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>添加SKU到购物车</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>1 class</a></td> | |
13 | +<td>1 method:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>buyerRegister (1/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='buyerRegister.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,66 @@ |
1 | +<table border='1'> | |
2 | +<tr> | |
3 | +<th>Class name</th> | |
4 | +<th>Method name</th> | |
5 | +<th>Groups</th> | |
6 | +</tr><tr> | |
7 | +<td>com.essa.testSuite.TestGenrateCode</td> | |
8 | +<td> </td><td> </td></tr> | |
9 | +<tr> | |
10 | +<td align='center' colspan='3'>@Test</td> | |
11 | +</tr> | |
12 | +<tr> | |
13 | +<td> </td> | |
14 | +<td>genrateCode</td> | |
15 | +<td> </td></tr> | |
16 | +<tr> | |
17 | +<td align='center' colspan='3'>@BeforeClass</td> | |
18 | +</tr> | |
19 | +<tr> | |
20 | +<td> </td> | |
21 | +<td>setUp</td> | |
22 | +<td> </td></tr> | |
23 | +<tr> | |
24 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
25 | +</tr> | |
26 | +<tr> | |
27 | +<td align='center' colspan='3'>@AfterMethod</td> | |
28 | +</tr> | |
29 | +<tr> | |
30 | +<td align='center' colspan='3'>@AfterClass</td> | |
31 | +</tr> | |
32 | +<tr> | |
33 | +<td> </td> | |
34 | +<td>tearDown</td> | |
35 | +<td> </td></tr> | |
36 | +<tr> | |
37 | +<td>com.buyer.testSuite.TestRegister</td> | |
38 | +<td> </td><td> </td></tr> | |
39 | +<tr> | |
40 | +<td align='center' colspan='3'>@Test</td> | |
41 | +</tr> | |
42 | +<tr> | |
43 | +<td> </td> | |
44 | +<td>register</td> | |
45 | +<td> </td></tr> | |
46 | +<tr> | |
47 | +<td align='center' colspan='3'>@BeforeClass</td> | |
48 | +</tr> | |
49 | +<tr> | |
50 | +<td> </td> | |
51 | +<td>setUp</td> | |
52 | +<td> </td></tr> | |
53 | +<tr> | |
54 | +<td align='center' colspan='3'>@BeforeMethod</td> | |
55 | +</tr> | |
56 | +<tr> | |
57 | +<td align='center' colspan='3'>@AfterMethod</td> | |
58 | +</tr> | |
59 | +<tr> | |
60 | +<td align='center' colspan='3'>@AfterClass</td> | |
61 | +</tr> | |
62 | +<tr> | |
63 | +<td> </td> | |
64 | +<td>tearDown</td> | |
65 | +<td> </td></tr> | |
66 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>采购商注册</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:45</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGenrateCode.genrateCode()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]">genrateCode</td> | |
5 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:13:57</td> <td>11870</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestRegister.register()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]">register</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:37</td> <td>-7847</td> <td> </td><td> </td><td title=">>TestGenrateCode.setUp()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]">>>setUp</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:13:51</td> <td>5783</td> <td> </td><td> </td><td title=">>TestRegister.setUp()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:50</td> <td>5025</td> <td> </td><td> </td><td title="<<TestGenrateCode.tearDown()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]"><<tearDown</td> | |
13 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:14:08</td> <td>22743</td> <td> </td><td> </td><td title="<<TestRegister.tearDown()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>采购商注册</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> | |
2 | +<table border="1"> | |
3 | +<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> | |
4 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:37</td> <td>0</td> <td> </td><td> </td><td title=">>TestGenrateCode.setUp()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]">>>setUp</td> | |
5 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
6 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:45</td> <td>7847</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestGenrateCode.genrateCode()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]">genrateCode</td> | |
7 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
8 | +<tr bgcolor="a0a98d"> <td>18/08/31 17:13:50</td> <td>12872</td> <td> </td><td> </td><td title="<<TestGenrateCode.tearDown()[pri:0, instance:com.essa.testSuite.TestGenrateCode@50a0c33c]"><<tearDown</td> | |
9 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
10 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:13:51</td> <td>13630</td> <td> </td><td> </td><td title=">>TestRegister.setUp()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]">>>setUp</td> | |
11 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
12 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:13:57</td> <td>19717</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestRegister.register()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]">register</td> | |
13 | + <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
14 | +<tr bgcolor="f0df8e"> <td>18/08/31 17:14:08</td> <td>30590</td> <td> </td><td> </td><td title="<<TestRegister.tearDown()[pri:0, instance:com.buyer.testSuite.TestRegister@423e6a09]"><<tearDown</td> | |
15 | +<td> </td><td> </td><td> </td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> | |
16 | +</table> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<html><head><title>testng.xml for 采购商注册</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?> <br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <br/><suite name="采购商注册" guice-stage="DEVELOPMENT"> <br/> <test thread-count="5" name="buyerRegister"> <br/> <classes> <br/> <class name="com.essa.testSuite.TestGenrateCode"> <br/> <methods> <br/> <include name="genrateCode"/> <br/> </methods> <br/> </class> <!-- com.essa.testSuite.TestGenrateCode --> <br/> <class name="com.buyer.testSuite.TestRegister"> <br/> <methods> <br/> <include name="register"/> <br/> </methods> <br/> </class> <!-- com.buyer.testSuite.TestRegister --> <br/> </classes> <br/> </test> <!-- buyerRegister --> <br/></suite> <!-- 采购商注册 --> <br/></tt></body></html> | |
0 | 2 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>Results for 采购商注册</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | +</head> | |
7 | +<body> | |
8 | +<h3><p align="center">Results for<br/><em>采购商注册</em></p></h3> | |
9 | +<table border='1' width='100%'> | |
10 | +<tr valign='top'> | |
11 | +<td>1 test</td> | |
12 | +<td><a target='mainFrame' href='classes.html'>2 classes</a></td> | |
13 | +<td>2 methods:<br/> | |
14 | + <a target='mainFrame' href='methods.html'>chronological</a><br/> | |
15 | + <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> | |
16 | + <a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> | |
17 | +</tr> | |
18 | +<tr> | |
19 | +<td><a target='mainFrame' href='groups.html'>0 group</a></td> | |
20 | +<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> | |
21 | +<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> | |
22 | +</tr></table> | |
23 | +<table width='100%' class='test-passed'> | |
24 | +<tr><td> | |
25 | +<table style='width: 100%'><tr><td valign='top'>buyerRegister (2/0/0)</td><td valign='top' align='right'> | |
26 | + <a href='buyerRegister.html' target='mainFrame'>Results</a> | |
27 | +</td></tr></table> | |
28 | +</td></tr><p/> | |
29 | +</table> | |
30 | +</body></html> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [发布团购商品]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="publishGroupPurchase(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestGroupPurchase"> | |
7 | + <methods> | |
8 | + <include name="setUp"/> | |
9 | + <include name="isPublish"/> | |
10 | + <include name="tearDown"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestGroupPurchase --> | |
13 | + </classes> | |
14 | + </test> <!-- publishGroupPurchase(failed) --> | |
15 | +</suite> <!-- Failed suite [发布团购商品] --> | ... | ... |
... | ... | @@ -0,0 +1,114 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: publishGroupPurchase</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>publishGroupPurchase</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>7/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 17:10:20 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>113 seconds (113401 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.essa.testSuite.TestGroupPurchase.SkuCategoryManagerCongfig()'><b>SkuCategoryManagerCongfig</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 配置商品类目经理</td> | |
79 | +<td></td> | |
80 | +<td>5</td> | |
81 | +<td>com.essa.testSuite.TestGroupPurchase@e3267b8</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品审核</td> | |
84 | +<td></td> | |
85 | +<td>14</td> | |
86 | +<td>com.essa.testSuite.TestAddOriginalGoods@74f2fec8</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.essa.testSuite.TestAddOriginalGoods.getSkuNo()'><b>getSkuNo</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 去商品库获取添加的sku编号</td> | |
89 | +<td></td> | |
90 | +<td>2</td> | |
91 | +<td>com.essa.testSuite.TestAddOriginalGoods@74f2fec8</td></tr> | |
92 | +<tr> | |
93 | +<td title='com.essa.testSuite.TestGroupPurchase.isPublish()'><b>isPublish</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 检查团购是否发布成功</td> | |
94 | +<td></td> | |
95 | +<td>4</td> | |
96 | +<td>com.essa.testSuite.TestGroupPurchase@e3267b8</td></tr> | |
97 | +<tr> | |
98 | +<td title='com.essa.testSuite.TestGroupPurchase.publishGroupPurchase()'><b>publishGroupPurchase</b><br>Test class: com.essa.testSuite.TestGroupPurchase<br>Test method: 发布团购</td> | |
99 | +<td></td> | |
100 | +<td>28</td> | |
101 | +<td>com.essa.testSuite.TestGroupPurchase@e3267b8</td></tr> | |
102 | +<tr> | |
103 | +<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品建档</td> | |
104 | +<td></td> | |
105 | +<td>28</td> | |
106 | +<td>com.essa.testSuite.TestAddOriginalGoods@74f2fec8</td></tr> | |
107 | +<tr> | |
108 | +<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 更新图片</td> | |
109 | +<td></td> | |
110 | +<td>12</td> | |
111 | +<td>com.essa.testSuite.TestAddOriginalGoods@74f2fec8</td></tr> | |
112 | +</table><p> | |
113 | +</body> | |
114 | +</html> | |
0 | 115 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="7" name="publishGroupPurchase" time="113.401" errors="0" timestamp="31 8月 2018 09:12:13 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="toAddOriginalGoodsPage" time="28.436"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="updatePic" time="12.345"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="auditOriginal" time="14.31"/> | |
7 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="getSkuNo" time="2.301"/> | |
8 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="SkuCategoryManagerCongfig" time="5.284"/> | |
9 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="publishGroupPurchase" time="28.834"/> | |
10 | + <testcase classname="com.essa.testSuite.TestGroupPurchase" name="isPublish" time="4.364"/> | |
11 | +</testsuite> <!-- publishGroupPurchase --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [发布团购商品]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="publishGroupPurchase(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestGroupPurchase"> | |
7 | + <methods> | |
8 | + <include name="setUp"/> | |
9 | + <include name="isPublish"/> | |
10 | + <include name="tearDown"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestGroupPurchase --> | |
13 | + </classes> | |
14 | + </test> <!-- publishGroupPurchase(failed) --> | |
15 | +</suite> <!-- Failed suite [发布团购商品] --> | ... | ... |
... | ... | @@ -0,0 +1,89 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: productInquiry</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>productInquiry</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 18:32:45 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>61 seconds (61086 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td> | |
79 | +<td></td> | |
80 | +<td>21</td> | |
81 | +<td>com.buyer.testSuite.TestAddToCart@1620bb9f</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td> | |
84 | +<td></td> | |
85 | +<td>18</td> | |
86 | +<td>com.essa.testSuite.TestProductInquiry@31f7f51f</td></tr> | |
87 | +</table><p> | |
88 | +</body> | |
89 | +</html> | |
0 | 90 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,9 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="productInquiry" time="61.086" errors="0" timestamp="31 8月 2018 10:33:46 GMT"> | |
4 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="21.456"/> | |
5 | + <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="18.238"/> | |
6 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0"> | |
7 | + <ignored/> | |
8 | + </testcase> <!-- addSku --> | |
9 | +</testsuite> <!-- productInquiry --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [成品询价]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="productInquiry(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestProductInquiry"> | |
7 | + <methods> | |
8 | + <include name="productInquiry"/> | |
9 | + <include name="tearDown"/> | |
10 | + <include name="setUp"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestProductInquiry --> | |
13 | + </classes> | |
14 | + </test> <!-- productInquiry(failed) --> | |
15 | +</suite> <!-- Failed suite [成品询价] --> | ... | ... |
... | ... | @@ -0,0 +1,94 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: sendActivityPO</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>sendActivityPO</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Mon Sep 03 16:02:24 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>84 seconds (84111 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.buyer.testSuite.TestAddToCart.addSku()'><b>addSku</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 将sku加入购物车</td> | |
79 | +<td></td> | |
80 | +<td>13</td> | |
81 | +<td>com.buyer.testSuite.TestAddToCart@20fceaa1</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.buyer.testSuite.TestSendPO.conslidation()'><b>conslidation</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 开始拼柜</td> | |
84 | +<td></td> | |
85 | +<td>38</td> | |
86 | +<td>com.buyer.testSuite.TestSendPO@6dd8e9aa</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.buyer.testSuite.TestSendPO.sendPO()'><b>sendPO</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 设置贴纸唛头,提交PO</td> | |
89 | +<td></td> | |
90 | +<td>13</td> | |
91 | +<td>com.buyer.testSuite.TestSendPO@6dd8e9aa</td></tr> | |
92 | +</table><p> | |
93 | +</body> | |
94 | +</html> | |
0 | 95 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="sendActivityPO" time="84.111" errors="0" timestamp="03 9月 2018 08:03:48 GMT"> | |
4 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="13.142"/> | |
5 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="conslidation" time="38.353"/> | |
6 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="sendPO" time="13.335"/> | |
7 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="0.0"> | |
8 | + <ignored/> | |
9 | + </testcase> <!-- keywordToCart --> | |
10 | +</testsuite> <!-- sendActivityPO --> | ... | ... |
... | ... | @@ -0,0 +1,99 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: sendPO</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>sendPO</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>4/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Mon Sep 03 16:27:14 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>99 seconds (99569 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.buyer.testSuite.TestAddToCart.addSku()'><b>addSku</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 将sku加入购物车</td> | |
79 | +<td></td> | |
80 | +<td>12</td> | |
81 | +<td>com.buyer.testSuite.TestAddToCart@14b27f40</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.buyer.testSuite.TestSendPO.conslidation()'><b>conslidation</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 开始拼柜</td> | |
84 | +<td></td> | |
85 | +<td>29</td> | |
86 | +<td>com.buyer.testSuite.TestSendPO@47b60fe8</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td> | |
89 | +<td></td> | |
90 | +<td>15</td> | |
91 | +<td>com.essa.testSuite.TestProductInquiry@14485d7</td></tr> | |
92 | +<tr> | |
93 | +<td title='com.buyer.testSuite.TestSendPO.sendPO()'><b>sendPO</b><br>Test class: com.buyer.testSuite.TestSendPO<br>Test method: 设置贴纸唛头,提交PO</td> | |
94 | +<td></td> | |
95 | +<td>12</td> | |
96 | +<td>com.buyer.testSuite.TestSendPO@47b60fe8</td></tr> | |
97 | +</table><p> | |
98 | +</body> | |
99 | +</html> | |
0 | 100 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="4" name="sendPO" time="99.569" errors="0" timestamp="03 9月 2018 08:28:53 GMT"> | |
4 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="12.739"/> | |
5 | + <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="15.888"/> | |
6 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="conslidation" time="29.695"/> | |
7 | + <testcase classname="com.buyer.testSuite.TestSendPO" name="sendPO" time="12.651"/> | |
8 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="0.0"> | |
9 | + <ignored/> | |
10 | + </testcase> <!-- keywordToCart --> | |
11 | +</testsuite> <!-- sendPO --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [提交PO]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="sendPO(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestSendPO"> | |
7 | + <methods> | |
8 | + <include name="tearDown"/> | |
9 | + <include name="setUp"/> | |
10 | + <include name="sendPO"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.buyer.testSuite.TestSendPO --> | |
13 | + </classes> | |
14 | + </test> <!-- sendPO(failed) --> | |
15 | +</suite> <!-- Failed suite [提交PO] --> | ... | ... |
... | ... | @@ -0,0 +1,99 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: addOriginalGoods</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>addOriginalGoods</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>4/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 17:06:04 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>67 seconds (67468 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.essa.testSuite.TestAddOriginalGoods.auditOriginal()'><b>auditOriginal</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品审核</td> | |
79 | +<td></td> | |
80 | +<td>13</td> | |
81 | +<td>com.essa.testSuite.TestAddOriginalGoods@5c29e401</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.essa.testSuite.TestAddOriginalGoods.getSkuNo()'><b>getSkuNo</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 去商品库获取添加的sku编号</td> | |
84 | +<td></td> | |
85 | +<td>2</td> | |
86 | +<td>com.essa.testSuite.TestAddOriginalGoods@5c29e401</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.essa.testSuite.TestAddOriginalGoods.toAddOriginalGoodsPage()'><b>toAddOriginalGoodsPage</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 原厂商品建档</td> | |
89 | +<td></td> | |
90 | +<td>28</td> | |
91 | +<td>com.essa.testSuite.TestAddOriginalGoods@5c29e401</td></tr> | |
92 | +<tr> | |
93 | +<td title='com.essa.testSuite.TestAddOriginalGoods.updatePic()'><b>updatePic</b><br>Test class: com.essa.testSuite.TestAddOriginalGoods<br>Test method: 更新图片</td> | |
94 | +<td></td> | |
95 | +<td>12</td> | |
96 | +<td>com.essa.testSuite.TestAddOriginalGoods@5c29e401</td></tr> | |
97 | +</table><p> | |
98 | +</body> | |
99 | +</html> | |
0 | 100 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,8 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="4" name="addOriginalGoods" time="67.468" errors="0" timestamp="31 8月 2018 09:07:12 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="toAddOriginalGoodsPage" time="28.762"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="updatePic" time="12.383"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="auditOriginal" time="13.991"/> | |
7 | + <testcase classname="com.essa.testSuite.TestAddOriginalGoods" name="getSkuNo" time="2.314"/> | |
8 | +</testsuite> <!-- addOriginalGoods --> | ... | ... |
... | ... | @@ -0,0 +1,17 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [新增原厂商品]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="addOriginalGoods(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestAddOriginalGoods"> | |
7 | + <methods> | |
8 | + <include name="getSkuNo"/> | |
9 | + <include name="auditOriginal"/> | |
10 | + <include name="setUp"/> | |
11 | + <include name="updatePic"/> | |
12 | + <include name="tearDown"/> | |
13 | + </methods> | |
14 | + </class> <!-- com.essa.testSuite.TestAddOriginalGoods --> | |
15 | + </classes> | |
16 | + </test> <!-- addOriginalGoods(failed) --> | |
17 | +</suite> <!-- Failed suite [新增原厂商品] --> | ... | ... |
... | ... | @@ -0,0 +1,94 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: addMarketGoods</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>addMarketGoods</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 17:07:29 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>70 seconds (70125 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.essa.testSuite.TestAddMarketGoods.addMarketGoods()'><b>addMarketGoods</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 市场商品建档</td> | |
79 | +<td></td> | |
80 | +<td>39</td> | |
81 | +<td>com.essa.testSuite.TestAddMarketGoods@6cf4bb3a</td></tr> | |
82 | +<tr> | |
83 | +<td title='com.essa.testSuite.TestAddMarketGoods.auditMarketGoods()'><b>auditMarketGoods</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 市场商品审核</td> | |
84 | +<td></td> | |
85 | +<td>16</td> | |
86 | +<td>com.essa.testSuite.TestAddMarketGoods@6cf4bb3a</td></tr> | |
87 | +<tr> | |
88 | +<td title='com.essa.testSuite.TestAddMarketGoods.toMarketGoodsRelesePage()'><b>toMarketGoodsRelesePage</b><br>Test class: com.essa.testSuite.TestAddMarketGoods<br>Test method: 进入市场商品发布列表,选择采购商</td> | |
89 | +<td></td> | |
90 | +<td>5</td> | |
91 | +<td>com.essa.testSuite.TestAddMarketGoods@6cf4bb3a</td></tr> | |
92 | +</table><p> | |
93 | +</body> | |
94 | +</html> | |
0 | 95 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,7 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="3" name="addMarketGoods" time="70.125" errors="0" timestamp="31 8月 2018 09:08:39 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="toMarketGoodsRelesePage" time="5.328"/> | |
5 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="addMarketGoods" time="39.085"/> | |
6 | + <testcase classname="com.essa.testSuite.TestAddMarketGoods" name="auditMarketGoods" time="16.595"/> | |
7 | +</testsuite> <!-- addMarketGoods --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [新增市场商品]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="addMarketGoods(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestAddMarketGoods"> | |
7 | + <methods> | |
8 | + <include name="tearDown"/> | |
9 | + <include name="setUp"/> | |
10 | + <include name="auditMarketGoods"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestAddMarketGoods --> | |
13 | + </classes> | |
14 | + </test> <!-- addMarketGoods(failed) --> | |
15 | +</suite> <!-- Failed suite [新增市场商品] --> | ... | ... |
... | ... | @@ -0,0 +1,84 @@ |
1 | +<html> | |
2 | +<head> | |
3 | +<title>TestNG: buyerRegister</title> | |
4 | +<link href="../testng.css" rel="stylesheet" type="text/css" /> | |
5 | +<link href="../my-testng.css" rel="stylesheet" type="text/css" /> | |
6 | + | |
7 | +<style type="text/css"> | |
8 | +.log { display: none;} | |
9 | +.stack-trace { display: none;} | |
10 | +</style> | |
11 | +<script type="text/javascript"> | |
12 | +<!-- | |
13 | +function flip(e) { | |
14 | + current = e.style.display; | |
15 | + if (current == 'block') { | |
16 | + e.style.display = 'none'; | |
17 | + return 0; | |
18 | + } | |
19 | + else { | |
20 | + e.style.display = 'block'; | |
21 | + return 1; | |
22 | + } | |
23 | +} | |
24 | + | |
25 | +function toggleBox(szDivId, elem, msg1, msg2) | |
26 | +{ | |
27 | + var res = -1; if (document.getElementById) { | |
28 | + res = flip(document.getElementById(szDivId)); | |
29 | + } | |
30 | + else if (document.all) { | |
31 | + // this is the way old msie versions work | |
32 | + res = flip(document.all[szDivId]); | |
33 | + } | |
34 | + if(elem) { | |
35 | + if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; | |
36 | + } | |
37 | + | |
38 | +} | |
39 | + | |
40 | +function toggleAllBoxes() { | |
41 | + if (document.getElementsByTagName) { | |
42 | + d = document.getElementsByTagName('div'); | |
43 | + for (i = 0; i < d.length; i++) { | |
44 | + if (d[i].className == 'log') { | |
45 | + flip(d[i]); | |
46 | + } | |
47 | + } | |
48 | + } | |
49 | +} | |
50 | + | |
51 | +// --> | |
52 | +</script> | |
53 | + | |
54 | +</head> | |
55 | +<body> | |
56 | +<h2 align='center'>buyerRegister</h2><table border='1' align="center"> | |
57 | +<tr> | |
58 | +<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td> | |
59 | +</tr><tr> | |
60 | +<td>Started on:</td><td>Fri Aug 31 16:16:24 CST 2018</td> | |
61 | +</tr> | |
62 | +<tr><td>Total time:</td><td>25 seconds (25249 ms)</td> | |
63 | +</tr><tr> | |
64 | +<td>Included groups:</td><td></td> | |
65 | +</tr><tr> | |
66 | +<td>Excluded groups:</td><td></td> | |
67 | +</tr> | |
68 | +</table><p/> | |
69 | +<small><i>(Hover the method name to see the test class name)</i></small><p/> | |
70 | +<table width='100%' border='1' class='invocation-passed'> | |
71 | +<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> | |
72 | +<tr><td><b>Test method</b></td> | |
73 | +<td width="30%"><b>Exception</b></td> | |
74 | +<td width="10%"><b>Time (seconds)</b></td> | |
75 | +<td><b>Instance</b></td> | |
76 | +</tr> | |
77 | +<tr> | |
78 | +<td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td> | |
79 | +<td></td> | |
80 | +<td>16</td> | |
81 | +<td>com.buyer.testSuite.TestAddToCart@33c31eea</td></tr> | |
82 | +</table><p> | |
83 | +</body> | |
84 | +</html> | |
0 | 85 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,8 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="buyerRegister" time="25.249" errors="0" timestamp="31 8月 2018 08:16:49 GMT"> | |
4 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="16.753"/> | |
5 | + <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0"> | |
6 | + <ignored/> | |
7 | + </testcase> <!-- addSku --> | |
8 | +</testsuite> <!-- buyerRegister --> | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [添加SKU到购物车]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="buyerRegister(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.buyer.testSuite.TestAddToCart"> | |
7 | + <methods> | |
8 | + <include name="keywordToCart"/> | |
9 | + <include name="tearDown"/> | |
10 | + <include name="setUp"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.buyer.testSuite.TestAddToCart --> | |
13 | + </classes> | |
14 | + </test> <!-- buyerRegister(failed) --> | |
15 | +</suite> <!-- Failed suite [添加SKU到购物车] --> | ... | ... |
target/surefire-reports/bpms自动化测试报告/login.html renamed to test-output/采购商注册/RegisterBuyer.html
1 | 1 | <html> |
2 | 2 | <head> |
3 | -<title>TestNG: login</title> | |
3 | +<title>TestNG: RegisterBuyer</title> | |
4 | 4 | <link href="../testng.css" rel="stylesheet" type="text/css" /> |
5 | 5 | <link href="../my-testng.css" rel="stylesheet" type="text/css" /> |
6 | 6 | |
... | ... | @@ -53,13 +53,13 @@ function toggleAllBoxes() { |
53 | 53 | |
54 | 54 | </head> |
55 | 55 | <body> |
56 | -<h2 align='center'>login</h2><table border='1' align="center"> | |
56 | +<h2 align='center'>RegisterBuyer</h2><table border='1' align="center"> | |
57 | 57 | <tr> |
58 | 58 | <td>Tests passed/Failed/Skipped:</td><td>2/0/0</td> |
59 | 59 | </tr><tr> |
60 | -<td>Started on:</td><td>Tue Apr 10 18:11:16 CST 2018</td> | |
60 | +<td>Started on:</td><td>Tue Aug 28 10:52:45 CST 2018</td> | |
61 | 61 | </tr> |
62 | -<tr><td>Total time:</td><td>22 seconds (22999 ms)</td> | |
62 | +<tr><td>Total time:</td><td>35 seconds (35688 ms)</td> | |
63 | 63 | </tr><tr> |
64 | 64 | <td>Included groups:</td><td></td> |
65 | 65 | </tr><tr> |
... | ... | @@ -75,15 +75,15 @@ function toggleAllBoxes() { |
75 | 75 | <td><b>Instance</b></td> |
76 | 76 | </tr> |
77 | 77 | <tr> |
78 | -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: admin, essa123</td> | |
78 | +<td title='com.essa.testSuite.TestGenrateCode.genrateCode()'><b>genrateCode</b><br>Test class: com.essa.testSuite.TestGenrateCode</td> | |
79 | 79 | <td></td> |
80 | 80 | <td>5</td> |
81 | -<td>com.essa.testSuite.Test_Login@1b6a447</td></tr> | |
81 | +<td>com.essa.testSuite.TestGenrateCode@15fa3089</td></tr> | |
82 | 82 | <tr> |
83 | -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: linrong, essa123</td> | |
83 | +<td title='com.buyer.testSuite.TestRegister.register()'><b>register</b><br>Test class: com.buyer.testSuite.TestRegister</td> | |
84 | 84 | <td></td> |
85 | -<td>5</td> | |
86 | -<td>com.essa.testSuite.Test_Login@1b6a447</td></tr> | |
85 | +<td>11</td> | |
86 | +<td>com.buyer.testSuite.TestRegister@2324676a</td></tr> | |
87 | 87 | </table><p> |
88 | 88 | </body> |
89 | 89 | </html> |
90 | 90 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,6 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="RegisterBuyer" time="35.688" errors="0" timestamp="28 8月 2018 02:53:21 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestGenrateCode" name="genrateCode" time="5.51"/> | |
5 | + <testcase classname="com.buyer.testSuite.TestRegister" name="register" time="11.828"/> | |
6 | +</testsuite> <!-- RegisterBuyer --> | ... | ... |
target/surefire-reports/bpms自动化测试/login.html renamed to test-output/采购商注册/buyerRegister.html
1 | 1 | <html> |
2 | 2 | <head> |
3 | -<title>TestNG: login</title> | |
3 | +<title>TestNG: buyerRegister</title> | |
4 | 4 | <link href="../testng.css" rel="stylesheet" type="text/css" /> |
5 | 5 | <link href="../my-testng.css" rel="stylesheet" type="text/css" /> |
6 | 6 | |
... | ... | @@ -53,13 +53,13 @@ function toggleAllBoxes() { |
53 | 53 | |
54 | 54 | </head> |
55 | 55 | <body> |
56 | -<h2 align='center'>login</h2><table border='1' align="center"> | |
56 | +<h2 align='center'>buyerRegister</h2><table border='1' align="center"> | |
57 | 57 | <tr> |
58 | 58 | <td>Tests passed/Failed/Skipped:</td><td>2/0/0</td> |
59 | 59 | </tr><tr> |
60 | -<td>Started on:</td><td>Tue Apr 10 18:25:13 CST 2018</td> | |
60 | +<td>Started on:</td><td>Fri Aug 31 17:13:37 CST 2018</td> | |
61 | 61 | </tr> |
62 | -<tr><td>Total time:</td><td>44 seconds (44303 ms)</td> | |
62 | +<tr><td>Total time:</td><td>31 seconds (31486 ms)</td> | |
63 | 63 | </tr><tr> |
64 | 64 | <td>Included groups:</td><td></td> |
65 | 65 | </tr><tr> |
... | ... | @@ -75,15 +75,15 @@ function toggleAllBoxes() { |
75 | 75 | <td><b>Instance</b></td> |
76 | 76 | </tr> |
77 | 77 | <tr> |
78 | -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: admin, essa123</td> | |
78 | +<td title='com.essa.testSuite.TestGenrateCode.genrateCode()'><b>genrateCode</b><br>Test class: com.essa.testSuite.TestGenrateCode<br>Test method: 生成采购商注册邀请码</td> | |
79 | 79 | <td></td> |
80 | -<td>8</td> | |
81 | -<td>com.essa.testSuite.Test_Login@1b6a447</td></tr> | |
80 | +<td>5</td> | |
81 | +<td>com.essa.testSuite.TestGenrateCode@50a0c33c</td></tr> | |
82 | 82 | <tr> |
83 | -<td title='com.essa.testSuite.Test_Login.login()'><b>login</b><br>Test class: com.essa.testSuite.Test_Login<br>Parameters: linrong, essa123</td> | |
83 | +<td title='com.buyer.testSuite.TestRegister.register()'><b>register</b><br>Test class: com.buyer.testSuite.TestRegister<br>Test method: 填写注册采购商信息,注册采购商</td> | |
84 | 84 | <td></td> |
85 | 85 | <td>10</td> |
86 | -<td>com.essa.testSuite.Test_Login@1b6a447</td></tr> | |
86 | +<td>com.buyer.testSuite.TestRegister@423e6a09</td></tr> | |
87 | 87 | </table><p> |
88 | 88 | </body> |
89 | 89 | </html> |
90 | 90 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,6 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Generated by org.testng.reporters.JUnitXMLReporter --> | |
3 | +<testsuite ignored="0" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="buyerRegister" time="31.486" errors="0" timestamp="31 8月 2018 09:14:09 GMT"> | |
4 | + <testcase classname="com.essa.testSuite.TestGenrateCode" name="genrateCode" time="5.025"/> | |
5 | + <testcase classname="com.buyer.testSuite.TestRegister" name="register" time="10.873"/> | |
6 | +</testsuite> <!-- buyerRegister --> | ... | ... |
... | ... | @@ -0,0 +1,22 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
3 | +<suite name="Failed suite [采购商注册]" guice-stage="DEVELOPMENT"> | |
4 | + <test thread-count="5" name="buyerRegister(failed)"> | |
5 | + <classes> | |
6 | + <class name="com.essa.testSuite.TestGenrateCode"> | |
7 | + <methods> | |
8 | + <include name="tearDown"/> | |
9 | + <include name="setUp"/> | |
10 | + <include name="genrateCode"/> | |
11 | + </methods> | |
12 | + </class> <!-- com.essa.testSuite.TestGenrateCode --> | |
13 | + <class name="com.buyer.testSuite.TestRegister"> | |
14 | + <methods> | |
15 | + <include name="register"/> | |
16 | + <include name="tearDown"/> | |
17 | + <include name="setUp"/> | |
18 | + </methods> | |
19 | + </class> <!-- com.buyer.testSuite.TestRegister --> | |
20 | + </classes> | |
21 | + </test> <!-- buyerRegister(failed) --> | |
22 | +</suite> <!-- Failed suite [采购商注册] --> | ... | ... |