selenium是否支持devexpress grid使用selenium IDE进行录制和播放?
我有一个包含 devexpress 网格的网络应用程序。我尝试单击网格某一列中显示的链接,但它没有捕获任何内容。谁能帮我解决这个问题!
I have a web app which contains devexpress grid. I tried to click the link displayed in one of the column of the grid, but it doesn't capture anything. Can anyone help me to fix this!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,Selenium 可与 DevExpress 控件配合使用,但 Selenium IDE 记录器经常无法检测到正确的元素,在这种情况下,您需要将“目标”参数替换为手动输入的参数。您可以使用 Firebug 或等效工具来帮助找到可能的目标。此外,有时用“mouseDown”和“mouseUp”替换“click”也有帮助。
例如,以下脚本适用于单击行和列:
Yes, Selenium works with DevExpress controls, but the Selenium IDE recorder often fails to detect the correct element in which case you need to replace the 'Target' parameter with a manually entered one. You can use Firebug or equivalent to help find likely targets. Also, it sometimes helps to replace 'click' with a 'mouseDown' followed by a 'mouseUp'.
For instance, the following script works for clicking on rows and columns: