Posted On: Apr 06, 2020
Parameterized testing is an exciting feature with the TestNG which lets you run the same test over and over again with different values. The values to the tests are passed as parameters in two different ways such as with testng.xml, and data providers.
The first way uses the testng.xml configuration file to define simple parameters and reference them in the source files.
In a second way, you can use the Data provider annotation to pass complex parameters.
Never Miss an Articles from us.