Problems running RC with Firefox 2.0.0.1

3 views
Skip to first unread message

Pascal Roy

unread,
Jan 10, 2007, 12:33:51 PM1/10/07
to selenium-users...@googlegroups.com
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

Hang Yuan

unread,
Jan 10, 2007, 2:19:49 PM1/10/07
to selenium-users...@googlegroups.com
Yeah, I got the same issue with firefox 2.0.0.1.

Jason

unread,
Jan 11, 2007, 1:50:42 AM1/11/07
to selenium-users...@googlegroups.com
It is said that Selenium 9.0 has that problem with Firefox 2.0.0.1,
Thus you need to downgrade FF to version 2.0.

-
----
Original Message-----
From: Pascal Roy [forum-selen...@openqa.org]
Sent: 2007年1月11日 1:34
To: selenium...@openqa.org
Subject: [selenium-rc-users] Problems running RC with Firefox 2.0.0.1
-
--------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6077&messageID=17011#17011

-
--------------------------------------------------------------------
To unsubscribe, e-mail: selenium-rc-us...@openqa.org
For additional commands, e-mail: selenium-rc...@openqa.org


-
--------------------------------------------------------------------
To unsubscribe, e-mail: selenium-rc-us...@openqa.org
For additional commands, e-mail: selenium-rc...@openqa.org




Reply all
Reply to author
Forward
0 new messages