didacher
11 years agoOccasional Contributor
Ending a keyword execution at any point.
A keyword is implemented with a VBS function. That function calls other functions which creates a stack. I am wondering if it is possible to exit a keyword at any stack level without exiting function...
- 11 years agoRunner.Stop has parameter Stop Current Test Only.
If you have your keyword tests orginized within project and you run them successively (F5 - Run Project in menu), certain keyword tests can be skipped using Runner.Stop(true) or Stop Execution keyword statement with parameter set to true.
I don't know how to stop certain function (return to top caller?), but I think it's possible to use keyword tests as individual function wrappers and stop (skip) them instead.
Sorry if this is not helpful for you either.