-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Many keywords in libraries distributed with Robot Framework accept optional flag-like arguments that are defined like option=False. How to enable such option depends slightly on the library. To make the situation more consistent, we have decided to use implement a generic utility function that all libraries can use that behaves like this:
- With non-string values, just return results of
bool(value). - Consider empty string and strings
falseandno(case-insensitively) to beFalseand other stringsTrue.
All libraries using the new utility will also need a generic documentation section explaining the usage.
Libraries to go through:
- BuiltIn
- Collections
- DateTime
- Dialogs
- OperatingSystem
- Process
- Screenshot
- String
- Telnet
- XML
Reactions are currently unavailable