Robot Framework keyword library for CSV files
APACHE-2.0 License
CSVLibrary is a Robot Framework library for handling csv files.
More information about this library can be found in the Keyword Documentation.
pip install -U robotframework-csvlibrary
*.tar.gz
) for the library and its dependencies:
python setup.py install
Basic example:
*** Settings ***
Library Collections
Library CSVLibrary
*** Test Cases ***
Read csv file to a list example test
@{list}= read csv file to list data.csv
Log ${list[0]}
Log ${list[1]}
Read csv file to a dict example test
@{dict}= read csv file to associative data.csv
Log &{dict[0]}[first_name] &{dict[0]}[last_name]