Reputation: 443
for example, if I run the testng.xml and it contains multiple test suites
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Master Suite">
<suite-files>
<suite-file path="test_1.xml"></suite-file>
<suite-file path="test_2.xml"></suite-file>
</suite-files>
</suite>
after, I checked reportng report, it did not display both test suites report but only the last one. How to avoid overwriting previous test report?
please help
Upvotes: 0
Views: 494
Reputation: 11
dont add listeners in suite files add those in ur testng.xml
this will solve ur issue.
Upvotes: 0