运行 关键字如果不在 Robot 框架中?
Run Keyword If not in Robot framework?
你好我想运行一个关键字如果一些布尔值是假的,我这样做是为了运行一个关键字如果布尔是真的但是我怎么能运行这个关键字如果布尔为假
Run Keyword If ${Bool}
使用Unless
.
Run Keyword Unless ${Bool}
备选方案 - 取反布尔值:
Run Keyword If not ${Bool}
你好我想运行一个关键字如果一些布尔值是假的,我这样做是为了运行一个关键字如果布尔是真的但是我怎么能运行这个关键字如果布尔为假
Run Keyword If ${Bool}
使用Unless
.
Run Keyword Unless ${Bool}
备选方案 - 取反布尔值:
Run Keyword If not ${Bool}