天天看點

robot framework使用Catenate關鍵字連接配接中間出現空格?

經過學習查詢,得到關于Catenate連接配接有三種:(現在進行列舉)

${str1}= Catenate hello world
${str2}= Catenate SEPARATOR=--- hello world
${str3}= Catenate SEPARATOR= hello world

=>

${str1} ='Hello world'

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

        ${str3} ='Helloworld'

如圖:按第三種去寫就會沒有空格

繼續閱讀