Updates:
Summary: Possibility to exit for loops with `BuiltIn.Exit For Loop`
keyword and with custom exceptions
Status: Started
Owner: jussi.ao.malinen
Cc: pekka.klarck
Comment #6 on issue 502 by pekka.klarck: Possibility to exit for loops
with `BuiltIn.Exit For Loop` keyword and with custom exceptions
http://code.google.com/p/robotframework/issues/detail?id=502
We decided to name the new keyword `Exit For Loop` instead of `Break`
because the former is more clear to non-programmers. This new keyword also
works slightly differently than break in normal programming languages: you
can use it also in user keywords that the for loop uses and it will still
exit the loop.
The implementation is based on exceptions having special attribute
similarly as continuable exceptions and fatal errors have. The attribute is
`ROBOT_EXIT_FOR_LOOP` and it is possible to use it also with custom
keywords.
The new functionality was implemented, with tests, in r3899. Still needs
documentation, a little cleanup, and some tests for custom keywords.