unit-testing - 带有 Selenium 的 GWT 2.0

标签 unit-testing testing gwt selenium-ide

我正在尝试使用 Selenium IDE 来记录操作,然后让它们运行,但它不起作用。是否可以将 Selenium IDE 与 GWT 一起使用? 谢谢

最佳答案

是的,这是可行的。我们将 extGWT 与 Selenium 结合使用来测试客户端的某些部分。

我们从这篇文章开始: http://www.sencha.com/blog/2008/11/03/testing-ext-js-ext-gwt-applications-with-selenium/

GWT 端的重点是为小部件分配唯一 ID,以便从 Selenium 脚本中轻松引用它们。如果不可行,请使用 XPath。

关于unit-testing - 带有 Selenium 的 GWT 2.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4428172/

相关文章:

java - Spring中如何模拟私有(private)方法中调用的公共(public)方法的返回

c# - 单元测试控制台 c# 应用程序的最佳方法

c# - 如何在 C# 中使用 XUnit 正确模拟 mongoDb?

测试 XQuery 和 Marklogic 事务

java - 如何分离 App Engine Eclipse 项目和 GWT Eclipse 项目?

c# - MVC 5 异步任务<ActionResult> 索引 View 的单元测试

javascript - 使用 Protractor 和 Angular 带模态测试登录对话框时出现超时错误

linux - 如何在性能测试期间监控 cpu 使用率和网络使用率

javascript - 未捕获的类型错误 : FormNapper requires an HTMLFormElement element or the id string of one

java - 如何将@UiField 字段设为私有(private)