Skip to main content

CSV library for Robot Framework

Project description

Build Status Build Status

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

  1. Make sure you have Robot Framework installed.
  2. Download source distributions (*.tar.gz) for the library and its dependencies:
  3. Extract each source distribution to a temporary location.
  4. 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

robotframework-csvlibrary-0.0.5.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

robotframework_csvlibrary-0.0.5-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page