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