Running regression tests with Selenium and Internet Explorer on Windows

There is a lot of misinformation on the Web about running Selenium as part of regression testing in a Windows environment. Here is what worked for us.

Design goals:

1 Run the selenium tests on the command line.
2 Run selenium tests as part of regression testing on a build server with IE6. The regression tests are run by a service.

In both cases, the main options are:

A Run the Selenium server as part of test setup and close it on test teardown
B Run the Selenium server as a service

Synopsis:

1A Works out of the box
1B If you only have IE7, use srvany for the selenium server and you are done. Otherwise see the case below.
1B, 2A, 2B Use srvany for the selenium server, *iexploreproxy on the client and -singleWindow on the server

Leave a Reply