TestNG's _____ annotation is used to set up test data or resources that are shared across multiple test methods.

  • @BeforeClass
  • @BeforeTest
  • @DataProvider
  • @Suite
TestNG's @DataProvider annotation is used to set up test data or resources shared across multiple test methods. It helps in parameterizing tests and making them more versatile.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *