I tried the
*java -jar selenium-server.jar -port 4444 -multiWindow*
command under the Command Prompt in Windows XP, and that almost worked. The server appeared to be starting, but finally my C# software returned this error:
+An unhandled exception of type 'System.Net.WebException' occurred in System.dll \\+
+Additional information: The remote server returned an error: (500) Internal Server Error.+
Looking over at the Command Prompt window for more information, here's what was there:
+ at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) \\ Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil \\ eLockRemainedException: Lock file still present! C:\DOCUME~1\COMPAQ~1\LOCALS~1\T \\ emp\customProfileDir0aeec1abcca6414a99e19b6157608a4a\parent.lock \\ at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai \\ tForFileLockToGoAway(FirefoxChromeLauncher.java:247) \\ at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai \\ tForFullProfileToBeCreated(FirefoxChromeLauncher.java:288) \\ ... 18 more+
Since I'm just guessing at how to make this work, here are a few basic questions:
1. Was I supposed to run "*java -jar selenium-server.jar -port 4444 -multiWindow*" from the Windows Command Prompt, or is there a better way?
2. I arbitrarily picked a "Windows Forms Application" project from Visual Studio, because I'm used to that. But would "Console Application" or "WPF Application" work better?
3. How do I debug this?