Revision: 6b96b0476462
Branch: default
Author: Pekka Klärck
Date: Thu Apr 17 11:45:07 2014 UTC
Log: BuiltIn/WUKS: Document, with example, that return value of
executed kw is returned.
Update issue 1677
Status: Done
Owner: pekka.klarck
Added the example. Also added a note that if the executed keyword passes,
its return value is returned.
http://code.google.com/p/robotframework/source/detail?r=6b96b0476462
Modified:
/src/robot/libraries/BuiltIn.py
=======================================
--- /src/robot/libraries/BuiltIn.py Thu Apr 17 07:55:07 2014 UTC
+++ /src/robot/libraries/BuiltIn.py Thu Apr 17 11:45:07 2014 UTC
@@ -1484,12 +1484,15 @@
Both `timeout` and `retry_interval` must be given in Robot
Framework's
time format (e.g. '1 minute', '2 min 3 s', '4.5').
+ If the executed keyword passes, returns its return value.
+
+ Examples:
+ | Wait Until Keyword Succeeds | 2 min | 5 sec | My keyword |
argument |
+ | ${result} = | Wait Until Keyword Succeeds | 30 s | 1 s | My
keyword |
+
Errors caused by invalid syntax, test or keyword timeouts, or fatal
exceptions are not caught by this keyword.
- Example:
- | Wait Until Keyword Succeeds | 2 min | 5 sec | My keyword | arg1
| arg2 |
-
Running the same keyword multiple times inside this keyword can
create
lots of output and considerably increase the size of the generated
output files. Starting from Robot Framework 2.7, it is possible to
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.