20180404_172707.log 2.69 KB
2018-04-04 17:27:07.424 INFO: 开始从配置文件中选择浏览器
2018-04-04 17:27:07.439 INFO: 所选择的浏览器类型为: Chrome
2018-04-04 17:27:07.439 INFO: 所测试的URL地址为: http://bpms.hotfix.gz.essa
2018-04-04 17:27:18.932 INFO: 正在启动Chrome浏览器
2018-04-04 17:27:20.474 INFO: 窗口最大化
2018-04-04 17:27:25.129 INFO: 打开URL: http://bpms.hotfix.gz.essa
2018-04-04 17:27:25.154 INFO: 设置隐性等待5 秒
2018-04-04 17:27:25.626 INFO: 清除文本框中已有字符: //*[@id='username']]
2018-04-04 17:27:25.887 INFO: 输入的字符是:admin
2018-04-04 17:27:26.000 INFO: 清除文本框中已有字符: //*[@id='password']]
2018-04-04 17:27:26.154 INFO: 输入的字符是:essa123
2018-04-04 17:27:34.439 ERROR: 1.
2018-04-04 17:27:34.837 INFO: 点击元素: //*[text()='供应商管理']]
2018-04-04 17:27:39.876 ERROR: no such element: Unable to locate element: {"method":"xpath","selector":"//*/a[contains(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: 5.02 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50'
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 [{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=}]
Session ID: 9a5890016096ab721e6f083fec63e551
*** Element info: {Using=xpath, value=//*/a[contains(text(),'平台运营跟进管理')]}.
2018-04-04 17:27:40.080 INFO: 检查元素是否存在:true
2018-04-04 17:27:40.142 INFO: 获取所要读取的文件
2018-04-04 17:27:41.720 INFO: 文件为:.xlsx格式
2018-04-04 17:27:41.752 INFO: 读取文件成功