Q. What is the purpose of @Test(enabled = false) in TestNG?
Solution:
@Test(enabled = false) prevents the annotated test method from executing.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
@Test(enabled = false) prevents the annotated test method from executing.
Strengthen Your Practice with our comprehensive question bank.