Path where "Jars" are stored in your local machine is not configured correctly.
it should point out the exact path where "Jars" are available on your machine
[attachment=0:1lll4hyx]Testng.png[/attachment:1lll4hyx]
But the path mentioned is correct. i have placed jars in the same path..
Please refer this attachment
Can you once verify whether "ANT" is succesfully installed or not in "Environment variables"?
I have compared with the videos shown.. it contains all jar files.
Jars files copied from "download code" only.
Can you confirm if below "Run" is correct from build.xml?
or do i need to include "include_name = project.class" name as well ?
<!-- run -->
<target name="run" depends="compile">
<testng classpath="${test.classpath}:${test.dest}" suitename="testing_testng">
<xmlfileset dir="${ws.home}" includes="testng.xml"/>
</testng>
<!--
<testng classpath="${test.classpath}:${test.dest}" groups="fast">
<classfileset dir="${test.dest}" includes="example1/*.class"/>
</testng>
-->
</target>
if both build.xml & testng.xml are not in same path, please make sure that complete path of testng.xml is entered in build.xml file
[attachment=0:2pc8zfjb]testngxml.png[/attachment:2pc8zfjb]
@ashish come on skype at qtpselenium1 right now we will fix the error there.
My id is: ashish.govil19
Issue is fixed.. i replaced below under "run" target:
<xmlfileset dir="C:\Selenium\TestNG_xml"
Before it was:
<xmlfileset dir="${ws.home}" includes="testng.xml"/>