I have a tricky question again and I hope you have a solution for me again.
Currently I have 2 testng.xml (testng1.xml and testng2.xml)
in testng1.xml
---------------
...
<suite name="Firefox Browser" verbose="1">
<test name="FF">
<parameter name="browserType" value="Firefox" />
<classes>
<class name="demo.Test01" />
<class name="demo.Test02" />
</classes>
</test>
</suite>
in testng2.xml
---------------
...
<suite name="Chrome Browser" verbose="1">
<test name="CH">
<parameter name="browserType" value="Chrome" />
<classes>
<class name="demo.Test01" />
<class name="demo.Test02" />
</classes>
</test>
</suite>
Okay,because of another issue (ATU report issue) I cannot combine these 2 testng files as 1 file (testng.xml) together, e.g.
testng.xml
----------
...
<suite name="Testsuite" verbose="1">
<test name="FF">
<parameter name="browserType" value="Firefox" />
<classes>
<class name="demo.Test01" />
<class name="demo.Test02" />
</classes>
</test>
<test name="CH">
<parameter name="browserType" value="Chrome" />
<classes>
<class name="demo.Test01" />
<class name="demo.Test02" />
</classes>
</test>
</suite>
Question: Ist there a way how to define an xml file, e.g. allTestng.xml where I can run testng1.xml and testng2.xml ?
Important: testng1.xml should start and finish before testng2.xml can start.