TestNG's _____ allows you to run test methods with various sets of data.
- @DataProvider
- @DataSet
- @DataSupplier
- @TestData
TestNG's @DataProvider annotation allows you to run test methods with various sets of data. It is particularly useful for parameterized testing, where the same test logic can be executed with different input values.
Loading...
Related Quiz
- Can you use Appium Inspector for both Android and iOS app testing? If yes, how?
- Explain the relationship between Page Classes, Test Classes, and WebDriver instances in a Page Object Model (POM) framework.
- What is the primary difference between testing a native mobile app and a mobile web application using Appium?
- You are testing a mobile app that displays a pop-up when the user enters incorrect login credentials. How would you automate the process of dismissing the alert and reattempting the login?
- How does Appium's open-source nature differ from proprietary mobile testing tools?