在我的测试情况下,我想比较,如果如何比较在Robot Framework的两个变量如果双引号存在字符串中
'Content-type "application/pdf" is not supported'
存在或不存在。
这个错误我得到:
Evaluating expression '"Content-type "application/pdf" is not supported" != ""' failed: SyntaxError: invalid syntax (, line 1)
我的关键字表达式为:
Run Keyword If "${failure_message}" != "${EMPTY}" My Click Element id=btn_import_cancel