Generate extent report based on number of rows in the dataprovider(excel) | Selenium Forum
ermohit.chawla Posted on 27/02/2022

Hi Ashish,

I have few questions for the current framework I am building:

1.) I have used excel sheet to read the data where my one test is run 20 times. I want to show these as seperate 20 test cases in extent report. Currently it is showing as the test cases appending under the same test case.

2.) The softassertion used is actually adding the errors from the previous test case. How can I ensure that a new instance of softassertion is initiated when a new row of dataprovider is picked up.