Skip to main content

String Formatter for Robot Framework

Project description

# StringFormat for Robot Framework

StringFormat is a string formatter for Robot Framework. This library is a python .format() wrapper.

## Usage

| | | | | |
—————— | ————– | ————- | —————————————— | —- | ——– |
* Settings * | | | | | |
Library | StringFormat | | | | |
* Test Cases * | | | | | |
Format Text | | | | | |
| ${url}= | Format String | https://api.domain.com/users/{0}/sites/{1} | paul | internal |
| Log To Console | ${url} | | | |

## Output

` https://api.domain.com/users/paul/sites/internal `

## Supported Format

StringFormat library utilizes python str.format method to construct formatted string. The format spec depends on what version of python this library being executed on. See the following resources for detail.

## License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

robotframework_stringformat-0.1.6-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 2 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