Robot Framework 中的判断 Run Keyword unless

Run Kryword unless :

$(var) set Variable 100

Run Kryword unless $(var)==0 log 不等于100

ELSE log 等于100










条件为“false”,log语句被执行。robotframework帮助的示例中,unless和if关键字是联合使用的。

输出结果为:‘不等于100’

你可能感兴趣的:(Robot Framework 中的判断 Run Keyword unless)