Hi,
You can use WUKS with your own keywords, but you need to pass the
keyword to execute as a name only like
`BuiltIn().wait_until_keyword_succeeds("1 min", "3 sec", "Is
Configuration State Ready")`. I guess we could enhance WUKS to work
also with any callable, but at least in this case using WUKS is not a
good idea in general for various reasons:
1. WUKS creates lot of keywords internally which can increase
output.xml and log.html size considerably.
2. Your keyword "Is Configuration State Ready" can never fail. It
returns either True or False, but Robot uses exceptions to report
failures.
3. You can easily implement the same logic as WUKS does in Python
using a while loop and handling possible exceptions.
Cheers,
.peke
> --
> You received this message because you are subscribed to the Google Groups
> "robotframework-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
robotframework-u...@googlegroups.com.
> To post to this group, send email to
robotframe...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/robotframework-users.
> For more options, visit
https://groups.google.com/d/optout.
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org