Not sure what you are asking for.
It seems that you will have a complete solution on a big problem, you will not get that here.
Like I need help to create a rocket that take me to Mars and back, who to bild it, where to start etc.
My code is on the server. I am not sure how to run the build.xml from UNIX box. I guess build.xml will invoke the browser and tests and hence a new report will be there.
Yeah I am already using JENKINS for my regular builds. But as I understood after reading from net, jenkins Hudson plugin has automation only for HTML Recordings of Selenium. I have JAVA programs that run the test on a browser. If you have further info, can you please kindly share?
I was trying to run the selenium jar before compiling or running the tests. However on Running the build.xml via ant .....it gets stuck and doesnt move to compile. :
Output of Bash:
bash-3.2$ ant -f /files0/nlae_dev_atg/environment_build/scripts/envbuild/build-selenium.xml run-batch-test
Buildfile: /files0/nlae_dev_atg/environment_build/scripts/envbuild/build-selenium.xml
run:
[java] Loading EUNumberFormatProvider
[java] Loading EUDecimalFormatSymbols
[java] Aug 23, 2013 6:29:52 AM org.openqa.grid.selenium.GridLauncher main
[java] INFO: Launching a standalone server
[java] 06:29:52.606 INFO - Java: Sun Microsystems Inc. 20.4-b02
[java] 06:29:52.608 INFO - OS: Linux 2.6.18-348.el5 amd64
[java] 06:29:52.620 INFO - v2.26.0, with Core v2.26.0. Built from revision 18041
[java] 06:29:52.758 INFO - RemoteWebDriver instances should connect to: OpenX
[java] 06:29:52.760 INFO - Version Jetty/5.1.x
[java] 06:29:52.761 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
[java] 06:29:52.762 INFO - Started HttpContext[/selenium-server,/selenium-server]
[java] 06:29:52.762 INFO - Started HttpContext[/,/]
[java] 06:29:52.793 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@744a6cbf
[java] 06:29:52.793 INFO - Started HttpContext[/wd,/wd]
[java] 06:29:52.797 INFO - Started SocketListener on 0.0.0.0:4444
[java] 06:29:52.798 INFO - Started org.openqa.jetty.jetty.Server@29173ef
bash-3.2$ ant -f /files0/nlae_dev_atg/environment_build/scripts/envbuild/build-selenium.xml run-batch-test
Buildfile: /files0/nlae_dev_atg/environment_build/scripts/envbuild/build-selenium.xml
run:
[java] Loading EUNumberFormatProvider
[java] Loading EUDecimalFormatSymbols
[java] Aug 23, 2013 6:31:38 AM org.openqa.grid.selenium.GridLauncher main
[java] INFO: Launching a standalone server
[java] 06:31:39.072 INFO - Java: Sun Microsystems Inc. 20.4-b02
[java] 06:31:39.073 INFO - OS: Linux 2.6.18-348.el5 amd64
[java] 06:31:39.085 INFO - v2.26.0, with Core v2.26.0. Built from revision 18041
[java] 06:31:39.199 INFO - RemoteWebDriver instances should connect to: OpenX
[java] 06:31:39.200 INFO - Version Jetty/5.1.x
[java] 06:31:39.201 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
[java] 06:31:39.202 INFO - Started HttpContext[/selenium-server,/selenium-server]
[java] 06:31:39.202 INFO - Started HttpContext[/,/]
[java] 06:31:39.216 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@210a6ae2
[java] 06:31:39.217 INFO - Started HttpContext[/wd,/wd]
[java] 06:31:39.221 INFO - Started SocketListener on 0.0.0.0:4444
[java] 06:31:39.221 INFO - Started org.openqa.jetty.jetty.Server@29173ef
Cananybody help me on this:
How to run a jar file from build.xml so that the corresponding server is started and then it performs next steps?