字符串比较
Text Edit:
1 | For001 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf001 |
注意:
1.变量${n}值为字符时,在判断条件中其需要加单引号或双引号
2.在判断条件中,与变量${n}对比的字符常量也需要加单引号或双引号
数字比较
Text Edit:
1 | RunKeywordIf002 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf002 |
布尔类型比较
Text Edit:
1 | RunKeywordIf003 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf003 |
判断是否为列表中的元素
Text Edit:
1 | RunKeywordIf004 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf004 |
两个列表相比较
Text Edit:
1 | RunKeywordIf005 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf005 |
两个列表中的元素相比较
Text Edit:
1 | RunKeywordIf006 |
log:
1 | Starting test: TestProject.ProcessControl.RunKeywordIf006 |