Dataprovider: Excel reporting using selenium webdriver.
Class Name:- ExcelReporter.Java public class ExcelReporter { private static XSSFWorkbook workbook = null; private static XSSFSheet sheet = null; private static XSSFRow row = null; /* * this method creates the header for reporter */ static void createReportHeader(String testcaseSheetName) { workbook = new XSSFWorkbook(); sheet = workbook.createSheet(testcaseSheetName); row = sheet.createRow(0); // row.createCell(0).setCellValue("SNo"); row.createCell(0).setCellValue("Step No"); row.createCell(1).setCellValue("Description"); row.createCell(2).setCellValue("Status"); } static void flushWorkbook(String testCaseName) throws IOException { FileOutputStream fos = new FileOutputStream(new File(System.getProperty("user.dir")+"\\report\\"+testCaseName+".xlsx")); work...