top of page

TestNG Tutorial

Parameterization In TestNG

What Is Parameterization In TestNG ?

Parameterization is a way of passing values to the test method in testNG. If we have to run our test script on different-different data sets or combinations for browsers and OS then we do not need to hardcode our test every time even one change can edit many automation scripts when use parameterization. It enables us to perform automation on different input values.

​ Parameterization can be achieved by two ways :
> Using TestNG Parameters
> Using TestNG Data-Providers

​ To learn more about parameterization, follow these links : TestNG Parameters and TestNG Data-Providers ​ ​

Refer next page TestNG Parameters
bottom of page