目录
Foreach testcases and exclude tag
Review
We use yaml to config robot cases, but have no consider follows situation:
- If we have more than two cases
- Just want to run cases with given tag
Modify yaml
- change testcases into list
- Add new one case with different tag: CITEST
Foreach testcases and exclude tag
outputs
==============================================================================
Activate Variable
==============================================================================
Should Activate CITEST | PASS |
------------------------------------------------------------------------------
Activate Variable | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Yaml example
References
- Simple use yaml to config robot case
- Use RobotSettings
- Useful links
- Suite import library