robot framework使用Catenate关键字连接中间出现空格?

来源:互联网 发布:网络歌曲偷菜歌 编辑:程序博客网 时间:2024/05/22 08:13

经过学习查询,得到关于Catenate连接有三种:(现在进行列举)

${str1}=Catenatehelloworld
${str2}=CatenateSEPARATOR=---helloworld${str3}=CatenateSEPARATOR=helloworld

=>

${str1} ='Hello world'

           ${str2} ='Hello---world'

        ${str3} ='Helloworld'

如图:按第三种去写就会没有空格



阅读全文
0 0
原创粉丝点击