Skip to content

AllureLifecycle.Instance.RunStep method

Alexandr D edited this page Oct 5, 2018 · 6 revisions

New AllureLifecycle.Instance.RunStep method for easy recording of steps.

Same as Verify, but stops the test if an error occurred in the step.

You can also use method AllureLifecycle.Instance.RunStep and AllureLifecycle.Instance.Verify methods inside each other as many times as you like.

To perform additional actions in case of an error, such as taking a screenshot, you need to configure these actions using the tuning methods.

Example, test stopped after fail:

alt text