New issue report by DeonWu:
sometimes, we only want to check the length of list or dictionary. but not
found a suitable keyword to do it. so we used a adaptation solution like:
| Should be equal as number | ${list.__len__()} | 2 | Not found a pair of
unit |
may be collections library should provide a unify keyword for dictionary
and list. like:
| Items Count should be | ${list} | 2 | Not found a pair of unit |
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 by laukpe:
The BuiltIn library has 'Length Should Be' and 'Get Length' keywords that
can be used
also with lists and dictionaries. These kws weren't mentioned in the
Collections
library documentation but I added that info in r601. See:
http://robotframework.googlecode.com/svn/trunk/doc/libraries/Collections.html
Issue attribute updates:
Status: Done
Labels: -Type-Defect Type-Documentation Target-2.0.2