Selenium issues with IE tests
When I change mt test browser to IE using the following line of code:
self.selenium = selenium开发者_运维知识库("localhost", 4444, "*iexplore", "http://www.mydomain.net/")
I get the following error:
Exception: Failed to start new browser session: java.lang.RuntimeException: SystemRoot apparently not set!
It works perfectly fine using firefox and Chrome. This is running on an Ubuntu server.
How could the Selenium RC server (which is what I guess you are using) possibly start an IE instance on an Ubuntu machine?! IIRC all browser instances started by the Selenium RC server have to be local to the server. So if you want to test with IE, you have to run the SRC on a Windows box. Makes sense?!
精彩评论