简体   繁体   English

如何整合Hudson和Selenium-RC

[英]how to integrate hudson and selenium-rc

I am using Selenium RC(Java) with TestNg. 我正在将Selenium RC(Java)与TestNg一起使用。 I run the script using TestNG. 我使用TestNG运行脚本。 Now i want to integrate selenium with Hudson. 现在,我想将硒与Hudson集成。 So that whenever Hudson deploy the build into test server Dev team wants to perform Regression Testing using Hudson. 因此,每当Hudson将构建版本部署到测试服务器中时,开发团队都希望使用Hudson执行回归测试。

Simplest way is to use ant task to start/stop selenium before/after executing your test. 最简单的方法是在执行测试之前/之后使用ant任务启动/停止硒。 Another way is starting server from code if required. 如果需要,另一种方法是从代码启动服务器。 You can use ISFW where server started by framework if required. 如果需要,您可以在由框架启动服务器的地方使用ISFW

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM