The Selenium Server uses a tool called "reg.exe" in order to control the Windows Registry. (This is necessary in order to configure the HTTP proxy settings for Internet Explorer on Windows.)
If reg.exe is not available, you may see an error message like this:
| Couldn't find reg.exe! Please download it from Microsoft and install it in a standard location. |
"reg.exe" is automatically installed with the operating system on Windows XP and Windows 2003. It should be available in your "C:\WINDOWS\SYSTEM32" directory. (If you have Windows XP or Windows 2003, it's very unusual that you should see the error message above. Selenium Server 0.7.1 and higher should silently detect reg.exe in your SYSTEM32 directory and automatically modify your registry as needed. But, if necessary, read on for details on how to install an older version of "reg.exe".)
"reg.exe" is available for Windows 2000, but it is not installed as a part of the operating system. (It's part of the Windows 2000 Support Tools which comes on the Windows 2000 installation CD.)
If you don't happen to have a handy copy of the Windows 2000 installation CD, you can also use the old Windows NT version of "reg.exe" (which works just fine on Windows 2000 and higher), which is available as a free download from Microsoft. (It is not licensed for redistribution, or we would have just bundled it for you with Selenium RC. Sorry!)
Download the Windows NT reg_x86.exe from ftp.microsoft.com
To use reg_x86.exe, double-click on it. It will automatically extract itself into "C:\NTRESKIT", which is a fine location for it, though you may prefer to put it in your C:\WINNT\SYSTEM32 directory. If you wish to put it in another directory entirely, then you must add that directory to your PATH environment variable. Selenium Server will automatically check the SYSTEM32 directory, the C:\NTRESKIT directory and every directory on your PATH for reg.exe.
With that done, the error message above should go away and "*iexplore" should work properly under Selenium Server.
If that still doesn't work, please post about it in the SRC Forums. (Please include a full copy of the entire error message/log):
