Lau*_*iel 10
这是一个提议:
*** Settings ***
Library OperatingSystem
Library String
*** test cases ***
write_variable_in_file
${Username} = Generate Random String 1 abc
log to console ${Username}
run keyword if '${Username}' == 'a' write_variable_in_file ${Username}
*** Keywords ***
write_variable_in_file
[Arguments] ${variable}
Create File ${EXECDIR}/file_with_variable.txt ${variable}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10764 次 |
| 最近记录: |