如何集成 hudson 和 selenium-rc
我正在使用 Selenium RC(Java) 和 TestNg。我使用 TestNG 运行脚本。现在我想将 selenium 与 Hudson 集成。因此,每当 Hudson 将构建部署到测试服务器时,开发团队都希望使用 Hudson 执行回归测试。
I am using Selenium RC(Java) with TestNg. I run the script using TestNG. Now i want to integrate selenium with Hudson. So that whenever Hudson deploy the build into test server Dev team wants to perform Regression Testing using Hudson.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法是在执行测试之前/之后使用 ant 任务启动/停止 selenium。另一种方法是如果需要的话从代码启动服务器。如果需要,您可以使用 ISFW,其中服务器由框架启动。
Simplest way is to use ant task to start/stop selenium before/after executing your test. Another way is starting server from code if required. You can use ISFW where server started by framework if required.