Hi,
I get an error when trying to run my test suite running RC with *firefox. It works fine if I use the same command line with *iexplore instead... Note, that I can run the same test suite fine from the Firefox browser via the chrome URL...
My setup:
- Windows XP Pro SP2
- Selenium RC 0.9.0
- Internet Explorer 7.0.5730.11
- Firefox 2.0.0.1
Here is the command I use to start the server:
java -jar selenium-server.jar -htmlSuite "*firefox" "
http://www.elapsetech.com" "c:\SeleniumTests\MyTestSuite.html" "c:\SeleniumTests\results.html"
Here is the trace I get:
Jan 10, 2007 12:20:04 PM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/0.9.0
Jan 10, 2007 12:20:04 PM org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
Jan 10, 2007 12:20:04 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server,/selenium-server]
Jan 10, 2007 12:20:04 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server/driver,/selenium-server/driver]
Jan 10, 2007 12:20:04 PM org.mortbay.http.SocketListener start
INFO: Started SocketListener on
0.0.0.0:4444
Jan 10, 2007 12:20:04 PM org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.Server@a62fc3
HTML suite exception seen:
java.lang.RuntimeException: Firefox refused shutdown while preparing a profile
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:261)
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.launch(FirefoxCustomProfileLauncher.java:135)
at org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher.launchHTMLSuite(AbstractBrowserLauncher.java:20)
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:54)
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:93)
at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:807)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:315)
Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher$FileLockRemainedException: Lock file still present! C:\DOCUME~1\Pascal\LOCALS~1\Temp\customProfileDir604745\parent.lock
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFileLockToGoAway(FirefoxCustomProfileLauncher.java:219)
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:259)
... 6 more
Of course, that also leaves a Firefox process dangling...
Any idea on what causes this, is it a bug or am I forgetting something specific to FireFox?
Thx,
Pascal