method dependency in testng.xml
问题 I am trying to add method dependency in testng.xml, but this does not seem to work. could someone suggest, what am i missing here. <suite name="Test Suite for End To End"> <test name="AUT_E2E_01"> <parameter name="browser" value="Chrome" /> <classes> <class name="com.myunit.regressiontests"> <methods> <include name="AutTC03" /> <include name="AutTC11" dependsOnMethods="AutTC03" /> </methods> </class> </classes> </test> </suite> 回答1: Attribute dependsOnMethods is not allowed there (see TestNG