【发布时间】:2020-05-10 11:22:42
【问题描述】:
我正在尝试使用“AND”条件为机器人框架(RIDE 工具,关键字驱动)中的多个变量设置套件变量,但不能。
以下是我的脚本:
Set Suite Variable ${username} AND
${password} AND
${URL} AND
${Browser}
我面临的错误:
变量语法“${username} AND”无效。
点子列表:
robotframework 3.1.2
[...]
selenium 3.8.1
如果我有任何遗漏,请告诉我。提前致谢!
【问题讨论】:
-
还要注意至少使用两个空格。现在你只有一个。
-
@laurent,您好,它成功了,但是 ${username} 已通过,现在它卡在 ${password} 中
-
设置套件变量@{username} ... AND ${pass} ... AND ${URL} ... AND ${Browser}
-
你看过Resource和Variable files吗?
标签: python robotframework