Selenium Plugin Legacy - Macros¶
# EXECUTE_SELENIUM1 {bundlePath} WITH MAIN CLASS {mainClassName}¶
What ?
This macro will compile the selenium 1 test suite contained in the specified bundle and execute the specified test suite (main class) from the bundle
Underlying instructions :
LOAD {bundlePath} AS __temp_{%%rand1}.file
CONVERT __temp_{%%rand1}.file TO script.java(compile) AS __temp_{%%rand2}.compiled
CONVERT __temp_{%%rand2}.compiled TO script.java.selenium1(script) USING $({mainClassName}) AS __temp_{%%rand3}.selenium
EXECUTE execute WITH __temp_{%%rand3}.selenium AS __temp_{%%rand4}.result
ASSERT __temp_{%%rand4}.result IS success
> Input :
{bundlePath}
: The path to the selenium1 bundle to execute relative to the root of the repository.{mainClassName}
: The qualified name of the main class.
Example :
# EXECUTE_SELENIUM1 path/to/selenium1 WITH MAIN CLASS com.example.selenium.TestSuite |