Hi, In your ant file you have to specify the path of your testng.xml file in the testng tag.
There must be a similiar code fragment in your ant file as below in order to run TestNG based tests. Test mechanism needs this declaration to find testng.xml. You have to fill the <xmlfileset dir= property correctly. | <testng outputdir="output_directory_of_test_results"> | ..... | ..... | ...... | <xmlfileset dir="*****PATH OF testng.xml***" includes="testng.xml"/> | </testng> You can find an example of testng.xml below. | <!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" > | <suite name="Tester" verbose="2" parallel="false"> | <test name="Test Intact"> | <classes> | <class name="TestIntact"/> | </classes> | </test> | </suite> | TestIntact is the class name which you write your tests. Best Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098099#4098099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098099 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user