Multiple Tests with TestNG.XML
Submitted by Viewer on Fri, 10/17/2014 - 15:00TestNG provides an option to execute multiple tests in a single configuration file (testng.xml). It allows to divide tests into different parts and group them in a single tests. We can group all the tests related to database into one group, Regression tests in one group. And all the test cases related to Unit test cases into one group and so on..
TestNG makes it easy by following the below Syntax to add multiple tests in testng.xml.