Parameterization in TestNG

As we know we can not test application with just one set of data, we need to test software with different sets of data to ensure application quality. Thus from here Parameterization comes in the picture.  We need to pass multiple sets of data to the application at runtime, for this we need to parameterize our test scripts. This concept which we achieve by parameterization is called Data Driven Testing.

Type of Parameterization in TestNG

  1. Using @Parameters annotation and testng.xml file.
  2. Using @DataProvider annotation.

Next
TestNG
Home Page

Leave a comment

Design a site like this with WordPress.com
Get started