带有 Selenium 的 GWT 2.0
我正在尝试使用 Selenium IDE 记录操作,然后让它们运行,但它不起作用。是否可以将 Selenium IDE 与 GWT 一起使用? 谢谢
I am trying to use Selenium IDE to record action and then make them run but it is not working. Is it possible to use Selenium IDE with GWT??
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可行的。我们正在使用 extGWT 和 Selenium 来测试客户端的某些部分。
我们用这篇文章开始:
http:// www.sencha.com/blog/2008/11/03/testing-ext-js-ext-gwt-applications-with-selenium/
GWT 方面的重点是为小部件分配唯一的 ID,以便它们很容易从 Selenium 脚本中引用。如果不可行,请使用 XPath。
Yes, it's feasible. We are using extGWT with Selenium to test some parts of our client side.
We used this article to start:
http://www.sencha.com/blog/2008/11/03/testing-ext-js-ext-gwt-applications-with-selenium/
The important point on the GWT side is to assign unique IDs to widgets so that they are easy to reference from the Selenium script. If it's not feasible, use XPath.