Cannot start browser for record or playback

201 views
Skip to first unread message

KeighleHawk

unread,
Jun 17, 2010, 2:42:48 PM6/17/10
to cubictest-users

Just installed Cubic Test so I'm hoping this is just a configuration
problem. Besides not being able to start the browser, I get an error
message when trying to look at the Eclipse preferences page for Cubic
test (though I saw another post about this being an over sight and
safe to ignore?).

My Setup:
Windows 7 Ultimate (sorry)
MyEclipse 8.5.0 (based on Eclipse 3.5.2)
CubicTest 2.0.3 (installed from the MyEclipse repo, not directly
from the CubicTest site)
Firefox 3.6.3 (includes FireBug plugin)
Chrome 5.0.375.70
Internet Explorer 8.0

It always seems to try starting Firefox, even if I change the default
browser setting in the Eclipse General preferences. Perhaps I need to
set it some place else?

Any help?

P.S. I'll eventually be trying to use this to test an ExtJS
application using the Google Earth Plugin in case that helps...

Error Message:

org.cubictest.common.exception.CubicException: Unable to start Firefox
and open initial URL.

Check that
- The browser is installed (if in non-default dir, set it in PATH)
- The initial URL is correct
- There are no background (non-visible) browser processes hanging

Error message: java.util.concurrent.ExecutionException:
java.lang.RuntimeException: Could not start Selenium session: Failed
to start new browser session: Error while launching browser
at org.cubictest.common.utils.ErrorHandler.rethrow(ErrorHandler.java:
39)
at
org.cubictest.exporters.selenium.launch.LaunchTestRunner.startSeleniumAndOpenInitialUrlWithTimeoutGuard(LaunchTestRunner.java:
167)
at
org.cubictest.exporters.selenium.launch.LaunchTestRunner.run(LaunchTestRunner.java:
77)
at
org.cubictest.exporters.selenium.launch.LaunchConfigurationDelegate.launch(LaunchConfigurationDelegate.java:
236)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
853)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
703)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:
866)
at org.eclipse.debug.internal.ui.DebugUIPlugin
$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.util.concurrent.ExecutionException:
java.lang.RuntimeException: Could not start Selenium session: Failed
to start new browser session: Error while launching browser
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at
org.cubictest.exporters.selenium.launch.LaunchTestRunner.call(LaunchTestRunner.java:
247)
at
org.cubictest.exporters.selenium.launch.LaunchTestRunner.startSeleniumAndOpenInitialUrlWithTimeoutGuard(LaunchTestRunner.java:
165)
... 7 more
Caused by: java.lang.RuntimeException: Could not start Selenium
session: Failed to start new browser session: Error while launching
browser
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
100)
at
org.cubictest.exporters.selenium.runner.holders.CubicTestLocalRunner.start(CubicTestLocalRunner.java:
110)
at
org.cubictest.exporters.selenium.runner.util.SeleniumController.doStart(SeleniumController.java:
106)
at
org.cubictest.exporters.selenium.runner.util.SeleniumController.call(SeleniumController.java:
66)
at
org.cubictest.exporters.selenium.runner.util.SeleniumController.call(SeleniumController.java:
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.thoughtworks.selenium.SeleniumException: Failed to
start new browser session: Error while launching browser
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
91)
at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:
262)
at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:
223)
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
92)
... 9 more

KeighleHawk

unread,
Jun 17, 2010, 3:11:44 PM6/17/10
to cubictest-users

Never mind, the problem was just as easy as the error message
implied. I had a typo in the URL.... :-/

Mrinalini Upadhya

unread,
Jun 21, 2013, 8:00:28 AM6/21/13
to cubicte...@googlegroups.com
I'm facing the same issue!!! :(

Not able to fix it. The URL that I'm giving is correct.

i have added -DfirefoxDefaultPath = C:\Program Files\Mozilla Firefox\firefox.exe in eclipse.ini.

What else do i need to do?

Anton Bykau

unread,
Nov 24, 2013, 7:22:59 AM11/24/13
to cubicte...@googlegroups.com
It looks like I fix a problem. New application use WebDriver instead of old selenium server.

четверг, 17 июня 2010 г., 21:42:48 UTC+3 пользователь KeighleHawk написал:
Reply all
Reply to author
Forward
0 new messages