开发者

Selenium RC and IE Script Error - Remote procedure call failed

开发者 https://www.devze.com 2022-12-17 03:39 出处:网络
My Test setup consists of several Java test cases开发者_如何学JAVA running in IE6 using Selenium RC and TestNG.

My Test setup consists of several Java test cases开发者_如何学JAVA running in IE6 using Selenium RC and TestNG.

During my test runs, the following IE Script error popup comes randomly. Upon trying to dismiss this popup by clicking Yes, the test run hangs and I have to kill the entire run.

I have tried disabling popup blocker and the MDM service but without luck.

Any pointers to what causes these errors and how to go about avoiding them??

Selenium RC and IE Script Error - Remote procedure call failed


I have just had the same problem. And this post helped: http://manfredlange.blogspot.com/2009/11/ie8-and-selenium-rc-tests-wont-execute.html

So run selenium with admin rights and then you will not get this error. If you use visual studio (maybe also the same with eclipse or other java IDE) run it as administrator and run the tests like that.


I'm running my selenium tests from the command line, and I found that running the command shell "as administrator" solved the problem.


I had the same problem and unchecking the "work offline" of ie fixed it.

0

精彩评论

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

关注公众号