selenium:selenese

Full name:

org.codehaus.mojo:selenium-maven-plugin:2.2:selenese

Description:

Run a suite of HTML Selenese tests.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0-beta-2.

Required Parameters

Name Type Since Description
browser String 1.0-beta-2 The browser name to run; must be one of the standard valid browser names (and must start with a *), e.g. *firefox, *iexplore, *custom.
startURL URL 1.0-beta-2 The base URL on which the tests will be run, e.g. http://www.google.com. Note that only the hostname part of this URL will really be used.
suite File 1.0-beta-2 The suite file to run.

Optional Parameters

Name Type Since Description
multiWindow boolean 1.0-beta-2 True if the application under test should run in its own window, false if the AUT will run in an embedded iframe.
Default value is: false.
port int 1.0-beta-2 The port on which we'll run the Selenium Server.
Default value is: 4444.
results File 1.0-beta-2 The file to which we'll write out our test results.
skip boolean 1.0-beta-2 Allows the tests to be skipped.
Default value is: false.
slowResources boolean 1.0-beta-2 A debugging tool that slows down the Selenium Server. (Selenium developers only)
Default value is: false.
timeoutInSeconds int 1.0-beta-2 Amount of time to wait before we just kill the browser.
Default value is: 1800.

Parameter Details

browser:

The browser name to run; must be one of the standard valid browser names (and must start with a *), e.g. *firefox, *iexplore, *custom.
  • Type: java.lang.String
  • Since: 1.0-beta-2
  • Required: Yes

multiWindow:

True if the application under test should run in its own window, false if the AUT will run in an embedded iframe.
  • Type: boolean
  • Since: 1.0-beta-2
  • Required: No
  • Default: false

port:

The port on which we'll run the Selenium Server.
  • Type: int
  • Since: 1.0-beta-2
  • Required: No
  • Default: 4444

results:

The file to which we'll write out our test results.
  • Type: java.io.File
  • Since: 1.0-beta-2
  • Required: No

skip:

Allows the tests to be skipped.
  • Type: boolean
  • Since: 1.0-beta-2
  • Required: No
  • Expression: ${maven.test.skip}
  • Default: false

slowResources:

A debugging tool that slows down the Selenium Server. (Selenium developers only)
  • Type: boolean
  • Since: 1.0-beta-2
  • Required: No
  • Default: false

startURL:

The base URL on which the tests will be run, e.g. http://www.google.com. Note that only the hostname part of this URL will really be used.
  • Type: java.net.URL
  • Since: 1.0-beta-2
  • Required: Yes

suite:

The suite file to run.
  • Type: java.io.File
  • Since: 1.0-beta-2
  • Required: Yes

timeoutInSeconds:

Amount of time to wait before we just kill the browser.
  • Type: int
  • Since: 1.0-beta-2
  • Required: No
  • Default: 1800