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
Hashes for RobotFramework-PropertyFile-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471873aeec03d1315ca2f882197f75b367f9c5322376cfea27c8bd153008fc15 |
|
MD5 | 2dce28ac318dfffe2b4b0cf7ccc739cc |
|
BLAKE2b-256 | a5b54c6006814be63caea4cd23401ae6971cddc259f6844355930e1feb8a3fc0 |
Hashes for RobotFramework_PropertyFile-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f0b690e721a52ef83006d1e78bec579aa86600f860607229bf29256be173fb |
|
MD5 | deb4f093ba3d2239e694e829b9571ed2 |
|
BLAKE2b-256 | ae50199fe45114a8941622ff87565480c28c0318b9077085ec26140170a14daa |