Selenium IDE:在 IDE 中记录应用程序功能后,我使用该工具运行。但是,它显示错误,如下所示:

发布于 2024-12-13 10:02:51 字数 152 浏览 2 评论 0原文

[错误] 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

煞人兵器 2024-12-20 10:02:51

您可以共享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.

诺曦 2024-12-20 10:02:51

你的 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文