Robot Framework library for working with Excel documents, based on `openpyxl`. It provides keywords to allow opening, reading, writing, and saving Excel files within Robot Framework test automation. The current version is 2.0.1, with the latest release on June 18, 2020. The project appears to be in maintenance mode, with no recent development activity beyond the 2020 release.
pip install robotframework-excellibVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a new Excel document, write data to cells, save it, and then open an existing document to read its contents using the `robotframework-excellib` keywords.
Review calls to `Open Excel Document` and ensure the `keep_vba` argument is provided, e.g., `Open Excel Document filename.xlsx my_doc_id keep_vba=False`.
For Python 3 and `.xlsx` files, use `pip install robotframework-excellib`. For Python 2 and `.xls` files, you might need `robotframework-excellibrary` if it's still maintained for those specific requirements.
Ensure all Excel documents are closed using `Close Current Excel Document` or `Close All Excel Documents` after use, especially before attempting to recreate or reopen a document with the same `doc_id`. Use unique `doc_id`s for different documents or within different test cases if they are expected to be open concurrently.