-
-
Notifications
You must be signed in to change notification settings - Fork 6
AllureLifecycle.Instance.RunStep method
Alexandr D edited this page Oct 5, 2018
·
6 revisions
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: