[error] Unrecognised locatortype: 'href'
[错误]未定位类型:'href'
[info] Executing: |assertText |//a[@href='#/report/'] | #/report/ |
[error]Actual value '报表管理'did not match '#/report/'
结论:seleniumide 2.9.0 版本的不兼容性,是selenium面临的又一场技术革新。Why?对于HTML5/Css3/Angularjs这种新技术的应用开发出来的网页,录制脚本容易,回放脚本的操作性和复用性差,经常性抓不到Elements;需要手动改写脚本,最好,使用xpathexpress。
如上述错误:
Target 改为: //a[@href='#/report/']
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。