ExcelDataDriver
Introduction
ExcelDataDriver is a Excel Data-Driven Testing library for RobotFramework. The project is hosted on GitHub and downloads can be found from PyPI.
Inspired by: https://github.com/Snooz82/robotframework-datadriver
Keyword documentation
See keyword documentation for available keywords and more information about the library in general.
Installation
The recommended installation method is using pip:
pip install --upgrade robotframework-exceldatadriver
Manual download source code to your local computer and running following command to install using python:
python setup.py install --force -v
Directory Layout
- Examples/
A simple demonstration, with a web application and RF test suite
- docs/
Keyword documentation
- CoreRPAHive/
Python source code
- tests/
Python nose test scripts
Usage
To write tests with Robot Framework and ExcelDataDriver, ExcelDataDriver must be imported into your RF test suite.
Create Excel file by copy from template (download).
- Mandatory Columns:
[Status] For report test result Pass/Fail
[Log Message] Error message or any message after test done
[Screenshot] Screenshot (Support only 1 screenshot)
[Tags] Robot Tag
Test data Columns:
- User can add their own test data columns without limit
Example:
Username
Password
Create RF test suite
*** Setting ***
Library ExcelDataDriver ./test_data/BasicDemoData.xlsx capture_screenshot=Skip
Test Template Validate user data template
*** Test Cases ***
Verify valid user '${username}' ${None} ${None} ${None}
*** Keywords ***
Validate user data template
[Arguments] ${username} ${password} ${email}
Log ${username}
Log ${password}
Log ${email}
Should Be True '${password}' != '${None}'
Should Match Regexp ${email} [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}
Enhancement and release
Create update keyword documents
python -m robot.libdoc -f html ExcelDataDriver docs/ExcelDataDriver.html
Extended (In-progress)
Limitation
Eclipse plug-in RED
There are known issues if the Eclipse plug-in RED is used. Because the debugging Listener of this tool pre-calculates the number of test cases before the creation of test cases by the Data Driver. This leads to the situation that the RED listener throws exceptions because it is called for each test step but the RED GUI already stopped debugging so that the listener cannot send Information to the GUI.
This does not influence the execution in any way but produces a lot of unwanted exceptions in the Log.
Metadata
Release files for robotframework-exceldatadriver 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-exceldatadriver-1.2.6.tar.gz | 18.5 kB | Without provenance | Details for robotframework-exceldatadriver-1.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_exceldatadriver-1.2.6-py3-none-any.whl | Python 3 | none | any | Details for robotframework_exceldatadriver-1.2.6-py3-none-any.whl |
Total release size: 43.0 kB
Release files / robotframework-exceldatadriver-1.2.6.tar.gz
| Download URL | robotframework-exceldatadriver-1.2.6.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ae090e62316cc50e5f45c66202b3486d855857a8c4376e97728ad4d752de243
|
|
BLAKE2b-256 checksum How to use checksums |
5582413a1768dcfd55ebc88ae2e8d13cbf00c764ff0ac26152721aabd851310e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / robotframework_exceldatadriver-1.2.6-py3-none-any.whl
| Download URL | robotframework_exceldatadriver-1.2.6-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c88fc87a93cf250d726a19e4baab1fe604908fa50eb18556eab222e37f03a8a1
|
|
BLAKE2b-256 checksum How to use checksums |
9fb0a1043d8405a1deb787bbcdaf4bf2bfe7f4d559dcf439b853dcf1af9d1f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for robotframework-exceldatadriver 1.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.