【发布时间】:2017-06-08 20:47:44
【问题描述】:
我想在 Robot Framework 中使用 If-Condition 和多个操作
${x} Set Variable 5
Run Keyword If ${x} == 5
... ${Test1} = Set Variable MyName
... ${Test2} = Set Variable MyLastName
... Else
... ${Test1} = Set Variable MyAddress
... ${Test2} = Set Variable MyTelephone
但它不起作用 错误显示失败:未找到变量“${Test1}”。 能否请您告诉我有关使用多个操作的 IF 条件
【问题讨论】:
标签: python-2.7 testing automated-tests robotframework