Comment #2 on issue 192 by pekka.klarck: "Repeat Keyword" BuiltIn keyword
http://code.google.com/p/robotframework/issues/detail?id=192

Few comments about the implementation:

1) In addition to giving the number of times to repeat the keyword as an integer, I
propose we support also following formats (ignoring case and spaces).

| Repeat Keyword | 2 times | Some Keyword |
| Repeat Keyword | 2 x | Some Keyword |

The former format is easiest to read and the latter is close to the old repeat syntax.


2) It should be possible to give the number of times a keyword is repeated as a variable. Since the count is an argument to "Repeat Keyword" this works automatically.

3) If the number of times to repeat a keyword is zero or negative, the actual keyword
should not be executed at all and Repeat Keyword itself should pass.

4) Repeat Keyword should perhaps automatically log something like "Executing round 2/42".

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to