skip to navigation
skip to content

robotframework-stringformat 0.1.7

String Formatter 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

 
File Type Py Version Uploaded on Size
robotframework_stringformat-0.1.7-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-10-13 4KB