When I run Test NG test using testng.xml, it runs fine but if i run testng.xml using ant (Build.xml), it gives an error Cannot fine class in classpath
Testng.xml:-
?xml version="1.0" encoding="UTF-8"?>
Build.xml:-
<xmlfileset dir="." includes="testng.xml"/>