11.01 - Resources

configuration.selenium

Category-Name: configuration.selenium

What: 'configuration.selenium' is the configuration for the Selenium Server used by the ('launch' 'configuration.selenium') command.

Here are the most usefull parameters:

    • squashtest.ta.selenium:(mandatory) The value doesn't matter.

    • squashtest.ta.selenium.port: if you don't use the default 4444 port.

    • squashtest.ta.selenium.probe.interval: how many milliseconds between two queries to check if the Selenium Server is online

    • squashtest.ta.selenium.probe.attempts: how many check queries before deciding that the server startup failed and putting the launch command in error

script.html.selenium

Category-Name: script.html.selenium

What: 'script.html.selenium' is the category of a resource that is a Selenium 1 test "selenese". This is basically a bundle.

script.java.selenium1

Category-Name: script.java.selenium1

What: 'script.java.selenium1' is the category of a resource that is a Selenium 1 test written in the java language. This is basically a bundle containing the test code compiled from its sources and the associated resources. It may be used by way of the (' execute' 'script.java.selenium1') command.

Here are the supported parameters:

    • mainpath: as in the bundle resource, it defines the path to the main file from the base of the bundle (the base directory of your selenium tests, see the converters section for details).

script.java.selenium2

Category-Name: script.java.selenium2

What: 'script.java.selenium2' is the category of a resource that is a Selenium 2 test written in the java language. This is basically a bundle containing the test code compiled from its sources and the associated resources. It may be used by way of the ('execute' 'script.java.selenium2') command.

Here are the supported parameters:

    • mainpath: as in the bundle resource, it defines the path to the main file from the base of the bundle (the base directory of your selenium tests, see the converters section for details).

result.selenium

Category-Name: result.selenium

What: result.selenium is the category of a resource that holds the result of a Selenium test execution. It defines a Selenium execution status (success / failure), and in case of failure an attached failure report (an HTML file that follows the surefire format). This resource may be used by a specialized success assertion (see assertion section).