Forum Discussion

joker6413's avatar
joker6413
Occasional Contributor
14 years ago

How to stop test execution on checkpoint fail?

I have some keyword tests with some property checkpoints inside. If checkpoint fail i've got a message in log, but test still running. Is there an option to stop execution on checkpoint fail?

1 Reply

  • sbkeenan's avatar
    sbkeenan
    Frequent Contributor
    Hi Igor



    There is a 'Stop Execution' option in the 'Statements' section in Keyword tests.



    Presumably your checkpoint test is built into an If...Then... block, where you are also logging your error message to the log file.  Place the 'Stop Execution' option in the same place.  You can set it up to stop all tests or only the currently running test.



    Hope this helps.



    Regards

    Stephen.