Suppose we have individual test suite for different features/modules in TestNG, we can run multiple testNG test from a master suite xml file by calling the individual tests as shown below:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite name="MainTestSuite"> <suite-files> <suite-file path="suiteFeatureA.xml" /> <suite-file path="suiteFeatureB.xml" /> <suite-file path="suiteFeatureC.xml" /> <suite-file path="suiteFeatureD.xml" /> </suite-files> </suite>
No comments:
Post a Comment