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
Possibly your testng.jar file is not in the lib folder that C:\Workspace\projectname\lib.
C:\Workspace\projectname\lib
You should find testng.jar first in your computer and move it manually to C:\Workspace\projectname\lib. Then it will work