1 意义:判断表达式返回的结果是否为true,true的话,断言成功,否则失败,停止执行本suite
2 Arguments:[ condition | msg=msg ]
Condition 表达式,与编程语言的表达式一样
Msg表达式为false的话,返回的错误信息
3 案例如下:
${a} set variable 1
${b} set variable 2
should be true
b
>
{b}>
b>{a} 33333333
should be true int(
b
)
>
i
n
t
(
{b})>int(
b)>int({a})
b
>
{b}>
b>{a}
log =============
should be true ${b}==1 false