Robot frawork关键字使用报错原因
对比发现1或者${1}两种方式赋值输出的类型都为整形
>>> ${test1} set variable 'www'
>>> log ${test1}
>>> ${test2} set variable www
>>> log ${test2}
>>> ${type1} evaluate type(${test1})
>>> ${type2} evaluate type(${test2})
输出:
${test1} = 'www'
'www'
${test2} = www
www
${type1} =<type 'str'>
Evaluating expression 'type(www)' failed: NameError: name 'www' is not defined
不加单引号的字符串没有类型