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


From: [email protected] 
[mailto:[email protected]] On Behalf Of Raghavendra Pise
Sent: Friday, April 03, 2015 2:12 AM
To: [email protected]
Subject: Jenkins Job Setup - Test Script Execution using Selenium Web Driver 
and Testng pluin in Eclipse IDE


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

--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/033dfbc6-9af3-4da9-b164-c44d7d268758%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/033dfbc6-9af3-4da9-b164-c44d7d268758%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E519E79%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to