FAQ
Trying to set up Selenium with Eclipse. ( with this manual:
http://selftechy.com/2011/05/31/setting-up-selenium-with-eclipse )
Received exception: Could not start Selenium session: Bad Protocol.

Have no idea what's happening. Server is successfully running.
Everything is in conformance with manual. Goggle gives nothing on this
exception. Please help to resolve.

Trace:

java.lang.RuntimeException: Could not start Selenium session: Bad
Protocol
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
109)
at
com.selftechy.parameterization.AdvancedSearch.setUp(AdvancedSearch.java:
12)
at junit.framework.TestCase.runBare(TestCase.java:132)
at
com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:
230)
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:
50)
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: Bad Protocol
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
112)
at
com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponseAsString(HttpCommandProcessor.java:
183)
at
com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:
118)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
101)
at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:
275)
at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:
237)
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
100)
... 16 more

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedMay 28, '12 at 6:25a
activeMay 28, '12 at 6:25a
posts1
users1
websiteseleniumhq.org

1 user in discussion

Suf.agent: 1 post

People

Translate

site design / logo © 2022 Grokbase