After the execution of all test cases belonging to a group, the @____ annotated method runs only once

41. After the execution of all test cases belonging to a group, the @____ annotated method runs only once.

  1. AfterTest
  2. AfterGroups
  3. AfterSuite
  4. AfterClass

Answer: B) AfterGroups

Explanation:

After the execution of all test cases belonging to a group, the @AfterGroups annotated method runs only once.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.