Showing posts with label .bat command to execute testng.xml thru cmd. Show all posts
Showing posts with label .bat command to execute testng.xml thru cmd. Show all posts

Monday, May 26, 2014

What is the command used inside .bat file to run the testng.xml

open notepad and paste this command-
java -cp bin;jars/* org.testng.TestNG testng.xml

where jars is the folder inside your proj which has all the jars file.
and save this file as filename.bat
and keep this file in side your project.