An utility package for exposing Java-style properties from property-files as variables in Robot Framework
Project description
robotframework-propertyfile
An utility package for exposing Java-style properties from property-files as variables in Robot Framework
Usage
You need to download the file propertyfile.py
from here:
and make it available in your Robot Framework library search path
Then you can point your .robot file towards any properties file using:
| Settings | | | |
| Variables | propertyfile | path_to_your_propertyfile.prop | variable_prefix |
This will make sure, that all properties from the file path_to_your_propertyfile.prop
are available in your .robot file, prefixed with variable_prefix
followed by underscore. So, the following entry in property file:
http.proxyHost = 192.168.0.1
becomes ${variable_prefix_http_proxyHost}
.
All available environment variables are expanded!
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file RobotFramework-PropertyFile-0.0.1.tar.gz
.
File metadata
- Download URL: RobotFramework-PropertyFile-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471873aeec03d1315ca2f882197f75b367f9c5322376cfea27c8bd153008fc15 |
|
MD5 | 2dce28ac318dfffe2b4b0cf7ccc739cc |
|
BLAKE2b-256 | a5b54c6006814be63caea4cd23401ae6971cddc259f6844355930e1feb8a3fc0 |
File details
Details for the file RobotFramework_PropertyFile-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: RobotFramework_PropertyFile-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f0b690e721a52ef83006d1e78bec579aa86600f860607229bf29256be173fb |
|
MD5 | deb4f093ba3d2239e694e829b9571ed2 |
|
BLAKE2b-256 | ae50199fe45114a8941622ff87565480c28c0318b9077085ec26140170a14daa |