This page explains how the behavior differs when the "even when there are failed steps" setting is applied to individual steps versus when it is applied to group steps.
Overview
Normally, scenario execution stops when a preceding step fails. "even when there are failed steps" is a setting to forcibly attempt execution of that step even if a failure occurred in a preceding step.
Depending on the target to which this setting is applied, the "failure" that is ignored differs. Also, subsequent steps without this setting will not be executed, even if the previous step was forcibly executed and succeeded, because the entire scenario is already in a "failed" state.
Case 1: When set on an individual step
When "even when there are failed steps" is set on an individual step (e.g., Step 2), Step 2 will be executed even if the previous step (e.g., Step 1) fails.
Example of behavior
Step 1: Click (Failed)
Step 2: Click ("even when there are failed steps" is ON)
Step 3: Input text (No setting)
Execution Result:
• Step 1 "fails". The overall test status becomes "Failed".
• Step 2 is executed despite Step 1 failing (due to the forced execution setting).
• Step 3 is not executed.
(Skipped because a failure occurred in Step 1 and Step 3 does not have the forced execution setting)
Case 2: When set on a step group
When "even when there are failed steps" is set on a step group (e.g., Group A), execution of Group A starts (the first step in Group A is executed) even if the step preceding the step group (e.g., Step 1) fails.
Example of behavior
Step 1: Click (Failed)
Group A ("even when there are failed steps" is ON)
◦ Step A-1: Click
◦ Step A-2: Input text
Step 3: Click (No setting)
Execution Result:
• Step 1 "fails".
• Group A starts execution despite Step 1 failing (Step A-1 and A-2 are executed).
• Step 3 is not executed.
(Skipped for steps without the forced execution setting due to the failure in Step 1)
Important Note on Group Step Settings
Does not apply to failures inside the group Even if you set "even when there are failed steps" on the step group itself, it only ignores failures of previous steps "outside" the group.
It does not affect failures occurring "inside" the group. For example, in "Case 2" above, if Step A-1 fails, Step A-2 will not be executed.
Summary: Differences in Behavior
Target Setting | Ignored Failure | Behavior |
Individual Step | Failure of the previous step | The step itself with the setting is executed. |
Step Group | Failure of the previous step (outside the group) | Execution of the entire group starts. |
If you want to execute subsequent steps even if a step within the group fails
If you want a subsequent step within a group (e.g., Step A-2) to execute even if a step within the group (e.g., Step A-1) fails, you must set "even when there are failed steps" on the individual step within the group (Step A-2), not on the group step itself.