1.

How To Exclude A Particular Test Method From A Test Case Execution?

Answer»

By adding the EXCLUDE TAG in the testng.xml

  1. <classes&GT;
  2. <class name="TestCaseName">
  3. <METHODS>
  4. <exclude name="TestMethodNameToExclude"/>
  5. </methods>
  6. </class>
  7. </classes>

By adding the exclude tag in the testng.xml



Discussion

No Comment Found