'Returns a value from the given ``dictionary`` based on the given ``key``.
If the given ``key`` cannot be found from the ``dictionary``, this
keyword fails.
The given dictionary is never altered by this keyword.
Example:
| ${value} = | Get From Dictionary | ${D3} | b |
| ${value} = 2'

def get_from_dictionary(self, dictionary, key):

    try:
        return dictionary[key]
    except KeyError:
        raise RuntimeError(("Dictionary    does    not    contain    key    '%s'." % key))
