Apache POI Data-Driven framework

Apache Poor Obfuscation Implementation (POI) is a set of Java-based libraries used to manipulate Microsoft Excel documents, such as the .xls and .xlsx file formats. It is an extensive API used to automate Selenium Data-Driven tests that lets you create, modify, read, and write Excel data. Unlike JXL API, it supports both Binary and SpreadsheetML workbooks. Configuring JXL API is easier compared to Apache POI. However, Apache POI has as many features to work with modern Microsoft products. Obviously, the test performance with the .xlsx file will be slower compared to the .xls file in Apache POI.

A dependency of Apache POI is the xmlbeans library, which has to be added in the build path before executing tests. Another ...

Get Selenium Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.