2
使用硒网格的Im。当我对测试网站进行测试时,我会遇到以下错误。NUnit测试在硒网格上失败
System.InvalidOperationException : Session [(null externalkey)] not available and is not among the last 1000 terminated sessions. Active sessions are[]
该测试不会立即失败,但会在失败之前浏览网站和不同页面。
我中心成立是批处理文件如下:
cd C:\Automated Tests\Selenium
java -jar selenium-server-standalone-2.43.1.jar -role hub -hubhost my.hub..ip.address -port 4445
我的节点设置为批处理文件如下:
cd c:\Automated Tests\Selenium\
java -jar selenium-server-standalone-2.43.1.jar -port 5560 -role node -nodehost my.node.ip.address -hub http://my.hub.ip.address:4445/grid/register -browser"browserName=firefox,version=33.0,maxInstances=2,platform=WINDOWS" -nodeTimeout 600 -maxSession 10
的Theres不是很多的信息,在这个问题上,所以任何帮助,将不胜感激