views:

90

answers:

1

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.

+4  A: 

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?!

ThomasH
Actually you can... http://www.cyberciti.biz/tips/how-to-install-internet-explorer-on-linux.html
Hannibal
@Hannibal just because you can doesnt mean you should.
AutomatedTester
Sooooo true! :) I'm just sayin' :)
Hannibal