首页 > 用RIDE 工具写自动化测试脚本

用RIDE 工具写自动化测试脚本


上述脚本报错:
The result of the xpath expression "/html/body/div[7]/div[2]/div[2]/div[2]/div[1]/ul/li[1]/text()" is: [object Text]. It should be an element.

xpath获取方法是点击了服饰王国所在行,然后copy xpath得到的。

最近才开始研究这方面的东西,打什么呢有没有什么好的资源或者文档分享一下呀???谢谢


应该是不用加最后的 text()

robotframework 文档:
http://robotframework.org/rob...

Selenium2Library 文档:
http://robotframework.org/Sel...

【热门文章】
【热门文章】