周二积点日常任务-6
问题:请教个问题,如何使用 testng.xml 实现多个测试用例的连续执行?XML中类名带上包名 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="3" name="Suite" parallel="tests">
<test name="ie">
<classes>
<class name="test.script.Dchrome1"/>
<class name="test.script.Dchrome2"/>
<class name="test.script.Dchrome3"/>
</classes>
</test> <!-- Test -->
</suite> <!-- Suite --> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="3" name="Suite" parallel="tests">
<test name="ie">
<classes>
<class name="test.script.Dchrome1"/>
<class name="test.script.Dchrome2"/>
<class name="test.script.Dchrome3"/>
</classes>
</test> <!-- Test -->
</suite> <!-- Suite --> <suite name="TestNGSutie">
<test name="test123">
<classes>
<class name="com.test.testScript.TestHomePage"/>
<class name="com.test.testScript.TestLoginPage"/>
</classes>
</test>
</suite>
页:
[1]