Wednesday, 27 April 2016

Exiting Test or Action Execution in UFT

UFT offers several statements to exit code execution. Use this, which best suits your needs.
ExitTest – Exits test completely.
ExitTestIteration – Exits test (global) iteration and proceeds to next test iteration (if exists).
ExitAction – Exits action. In case of top-level action, execution will proceed to next test iteration (if exists). In case of called action, execution flow will return to next line of calling action.
ExitActionIteration – Exits action (local) iteration and proceeds to next action iteration (if exists and is enabled in Action Call Properties).

Following statements are obsolete, do not use them: ExitRunExitGlobalIteration.


No comments:

Post a Comment

Note: only a member of this blog may post a comment.