com.thoughtworks.selenium.SeleniumException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We have the project setup to display Junit test results by checking the setting : Publish JUnit test result report. The testsuite in the generated test result xml is ignored when displaying the test results for the project. Here is the situation, we run Selenium tests for IE and FF ... so the same tests run twice. Hudson correctly displays the fact the these tests ran twice, but it's impossible to know if the tests were IE or FF because the testsuite isn't displayed. Here are the two XML files : {code} <?xml version="1.0" encoding="UTF-8"?> <testsuite name="Firefox" failures="0" tests="5" time="55.688" errors="0"> <properties/> <testcase name="testBogusLogin" time="3.406" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLogin" time="2.469" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLoginBadPassword" time="3.375" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testMenu" time="32.86" classname="mypackage.selenium.TestMenu"/> </testsuite> {code} {code} <?xml version="1.0" encoding="UTF-8"?> <testsuite name="IE" failures="2" tests="5" time="60.047" errors="0"> <properties/> <testcase name="testBogusLogin" time="3.875" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLogin" time="15.89" classname="mypackage.selenium.TestLoginPage"> <failure type="com.thoughtworks.selenium.SeleniumException" message="Timed out after 15000ms"> <![CDATA[com.thoughtworks.selenium.SeleniumException: Timed out after 15000ms at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91) at com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(DefaultSelenium.java:635) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.TestLoginPage.testLogin(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) ... Removed 7 stack frames]]> </failure> </testcase> <testcase name="testLoginBadPassword" time="3.843" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testMenu" time="25.969" classname="mypackage.selenium.TestMenu"> <failure type="com.thoughtworks.selenium.SeleniumException" message="Timed out after 15000ms"> <![CDATA[com.thoughtworks.selenium.SeleniumException: Timed out after 15000ms at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91) at com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(DefaultSelenium.java:635) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.TestMenu.testMenu(Unknown Source) ... Removed 22 stack frames]]> </failure> </testcase> </testsuite> {code}
    via by mjstrecker,
  • We have the project setup to display Junit test results by checking the setting : Publish JUnit test result report. The testsuite in the generated test result xml is ignored when displaying the test results for the project. Here is the situation, we run Selenium tests for IE and FF ... so the same tests run twice. Hudson correctly displays the fact the these tests ran twice, but it's impossible to know if the tests were IE or FF because the testsuite isn't displayed. Here are the two XML files : {code} <?xml version="1.0" encoding="UTF-8"?> <testsuite name="Firefox" failures="0" tests="5" time="55.688" errors="0"> <properties/> <testcase name="testBogusLogin" time="3.406" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLogin" time="2.469" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLoginBadPassword" time="3.375" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testMenu" time="32.86" classname="mypackage.selenium.TestMenu"/> </testsuite> {code} {code} <?xml version="1.0" encoding="UTF-8"?> <testsuite name="IE" failures="2" tests="5" time="60.047" errors="0"> <properties/> <testcase name="testBogusLogin" time="3.875" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testLogin" time="15.89" classname="mypackage.selenium.TestLoginPage"> <failure type="com.thoughtworks.selenium.SeleniumException" message="Timed out after 15000ms"> <![CDATA[com.thoughtworks.selenium.SeleniumException: Timed out after 15000ms at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91) at com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(DefaultSelenium.java:635) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.TestLoginPage.testLogin(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) ... Removed 7 stack frames]]> </failure> </testcase> <testcase name="testLoginBadPassword" time="3.843" classname="mypackage.selenium.TestLoginPage"/> <testcase name="testMenu" time="25.969" classname="mypackage.selenium.TestMenu"> <failure type="com.thoughtworks.selenium.SeleniumException" message="Timed out after 15000ms"> <![CDATA[com.thoughtworks.selenium.SeleniumException: Timed out after 15000ms at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91) at com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(DefaultSelenium.java:635) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.TestMenu.testMenu(Unknown Source) ... Removed 22 stack frames]]> </failure> </testcase> </testsuite> {code}
    via by mjstrecker,
  • Not able to run script in IE
    via by rajkumar agrawal,
  • Timed out after 30000ms
    via by Cees Bos,
  • Test not working in IE
    via by Sats,
  • [rc] Not choose Ok in pop-up message
    via by Jailton Jr,
  • Selenium is not working
    via by Jmusic,
  • Comment on revision r7556 in selenium
    via by codesite...@google.com,
    • com.thoughtworks.selenium.SeleniumException: Timed out after 15000ms at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91) at com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(DefaultSelenium.java:635) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.SeleniumTestNgBase.waitForPageToLoad(Unknown Source) at mypackage.selenium.TestLoginPage.testLogin(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,