Home »
MCQs »
TestNG MCQs
By which of the following way(s) can the test cases be disabled in TestNG?
29. By which of the following way(s) can the test cases be disabled in TestNG?
- @Test annotations allow you to disable test cases.
- XML files can be edited to disable test cases.
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
By the following ways the test cases can be disabled in TestNG -
- @Test annotations allow you to disable test cases.
- XML files can be edited to disable test cases.