[英]How do I use AND operator in Robot Framework
How do I use AND operator in Robot Framework Below code gives error as - > No keyword with name 'and' found.我如何在 Robot Framework 中使用 AND 运算符下面的代码给出错误为 - > 没有找到名称为“and”的关键字。
*** Test Cases ***
Purchase Items
Pre Condition
Login With Valid User
Run Keyword If '${price}' > '$29.99' Purchase Items greater than $30.00
... ELSE IF '${price}' < '$29.99' and '${price}' > '$20.00' Purchase Items less than $30.00
... ELSE IF '${price}' == '$29.99' Purchase Items less than $30.00
... ELSE Not Enough Amount to Purchase
END
Use only a single space before and after and
在and
前后只使用一个空格
... ELSE IF '${price}' < '$29.99' and '${price}' > '$20.00' Purchase Items less than $30.00
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.