带有 Selenium 的 GWT 2.0

发布于 2024-10-07 11:39:51 字数 81 浏览 0 评论 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 技术交流群。

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

发布评论

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

评论(1

梦一生花开无言 2024-10-14 11:39:51

是的,这是可行的。我们正在使用 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.

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