Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2180

SeleniumTestCase assumes that Selenium Server runs on the default port

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3.7
    • Fix Version/s: 5.4
    • Component/s: tapestry-test
    • Labels:
      None

      Description

      SeleniumTestCase always assumes that the selenium server is running on the default port, even 'though it can be modified via a system property ("selenium.port").

      When that system property is set (either intentionally or accidentally), then the selenium server is started correctly, but the command processor fails to connect to it.

      The solution is simple. Replace this statement:

      CommandProcessor httpCommandProcessor = new HttpCommandProcessor("localhost",
      RemoteControlConfiguration.DEFAULT_PORT, browserStartCommand, baseURL);

      with this:

      CommandProcessor httpCommandProcessor = new HttpCommandProcessor("localhost",
      seleniumServer.getPort(), browserStartCommand, baseURL);

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              jsauer Joachim Sauer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: