CSV library for Robot Framework
Project description
Robot Framework CSVLibrary
Introduction
CSVLibrary is a Robot Framework library for handling csv files.
More information about this library can be found in the Keyword Documentation.
Installation
Using pip
pip install -U robotframework-csvlibrary
Manual installation
- Make sure you have Robot Framework installed.
- Download source distributions (
*.tar.gz
) for the library and its dependencies: - Extract each source distribution to a temporary location.
- Go each created directory from the command line and install each project using:
python setup.py install
Example
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]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for robotframework-csvlibrary-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef5755e25fbcb7cdbdecee32e60d182412434bebe6ecbf80b56d3bbf69133044 |
|
MD5 | e1e69e841d279593a5965e3dcd6ce445 |
|
BLAKE2b-256 | 2e0c00a8d7c2c74ba397850d374cc3ca6c3c31310c7e13a8a3cb10f66fd289ea |
Close
Hashes for robotframework_csvlibrary-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ce534d9be2a24065e7b8529ef75cfa266bcd6798a0ae598bc76090d5233aef |
|
MD5 | b9d1db2003037db45190af7f35723cdc |
|
BLAKE2b-256 | 7b0e4cc86690b986c5d1ebe911495e55c3f6fd1a1ba162ddd584648ca18a2ef3 |