[Robot Framework] 校验字符串中是否包含某个子字符串,校验同时满足两个条件中任意一个

${tWarningMessage} Run Keyword If ${tIfExist} AutoItLibrary.Win Get Text Generate Fee Data warning message ELSE Set Variable ""

${tIfDuplicateFee} Evaluate "Duplicate Fee Warning" in """${tWarningMessage}"""

${rCheckResult} Evaluate ${totalNumberNew}==${totalNumberOld} or ${totalNumberNew}>${totalNumberOld}

 

posted on 2019-01-03 11:25  张缤分  阅读(2643)  评论(0编辑  收藏  举报

导航