Java Excel API

JXL API) allows users to read, write, create, and modify sheets in an Excel (.xls) workbook at runtime.

It doesn't support .xlsx format.

These documents hold the extension .xls.

[2] Java Excel API is widely used with Selenium.

Sample code to write to an Excel file might look like as follows: [3]