2

I looked on Google and here on stackoverflow, but couldn't find it.

I know it is possible, to start the selenium standalone server with an Ant script.

I'm trying to do it now for a half of a day.

The only thing what the script should do is:

  • Start the selenium standalone sever
  • Go to 1 web URL in Firefox
  • shutdown
oers
  • 18,436
  • 13
  • 66
  • 75
Danny Gloudemans
  • 2,597
  • 7
  • 39
  • 57

1 Answers1

3

I used the following solution to start the selenium standalone server with Ant:

<target name="selenium">
    <exec executable="cmd">
        <arg value="/c"/>
        <arg value="java -jar ${selenium.standalone} -htmlSuite ${selenium.browser} ${selenium.url} ${selenium.testsuite} ${selenium.result}"/>
    </exec>
</target>
Danny Gloudemans
  • 2,597
  • 7
  • 39
  • 57