I am beginner for TestNG automation scripts when I run my testing.xml in eclipse its working good. But I am not able to run my scripts via command prompt since week and its giving me error as below can some one guide me how can I run my scripts via command prompt.
testing.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="TestBatch">
<suite-files>
<suite-file path="./com.automatics.data/com/automatics/data/temp/TV_API_Dev2.xml"/>
</suite-files>
</suite>
TV_API_Dev2.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="1" parallel="tests" verbose="1" name="EPO_API">
<test name="Tv_E2E">
<classes>
<class name="com.automatics.packages.testScripts.Tv_GCD/>
<class name="com.automatics.packages.testScripts.Tv_VAQ"/>
<class name="com.automatics.packages.testScripts.Tv_SM"/>
<class name="com.automatics.packages.testScripts.Tv_CUId"/>
<class name="com.automatics.packages.testScripts.Tv_SO"/>
</classes>
</test>
</suite>
Command prompt
java -cp "*H:\Automation\automation\Automation" org.testng.TestNG testng.xml