# Gherkin step result

**URL:** <https://forums.eggplantsoftware.com/t/gherkin-step-result/7594>\
**Category:** Uncategorized\
**Created:** [June 16, 2021, 12:46pm UTC](https://forums.eggplantsoftware.com/t/gherkin-step-result/7594 "2021-06-16T12:46:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newUser](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/n/3e96dc/32.png) [@newUser](https://forums.eggplantsoftware.com/u/newUser)\
**Post date:** [June 16, 2021, 12:46pm UTC](https://forums.eggplantsoftware.com/t/gherkin-step-result/7594/1 "2021-06-16T12:46:12Z")

</div>

I want to use Gherkin “hook\_after\_step” to find out if the step executed passed or failed. Based on that result, if previous step passed I want to continue to next step otherwise I want to quit from the scenario.  
How can I implement this ?
