Thanks Akash, but I don't have a firefox executable under /usr/lib/, the only executable I've been able to locate is:
/Applications/Firefox.app/Contents/MacOS/firefox-bin

It does manage to load a firefox process but gets stuck here:
14:53:15.023 INFO - Checking Resource aliases
14:53:15.029 INFO - Command request: getNewBrowserSession[*firefox / Applications/Firefox.app/Contents/MacOS/firefox-bin, http://localhost:8080/ , ] on session null
14:53:15.033 INFO - creating new remote session
14:53:15.253 INFO - Allocated session b8bac29794494e7caf3945e90dd038f5 for http://localhost:8080/, launching...
14:53:15.334 INFO - Preparing Firefox profile...

If I quit the firefox window that opened then I get this:
15:15:40.188 INFO - Launching Firefox...

And eventually this:
15:19:41.300 ERROR - Failed to start new browser session, shutdown browser an clear all session data org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear at org .openqa .selenium .server .FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java: 565) at org .openqa .selenium .server .FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java: 522) at org .openqa .selenium .server .BrowserSessionFactory .createNewRemoteSession(BrowserSessionFactory.java:324) at org .openqa .selenium .server .BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java: 118) at org .openqa .selenium .server .BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java: 81) at org .openqa .selenium .server .SeleniumDriverResourceHandler .getNewBrowserSession(SeleniumDriverResourceHandler.java:658) at org .openqa .selenium .server .SeleniumDriverResourceHandler .doCommand(SeleniumDriverResourceHandler.java:392) at org .openqa .selenium .server .SeleniumDriverResourceHandler .handleCommandRequest(SeleniumDriverResourceHandler.java:368) at org .openqa .selenium .server .SeleniumDriverResourceHandler .handle(SeleniumDriverResourceHandler.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)
15:19:41.302 INFO - Killing Firefox...
15:19:41.432 INFO - Got result: Failed to start new browser session: Error while launching browser on session null

Regards
Scott

On 14/12/2009, at 5:52 PM, Akash Jain wrote:

Hello Scott,

Check version of browser in seleniumXml.properties file, it is browser=*firefox /usr/lib/firefox-3.0.4/firefox. Change firefox-3.0.4 > firefox-3.5.5 for testing.

HTH

Thanks and Regards
--
Akash Jain

Scott Gray wrote:
Has anybody been able to successfully run the example Selenium tests on OS X? Any tips or tricks? I've followed the instructions in the PDF Brett attached to OFBIZ-2116 but Firefox (3.5.5) never starts up and the client eventually times out.

Thanks
Scott

HotWax Media
http://www.hotwaxmedia.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to