*** Test Cases ***
testGetTime
@{time}= Get Time year month day hour min sec
${sDate}= Catenate SEPARATOR= @{time}[0] @{time}[1] @{time}[2]
${sTime}= Catenate SEPARATOR= @{time}[3] @{time}[4] @{time}[5]
${datetime}= Catenate SEPARATOR=_ ${sDate} ${sTime}
${saveName}= Catenate SEPARATOR=_ 测试日期时间拼接_AT ${datetime}
Set Global Variable ${saveName} ${saveName}
输出:
saveName=测试日期时间拼接_AT_20191024_195355
并设置为全局变量