Dear All,
We are using Eclipse IDE and Selenium Web driver for test automation project and we have test cases written in Java.
The test execution is happening through 'Testng Plugin' in Eclipse IDE and we have installed it.
We can able to run testng xml from Eclipse IDE and it will trigger 'testng xml' file and its working fine.
I would like to know whether we can able to trigger this xml through Windows Batch command in Jenkins Job.
Please share your opinion and kindly let me know if you need more clarification
Thanks,
Raghav
The only way I know how to do this is to have Eclipse create an ANT build.xml file. Look under File->Export. Then I use these commands. The first one builds the tests the second runs them.
call "C:\apache-ant-1.9.4\bin\ant.bat" -file build.xml build
call "C:\apache-ant-1.9.4\bin\ant.bat" -file build.xml Suite1Runner
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/033dfbc6-9af3-4da9-b164-c44d7d268758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I can’t help with any of these issues as I don’t know how the build.xml works. Just how to use it when eclipse creates it.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cab5fcb5-663a-4407-8913-5e5430c6da21%40googlegroups.com.