I\'m trying to run TestNG from command line, but it\'s giving me error. Can someone tell me where am I going wrong?
TestNG
java -cp C:/TestNG directory
Check that the lib folder contains testng-6.8.jar(or any other version) file because testng.xml even executes successfully without testng-6.8.jar (or any other version) with the jars that gets added when we add TestNG library.