Selenium IDE:在 IDE 中记录应用程序功能后,我使用该工具运行。但是,它显示错误,如下所示:
[错误] Element //div[@id='divProjects']/table/tbody/tr/td[6]/i not found
我尝试使用 xpather、firebug 来查找对象的 id 和值。但是,它对我不起作用。
请帮助我解决我的问题。
[error] Element //div[@id='divProjects']/table/tbody/tr/td[6]/i not found
i tried to use xpather,firebug inorder to find the id's and values of the object.But,it is not working for me.
please help me to solve my issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以共享IDE脚本,这样可以轻松解决问题。当您尝试对元素执行任何操作时,您必须验证是否已到达该元素。
You can share the IDE script, it'll make easy to resolve the issue. You have to verify that you have got to the element when you are trying to perform any action on it.
你的 xpath 需要更加相对。您可以尝试的一件事是在 IDE 中录制时将 xpath 更改为 xpath:relative。您可以通过单击下拉菜单找到此选项
Your xpath needs to be more relative. One thing you can try is to change the xpath to xpath:relative while recording in IDE. You can find this option on clicking on the dropdown