【RF库Collections测试】Dictionary Should Contain Value

Name:
Dictionary Should Contain Value
Source:
Collections <test library>
Arguments:
[ dictionary | value | msg=None ]
Fails if `value` is not found from `dictionary`.
See `List Should Contain Value` for an explanation of `msg`.
The given dictionary is never altered by this keyword.

场景1:

场景2:打印默认的错误信息

场景3:msg=${D1} does not contain value 23!!

原文地址:https://www.cnblogs.com/apple2016/p/7045900.html