How to get Scenario Steps that is printed in Console

In case of failure we want to attach the Scenario steps to our test case management report. It will be easy for us to debug.