You are on page 1of 1

Multiple Batch

Create multiple classes in java project followed by methods in each class

Save and run

Click on project and click refresh

Test out will be generated

From 2nd line of verbose copy customsuite xml file

Copy customsuite xml file from my computer path

Open in text editor

Paste in current project, it appears after test out

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Default suite">
<suite-files>
<suite-file path ="./testng-customsuite.xml"/>
<suite-file path ="./testng-suite.xml"/>
</suite-files>

<suite-files>
<suite-file path ="./Functional Test.xml"/>
</suite-files>
</suite> <!-- Default suite -->

You might also like