我无法使用robotframework运行代码,因为没有名为';从字典';发现错误

我无法使用robotframework运行代码,因为没有名为';从字典';发现错误,robotframework,Robotframework,控制台中出现错误“未找到名为“get from dictionary”的关键字” 我还添加了名为RobtoFramework DictKeyAllPath的python解释器,但问题尚未解决您需要导入集合机器人框架库,它提供了此关键字 ${contentTypeValue} = get from dictionary ${response.headers} Content-Type should be equal ${contentTypeValue} text/html; char

控制台中出现错误“未找到名为“get from dictionary”的关键字”


我还添加了名为RobtoFramework DictKeyAllPath的python解释器,但问题尚未解决

您需要导入
集合
机器人框架库,它提供了此关键字

${contentTypeValue} =  get from dictionary  ${response.headers}   Content-Type
should be equal  ${contentTypeValue}  text/html; charset=utf-8