我正在尝试使用 Should Contain
我不明白为什么没有" "in'\r \r'
任何想法我缺少什么?
>>> x='\r \r'
>>> " " in x
True
Run Code Online (Sandbox Code Playgroud)
If you use " " as an argument in Robot, it will be three chars : quotes, space, quote. If you want to use only space, then you should use ${SPACE} variable :
Should Contain ${result} ${SPACE}
Run Code Online (Sandbox Code Playgroud)
See "handling spaces" section of the documentation.
| 归档时间: |
|
| 查看次数: |
1455 次 |
| 最近记录: |