title: Create a batch file to invoke testng.xml to run selenium scripts
body: <p>I need help to create a <code>.bat</code> file to invoke <code>testng.xml</code> which has all the tests to run.According to this <a href="https://groups.google.com/forum/?fromgroups=#!topic/testng-users/MwHAox2g538" rel="nofollow">link</a>, I created the <code>.bat</code> file. Here is what I have written in it:  </p>
  
  <pre><code>java -cp "C:\Program Files\Selenium Execution Engine\lib\library\testng-5.8-jdk15.jar";"C:\POM_Newdemo\EF_Progression\bin\testscripts" org.testng.TestNG "C:\POM_Newdemo\EF_Progression\testng.xml"
  </code></pre>
  
  <p>where:</p>
  
  <ul>
  <li><code>-cp</code> : is class path</li>
  <li><code>C:\Program Files\Selenium Execution Engine\lib\library\testng-5.8-jdk15.jar</code> :  is the path of my testng jar file</li>
  <li><code>C:\POM_Newdemo\EF_Progression\bin\testscripts</code> : is the path of my .class files of my tests</li>
  <li><code>C:\POM_Newdemo\EF_Progression\testng.xml</code> : is the path of my <code>testng.xml</code> file</li>
  </ul>
  
  <p>It is throwing error as follows:   </p>
  
  <pre><code>[Parser] Running:
    C:\POM_Newdemo\EF_Progression\testng.xml
  
  
  Suite
  Total tests run: 0, Failures: 0, Skips: 0
  
  
  [ERROR]:
  Cannot find class in classpath: testscripts.Test_Demo
  </code></pre>
  
  <p>Please let me know how to resolve this error.</p>