Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Selenium RC在10分钟后意外关闭_Java_Selenium_Automation_Webdriver_Selenium Rc - Fatal编程技术网

Java Selenium RC在10分钟后意外关闭

Java Selenium RC在10分钟后意外关闭,java,selenium,automation,webdriver,selenium-rc,Java,Selenium,Automation,Webdriver,Selenium Rc,知道这是怎么回事吗?我以前从未遇到过这个问题,突然我不得不为一个运行超过10分钟的测试用例编写一个自动化代码。我发现服务器在10分钟后意外关闭 它关闭时会在我的日志文件中显示: 21:47:49133信息通用应用程序上下文:1002-关闭org.springframework.context.support。GenericApplicationContext@1ef8cf3:启动日期[2012年12月18日星期二21:37:49 CST];上下文层次结构的根 我正在设置中使用RemoteCont

知道这是怎么回事吗?我以前从未遇到过这个问题,突然我不得不为一个运行超过10分钟的测试用例编写一个自动化代码。我发现服务器在10分钟后意外关闭

它关闭时会在我的日志文件中显示: 21:47:49133信息通用应用程序上下文:1002-关闭org.springframework.context.support。GenericApplicationContext@1ef8cf3:启动日期[2012年12月18日星期二21:37:49 CST];上下文层次结构的根

我正在设置中使用RemoteControlConfiguration&SeleniumServer

 org.openqa.selenium.server.SeleniumServer
 org.openqa.selenium.server.RemoteControlConfiguration
如果少于10分钟,所有测试用例都可以正常运行。我用的是2.25版本

WebDriver可能会解决这个问题,但由于其他一些内部问题,现在使用WebDriver是不可行的。所以我不是在调查那个地区

为了过度确认这是否是一个超时问题,我还运行了如下操作:

waitForPageToLoad(1000*60*11)
显式等待11分钟,10分钟后关闭

任何帮助都将不胜感激。我正在通过junit运行selenium测试用例

提前谢谢

you can also run on different port with different test suites..
hope it might help you