Firefox launching problem in windows

1 vue
Accéder directement au premier message non lu

vamsi

non lue,
20 févr. 2008, 07:38:2720/02/2008
à selenium-users...@googlegroups.com
Hi,
i am not able to launch firefox using the command->cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com. But able to launch firefox using the command using "cmd=getNewBrowserSession&1=*custom c:\Program Files\Mozilla Firefox\firefox.exet&2=http://www.google.com.

Due to this i am not able to launch the firefox from my python rc script.

I am also included the firefox installation location(c:\Program Files\Mozilaa Firefox\firefox.exe) in system path variable.

your help is appreciated.

This is the exception i am getting:
-
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Feb 20, 2008 4:23:49 PM org.mortbay.util.FileResource {code:html}<clinit>{code}
INFO: Checking Resource aliases
GET: cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2F10.0.2.102%3A9180%2Fod

customProfileDir = C:\DOCUME~1\VAMSI~1.TRA\LOCALS~1\Temp\customProfileDir829562
Extracting /customProfileDirCUSTFF to C:\DOCUME~1\VAMSI~1.TRA\LOCALS~1\Temp\cust
omProfileDir829562
Preparing Firefox profile...
Feb 20, 2008 4:24:11 PM org.mortbay.http.HttpConnection exception
WARNING: GET /selenium-server/driver/?cmd=getNewBrowserSession&1=%2Afirefox&2=ht
tp%3A%2F%2F10.0.2.102%3A9180%2Fod HTTP/1.1
java.lang.RuntimeException: Firefox refused shutdown while preparing a profile
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLaunc
her.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:261)
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLaunc
her.launch(FirefoxCustomProfileLauncher.java:135)
at org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher.l
aunchRemoteSession(AbstractBrowserLauncher.java:24)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse
rSession(SeleniumDriverResourceHandler.java:470)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se
leniumDriverResourceHandler.java:316)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman
dRequest(SeleniumDriverResourceHandler.java:296)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen
iumDriverResourceHandler.java:129)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLaunc
her$FileLockRemainedException: Lock file still present! C:\DOCUME~1\VAMSI~1.TRA\
LOCALS~1\Temp\customProfileDir829562\parent.lock
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLaunc
her.waitForFileLockToGoAway(FirefoxCustomProfileLauncher.java:219)
at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLaunc
her.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:259)
... 15 more
-
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards,
Vamsi.

vamsi

non lue,
21 févr. 2008, 01:55:1721/02/2008
à selenium-users...@googlegroups.com
Hi,
Selenium-RC - 0.9.0
Firefox - 2.0.0.12

is it the problem?Is there any work around for this?
Then how come it is launching the browser using custom option.

--vamsi

Elmar Fasel

non lue,
21 févr. 2008, 04:06:5621/02/2008
à selenium-users...@googlegroups.com
Hi,

we also had a problem with launching Firefox.
Our workaround was to change the class FirefoxCustomProfileLauncher.

See http://jira.openqa.org/browse/SRC-236#action_16203

Best regards,
Elmar

gim_h

non lue,
21 févr. 2008, 09:32:5821/02/2008
à selenium-users...@googlegroups.com
hi vamsi,
this is an old bug, and has been fixed in 0.9.2. http://jira.openqa.org/browse/SRC-216
i suggest you upgrade your SRC, if some of you test cases are successful in SRC0.9.0, but failed in 0.9.2, you have to go back to SRC 0.9.0 and firefox 1.5, or you have to change your test scripts.
there are some changes between 0.9.0 and 0.9.2, you can refer to the release note http://selenium-rc.openqa.org/release-notes.html

Elmar Fasel

non lue,
21 févr. 2008, 10:17:4721/02/2008
à selenium-users...@googlegroups.com
Hi gim_h,

sorry, I don't want to be pushy, but what about this comment?
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message