Before all test cases in a group are executed, the @____ annotation is run only once

40. Before all test cases in a group are executed, the @____ annotation is run only once.

  1. BeforeTest
  2. BeforeClass
  3. BeforeSuite
  4. BeforeGroups

Answer: D) BeforeGroups

Explanation:

Before all test cases in a group are executed, the @BeforeGroups annotation is run only once.

Comments and Discussions!

Load comments ↻






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