Could not start Selenium session: Failed to start new browser session: Error while launching browser

Showing 1-5 of 5 messages
Could not start Selenium session: Failed to start new browser session: Error while launching browser Rajeev 8/4/11 8:25 AM
Hi ,
I am getting this error while executing my test case :
Please, can anyone help mw fixing the below error .
Thanks in advance.


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:
90)
        at com.core.raj.CSel.setUp(CSel.java:15)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at
com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:
228)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
83)
        at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
45)
        at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
460)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
673)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
386)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
196)
Caused by: com.thoughtworks.selenium.SeleniumException: Failed to
start new browser session: Error while launching browser
        at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
101)
        at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
95)
        at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:
266)
        at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:
227)
        at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
82)
        ... 16 more
RE: [selenium-users] Could not start Selenium session: Failed to start new browser session: Error while launching browser Mark Collin 8/4/11 9:09 AM
Have you got a selenium.start() in your script?

--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to
selenium-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/selenium-users?hl=en.


--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

If you have received this email in error please notify postm...@ardescosolutions.com

Re: [selenium-users] Could not start Selenium session: Failed to start new browser session: Error while launching browser Krishnan 8/4/11 9:16 AM
What browser are you dealing with here ? If its firefox perhaps you might want to check if there is a firefox stuck in memory (use task manager to explore and kill it if its running already) and then retry.

Hope that helps 

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"




--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Re: [selenium-users] Could not start Selenium session: Failed to start new browser session: Error while launching browser vamsi tatikonda 8/4/11 10:07 AM
Just go to the Task Manager and kill your browser instances and run your test again..It should work.

Thanks,
Vamsi
Re: Could not start Selenium session: Failed to start new browser session: Error while launching browser Reaz Patwary 8/4/11 10:13 AM
I had similar issue. It was happening because of firefox issue and
firefox was updated and your selenium server is not ready for the
updated version of firefox. Either download a new copy of stand alone
selenium server or path your old server then run the test. It should
work.

Here is the link to path selenium server for updated version of
firefox.


http://groups.google.com/group/qahelp4all/browse_thread/thread/f38146a7b4b6dbff?hl=en


Thanks
RP