Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by divya_agsrdk on 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

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Tue Jan 22, 2013 6:51 pm

Any error message it is showing??

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on 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...

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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?

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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.

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Mon Jan 28, 2013 3:48 pm


Check FF version is compatible with selenium Server stand alone

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Tue Jan 29, 2013 11:46 am

FF 18.0.1 and selenium-server-standalone-2.25.0....hopng it wrks 4u....

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Tue Jan 29, 2013 12:21 pm

standalone jar is enough...

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on Tue Jan 29, 2013 12:25 pm

ya thank u so much ..its working now...

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Tue Jan 29, 2013 12:30 pm

yw Smile .....

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on 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

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on 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 ?

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on 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....

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on Wed Jan 30, 2013 2:42 pm

k fine. ill check out.. how to stop server. in d prompt. wt key need to enter.

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by adityac on Wed Jan 30, 2013 3:55 pm

ctrl + c

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by divya_agsrdk on Thu Jan 31, 2013 11:19 am

thx..

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

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

Post by Sponsored content Today at 7:12 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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