Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 496 by [email protected]: New keyword PASS
http://code.google.com/p/robotframework/issues/detail?id=496

I would like to have a keyword PASS, similar to BuiltIn.Fail.

For example to handle situations where I wait until a certain item occurs,
I can implement a keyword containing a FOR loop, checking the expected
item; when it occurs, call FAIL, so that the loop is aborted. Then call
this keyword with RunKeywordAndIgnoreError.

One problem with this construction is that the log contains an exception
for an errorfree situation. Everyone who reads the log has to understand
that all is correct.

Besides that, sometimes I have several kinds of expected item, which
require slightly different handling. That all can be implemented breaking
the loop via FAIL. But it sometimes makes constructions complicated.

If implementing a PASS keyword is not too much effort, I want to request
that. Thank you.


--
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