Please let me know how to run the testng through command line
When I run the following command
java org.testng.TestNG TestNG.xml
Getting error as below
Error: Could not find or load main class org.testng.TestNG
which means do we have to compile before running the test?