在我的測試情況下,我想比較,如果如何比較在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