adspace
Answer Posted / Ishaan Pandey
Test data from Excel files can be read in Selenium using libraries like Apache POI or JXL (Javascript API for Excel).nFor example, with Apache POI:
1. Add the poi and poi-ooxml dependencies to your project.
2. Read the excel file using WorkbookFactory and XSSFWorkbook classes.
3. Access the data from the sheet and cells as needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers