Home »
MCQs »
TestNG MCQs
After all test methods of the current class have been executed, the @____ method will be invoked
37. After all test methods of the current class have been executed, the @____ method will be invoked.
- AfterMethod
- AfterSuite
- AfterClass
- AfterTest
Answer: C) AfterClass
Explanation:
After all test methods of the current class have been executed, the @AfterClass method will be invoked.