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

New issue 174 by c.martin.taylor: "Pass" keyword in BuiltIn Library
http://code.google.com/p/robotframework/issues/detail?id=174

The "Fail" keyword in the BuiltIn Library will fail a test immediately,
preventing execution of any further steps in the keyword in which it is
called or any higher-level keywords in the call stack.

I'd like an equivalent way to do "early termination" of a test, but with a
"PASS" result.  If I called this new "Pass" keyword I would expect the
current test to pass and for it to prevent execution of any further steps
in the keyword in which it is called or any higher-level keywords in the
call stack.

My plan for such a keyword is to implement a "Cancel From Here" keyword
that could be optionally called at various points in my installer tests.
That keyword would click a "Cancel" button instead of the normal "Next"
button and then deal with any confirmation dialogs that may appear.  After
such a cancellation, all further normal steps in the test need to be skipped.


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