Webdriver - Reset Safari
作者: Max.Bai
时间: 2015/01
TestNG - xml include other suite xml file
We can create one xml to include other suite xml file and run it.
How to include other xml file in one xml file?
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Run All Xml Suite Files" >
<listeners>
<listener class-name="org.uncommons.reportng.HTMLReporter" />
<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
</listeners>
<suite-files>
<suite-file path="./Suite1.xml" />
<suite-file path="./Suite2.xml" />
</suite-files>
</suite>
本文介绍如何在TestNG XML测试配置文件中包含其他测试套件文件,实现自动化测试的模块化和复用。
736

被折叠的 条评论
为什么被折叠?



