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.
Loading...
Related Quiz
- What is the primary advantage of integrating Appium with TestNG?
- To run Appium tests on AWS Device Farm, you need to package your test scripts and app binaries into a _____.
- What are the factors that can affect the accuracy of testing results when using emulators or simulators?
- Explain how you can handle a confirmation alert with "OK" and "Cancel" buttons in Appium.
- How does a test case management tool help in tracking the execution of test cases with Appium?