Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Sat Jan 19, 2013 2:18 pm
Selenium RC server and selenium server standalone .jar files are not working proper. in the command prompt if i give it ll show started and stoped and getting next prompt again..its not running.

Problem in server standalone 2.15.0 jar file

and also in selenium Rc 1.0.3 -> selenium-server.jar.

whats the solution ?


Last edited by divya_agsrdk on Tue Jan 29, 2013 11:15 am; edited 1 time in total
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 22, 2013 6:51 pm
Any error message it is showing??
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Wed Jan 23, 2013 5:02 pm
in eclipse showing error in the packages . as of server standalone 2.15.0 jar fileis not working proper. once in the command prompt if i give to run , it willl show some info . then stoped and getting prompt
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Wed Jan 23, 2013 7:44 pm
Can u paste the complete error message wat u r getting... I tried with 2.15.0 version its wrking fine.... once check the JDK version also...
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Mon Jan 28, 2013 3:02 pm
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:89)
at com.thoughtworks.selenium.SeleneseTestBase.setUp(SeleneseTestBase.java:123)
at com.thoughtworks.selenium.SeleneseTestBase.setUp(SeleneseTestBase.java:104)
at com.thoughtworks.selenium.SeleneseTestCase.setUp(SeleneseTestCase.java:78)
at login.setUp(login.java:5)
at junit.framework.TestCase.runBare(TestCase.java:132)
at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)
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.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
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:81)
... 18 more

Getting like this .. wts the solution?
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Mon Jan 28, 2013 3:26 pm
i ws used-
JDK 1.6
selenium server standalone 2.15.0 jar file
Selenium Rc1.0.3
Eclipse -java -indigo-sr2
In eclipse, Project properties i hv added selenium server standalone 2.15.0 jar file and selenium - java clent-driver file.
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Mon Jan 28, 2013 3:48 pm

Check FF version is compatible with selenium Server stand alone
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Tue Jan 29, 2013 11:13 am
my firefox version is 18.0.1.

Which versions of firefox and selenium-server-standalone need to use?

and let me knw what ur using Which version


Last edited by divya_agsrdk on Tue Jan 29, 2013 11:59 am; edited 1 time in total
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 29, 2013 11:46 am
FF 18.0.1 and selenium-server-standalone-2.25.0....hopng it wrks 4u....
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Tue Jan 29, 2013 12:00 pm
in build path need to add RC server also? i mean selenium-server.jar

y standalone is needed
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 29, 2013 12:21 pm
standalone jar is enough...
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Tue Jan 29, 2013 12:25 pm
ya thank u so much ..its working now...
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 29, 2013 12:30 pm
yw Smile .....
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 29, 2013 12:46 pm
I think standalone server is 2 run in local environment where as rc server is import jar files from anther machine and 2 run the script......

Am nt sure whether it is crect or not ....... need confirmation... if u get crect answer plz post it here...


Last edited by adityac on Tue Jan 29, 2013 4:24 pm; edited 1 time in total
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Tue Jan 29, 2013 2:46 pm
sure... thr r many more queries . nw installed successfully. hereaftr need to work on some programs..

Wts the diff between RC server and server standalone ?

do u knw which selenium-server-standalone.jar file need to b used for FF 6.0 v ?
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Tue Jan 29, 2013 4:36 pm
oops... instead of new post posted sme wr... sorry for inconvinient... below is the answer :

I think standalone server is 2 run in local environment where as rc server is import jar files from anther machine and 2 run the script......

Am nt sure whether it is crect or not ....... need confirmation... if u get crect answer plz post it here...

And answer for ur last query... even i tried same environment FF6 and 2.15.0 bt it is wrkng fine for me....
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Wed Jan 30, 2013 2:42 pm
k fine. ill check out.. how to stop server. in d prompt. wt key need to enter.
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

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

Wed Jan 30, 2013 3:55 pm
ctrl + c
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

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

Thu Jan 31, 2013 11:19 am
thx..
Sponsored content

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

Back to top
Permissions in this forum:
You cannot reply to topics in this forum