This keyword was changed in Robot Framework 2.9 in many ways:
Collections library to BuiltIn.key=value syntax.*** Variables ***
&{std input tests} Typical Description=Lights out lab 2
... Shortest Alpha Description=P
... Shortest Numeric Description=9
... Max Alpha Description=abcdefghijklmnopqrstuvwx
... Max Numeric Description=123456789012345678901234*** Variables ***
&{std input tests} Typical Description=Lights out lab 2
... Shortest Alpha Description=P
... Shortest Numeric Description=9
... Max Alpha Description=abcdefghijklmnopqrstuvwx
... Max Numeric Description=123456789012345678901234*** Variables ***
&{std input tests} Typical Description = Lights out lab 2... Shortest Alpha Description = P
... Shortest Numeric Description = 9
... Max Alpha Description = abcdefghijklmnopqrstuvwx... Max Numeric Description = 123456789012345678901234*** Test Cases***
Loop On Dict
| | ${std input tests}= | Create Dictionary |
| | ... | Typical Description=Lights out lab 2 |
| | ... | Shortest Alpha Description=P |
| | ... | Shortest Numeric Description=9 |
| | ... | Max Alpha Description=abcdefghijklmnopqrstuvwx |
| | ... | Max Numeric Description=123456789012345678901234 |
| | ${tests}= | Get Dictionary Items | ${std input tests} |
| | : FOR | ${test type} | ${test value} | IN | @{tests} |
| | | Log | ${test type}:${test value} |
*** Test Cases***
Loop On Dict
| | ${std input tests}= | Create Dictionary |
| | ... | Typical Description | Lights out lab 2 |
| | ... | Shortest Alpha Description | P |
| | ... | Shortest Numeric Description | 9 |
| | ... | Max Alpha Description | abcdefghijklmnopqrstuvwx |
| | ... | Max Numeric Description | 123456789012345678901234 |
| | ${tests}= | Get Dictionary Items | ${std input tests} |
| | : FOR | ${test type} | ${test value} | IN | @{tests} |
| | | Log | ${test type}:${test value} |Ugh
Have you looked at variable files[1]? With variable files you can use any syntax supported by Python or YAML(with YAML, there might be some limitations). Of course, the bad side is that, then variable content is hidden in those files.
-Tatu
Send from my mobile
[1] http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#variable-files
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.