Q. What is the purpose of @AfterClass in TestNG?
Solution:
@AfterClass runs teardown code once after all test methods in a class.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
@AfterClass runs teardown code once after all test methods in a class.
Strengthen Your Practice with our comprehensive question bank.