20180404_182628.log
7.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
2018-04-04 18:26:28.096 INFO: 开始从配置文件中选择浏览器
2018-04-04 18:26:28.096 INFO: 所选择的浏览器类型为: Chrome
2018-04-04 18:26:28.096 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa
2018-04-04 18:26:32.879 INFO: 正在启动Chrome浏览器
2018-04-04 18:26:34.368 INFO: 窗口最大化
2018-04-04 18:26:36.675 INFO: 打开URL: http://bpms.hotfix.gz.essa
2018-04-04 18:26:36.683 INFO: 设置隐性等待5 秒
2018-04-04 18:26:36.767 INFO: 获取所要读取的文件
2018-04-04 18:26:37.738 INFO: 文件为:.xlsx格式
2018-04-04 18:26:37.755 INFO: 读取文件成功
2018-04-04 18:26:37.947 INFO: 清除文本框中已有字符: //*[@id='username']]
2018-04-04 18:26:38.165 INFO: 输入的字符是:admin
2018-04-04 18:26:38.284 INFO: 清除文本框中已有字符: //*[@id='password']]
2018-04-04 18:26:38.429 INFO: 输入的字符是:essa123
2018-04-04 18:26:46.175 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='subBtn']"}
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
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'
Driver info: org.openqa.selenium.chrome.ChromeDriver
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}
Session ID: 0541c0747091ae63f9836b34921c75e9
*** Element info: {Using=xpath, value=//*[@id='subBtn']}.
2018-04-04 18:26:46.238 INFO: 判断检查点是否存在
2018-04-04 18:26:52.519 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text()='退出']"}
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
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'
Driver info: org.openqa.selenium.chrome.ChromeDriver
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}
Session ID: 0541c0747091ae63f9836b34921c75e9
*** Element info: {Using=xpath, value=//*[text()='退出']}.
2018-04-04 18:26:52.683 INFO: 清除文本框中已有字符: //*[@id='username']]
2018-04-04 18:26:52.831 INFO: 输入的字符是:linrong
2018-04-04 18:26:52.939 INFO: 清除文本框中已有字符: //*[@id='password']]
2018-04-04 18:26:53.067 INFO: 输入的字符是:essa123
2018-04-04 18:27:00.456 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id='subBtn']"}
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
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'
Driver info: org.openqa.selenium.chrome.ChromeDriver
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}
Session ID: 0541c0747091ae63f9836b34921c75e9
*** Element info: {Using=xpath, value=//*[@id='subBtn']}.
2018-04-04 18:27:00.550 INFO: 判断检查点是否存在
2018-04-04 18:27:06.731 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text()='退出']"}
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.543627 (63642262d9fb93fb4ab52398be4286d844092a5e),platform=Windows NT 10.0.10586 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
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'
Driver info: org.openqa.selenium.chrome.ChromeDriver
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}
Session ID: 0541c0747091ae63f9836b34921c75e9
*** Element info: {Using=xpath, value=//*[text()='退出']}.