Skip to content
Discussion options

You must be logged in to vote

@d-biehl is right that Robot Framework doesn't support this yet. Here's where that's documented, where it's being tracked, and what works today.

Why it fails: for ${x: Type} (user keyword [Arguments], VAR, FOR, assignments), RF looks the name up in a fixed table of built-in types (str, int, list, Literal, Any, ...) and raises Unrecognized type for anything else (typeinfo.py table, check). Library ROBOT_LIBRARY_CONVERTERS aren't consulted there. The User Guide states that custom converters cannot be used with variable type conversion, and user keyword arguments follow the same rules. RobotCode just shows RF's own error.

The request is tracked in robotframework#5783 (open). The broader #4944 …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by maksym-silenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants