New answers tagged

0

you can use TestNG annotation @dataprovider (It will keep running your @test with different set of Test-Data). Please find the below code snippet: @DataProvider(name="empLogin") public Object[][] loginData() { Object[][] arrayObject = getExcelData("D:/sampledoc.xls","Sheet1"); return arrayObject; } ...


Top 50 recent answers are included