Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 996 by [email protected]: Could RF provide a keyword like "break"
or "return"
http://code.google.com/p/robotframework/issues/detail?id=996
Dear owner,
Would you pls give some comments on this?
When I'm writing RF test case and my user keyword, I wonder if a keyword
like "break" or "return" existed, that when a contion reached, I could use
this "break", so that the rest of the user keyword under the
statement "break" would no longer be executed.
e.g. sayHello keyword below has an argument ${name}, if the name is jack,
then I shall not say hello to him, and just stop the keyword execution here
by "break".
sayHello | [Arguments] | ${name}
| run keyword if | '${name}' == 'jack' | "break"
| log | hello
Regards.