Skip to main content
https://travis-ci.org/quintagroup/quintagroup.robotframework.utils.png?branch=master

Quintagroup robotframework utils

Data file parser

Datafile library provides more convenient way to save some of your test data than robotframework variables tables do.

For example you have a file ‘users.rst’ where you save users accounts information:

**Accounts on site**

=========  ====  ========  =================
users      id    password  email
=========  ====  ========  =================
admin      Eric  passwr    eric@example.com
manager    Jonh  passwr    jonh@example.com
publisher  Olga  passwr    olga@example.com
reader     Jane  passwr    _table_:
\                          work; jane@work.com|
\                          pesonal; jane@pesonal.com
=========  ====  ========  =================

and in test case you can parse this file and access its data in the following manner:

*** Settings ***
Library         quintagroup.robotframework.datafile.rst

*** Test Cases ***
Attribute alike access
    ${users}=  Read tables from file  ${CURDIR}/users.rst
    Should Be Equal  ${users.admin.id}  Eric
    Should Be Equal  ${users.manager.email}  jonh@example.com
    Should Be Equal  ${users.reader.id}  Jane
    Should Be Equal As String  ${users.reader.email}  [['work', 'jane@work.com'], ['pesonal', 'jane@pesonal.com']]
    Should Be Equal As String  ${users.reader.email}[0]  ['work', 'jane@work.com']

Changelog

1.0 (2013-12-16)

  • Initial release

Metadata

Release files for quintagroup.robotframework.utils 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quintagroup.robotframework.utils 1.0
File Size Uploaded
quintagroup.robotframework.utils-1.0.zip 23.5 kB Details

Release files / quintagroup.robotframework.utils-1.0.zip

Download URL quintagroup.robotframework.utils-1.0.zip
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2c4740c20f7fa5b578e6fbec4f73c0029b0f3d90553c5dd7256f7b9bc8b3fbd3
BLAKE2b-256 checksum
How to use checksums
e705f2ccd3112fa724564c2a967c656b136df1a533385d67b45732abf33c5a8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page