Updates:
        Status: WontFix

Comment #1 on issue 996 by pekka.klarck: Could RF provide a keyword like "break" or "return"
http://code.google.com/p/robotframework/issues/detail?id=996

We don't think having conditional logic in test data is generally a good idea. There are some cases where that is needed, but the already existing Run Keyword If and other similar keywords can already be used for that. For example, your example could be written like this instead:

sayHello | [Arguments] | ${name}
 | run keyword if | '${name}' != 'jack' | log | hello |

Notice that there is Exit For Loop for breaking out from a for loops (issue 502) and we may add Pass Test or something similar to exit the whole test (issue 174) later.

Reply via email to