Hi
Cédric,
It looks like the test successfully ran again, however instead of only rerunning the one failed instance provided by the data provider, it ran all instances again. So you've gotten the 1 test out of the suite to run, but we're still running all scenarios, even those that previously passed. Is this intended?
Also, from what I can tell, the parameters are now being included twice, once at the suite level, and once at the test level, even though the original XML file only included the parameters at the class level. I know the DTD may only recommend that parameters be included at the test level, and not the class level. Could this be causing the issue? Including it at the class level seems to be working otherwise.
Here's the failed xml file:
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Failed suite [suite]">
<parameter name="csvFile" value="com/automation/tests/orders/TC56.csv"/>
<parameter name="browser" value="chrome"/>
<test name="TC56_verifyOrder(failed)" preserve-order="true">
<parameter name="csvFile" value="
com/automation/tests/orders/TC56.csv "/>
<parameter name="browser" value="chrome"/>
<classes>
<class name="com.automation.tests.orders.TC56">
<methods>
<include name="setupNavigation"/>
<include name="closeDrivers"/>
<include name="login"/>
<include name="navigateToOrders"/>
<include name="cleanup"/>
<include name="DCorder" invocation-numbers="0"/>
<include name="setLoginProfile"/>
<include name="setupDriver"/>
</methods>
</class> <!-- com.automation.tests.orders.TC56 -->
</classes>
</test> <!-- TC56_verifyDiscontinueAndStikeOutActiveOrder(failed) -->
</suite> <!-- Failed suite [suite] -->
and the original:
<suite name="suite">
<test name="TC56">
<classes>
<parameter name="csvFile" value="com/automation/tests/orders/TC56.csv" />
<parameter name="browser" value="chrome" />
<class name="com.automation.tests.orders.TC56" />
</classes>
</test>
</suite>
Thanks
--
Chris