开发者

"Unexpected error when launching Internet Explorer..." from cruise control selenium test run

开发者 https://www.devze.com 2023-04-03 08:54 出处:网络
I am attempting to run my selenium test suite as part of a continues integration process using cruise control.

I am attempting to run my selenium test suite as part of a continues integration process using cruise control.

 exec workingdir="projects/AtomWeb/trunk/seleniumTest/bin/debug"
             command="nunit-console"
             args="seleniumTest.dll"/>  

The problem is I get the following error message.

SetUp : System.InvalidOperationException : Unexpected error launching Internet E开发者_如何学Cxplorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (NoSuchDriver)

However when I run this though the console on the build machine with the following command it works fine.

nunit-console seleniumTest.dll

Any ideas as to why it wont work as part of the build process?


CruiseControl is probably running the Selenium server under a different user than when you run it from the console. Which means Internet Explorer is using a different user's preferences, which may not be set up correctly. Because that's what that error message is trying to tell you - your IE setup is incorrect.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号