TestNG Parametrisation – dataProvider

TestNG provides a way to get the data from external sources like from excel/textfile/arrays which helps to prepare data driven framework in automation. @Parameters – pass parameters from the testNG.xml @dataProvider – Pass the parameters as a 2D array. In this post, we will look into dataProvider @DataProvider This is another way of passing 2 dimensional array…