Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. After that you need to configure your project. Select "Create Selenium RC instance" in project build environment. "Host" and "Port" fields indicate Selenium manager instance. "Choose operating system" field indicates the type of operating system. Only Windows and Linux are available. "Browser" field indicates the type of browser which you need for your tests. For example, iexploreor or firefox. You may add other browsers to your settings.xml file. After that you may use them in SeleniumRC plugin. In your build scripts you should use variable called "selenium". Example

4. Run your build. Plugin will send browser and OS to Selenium manager. Manager will find node with these browser and OS. After that manager will connect to specified node.

For Windows nodes: manager will open RDP session to selected node. In this session manager will start Remote agent. Agent will start Selenium server using this command:

Wiki Markup
"java \-jar selenium-server.jar \-browserSideLog \-log selenium.log \-multiwindow \-port args\[1\] \-firefoxProfileTemplate args\[2\]", where args\[2\] = "template" by default.

For Linux nodes: manager will open SSH session to selected node. In this session manager will start Remote agent. Agent will start Xvfb and export DISPLAY variable. After that agent will start Selenium server using this command:

Wiki Markup
"java \-jar selenium-server.jar \-browserSideLog \-log selenium.log \-multiwindow \-port args\[1\] \-firefoxProfileTemplate args\[2\]", where args\[2\] = "template" by default.

5. As the result you will get a Selenium server instance url or message "Connection failed". Example Image Added

or Image Added

Changelog

Version 1.0 (March 1, 2011)

...