TestNG Parametrisation – @Parameters & @Optional
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. reference – https://testng.org/doc/documentation-main.html#parameters In this post we will look into the testNG @Parameters Let’s see the code implementation…