If a step in a Scenario is not compatible with the flow in the Scenario at that point, a missing-step alert is created.
For example, in the Scenario flow below, Logout Action is not appropriate as soon as you open the QBank application. Instead of a step from QB Login Page, the Scenario is invoking a step from QB Profile Page. Missing-step alert indicates that this step is inconsistent with the expected behavior of the application.
TBD: update the picture
Reasons for missing step
A missing step may be generated either due to a wrong choice of Action during the Scenario creation or as a result of changes happening over the lifecycle of a Scenario.
While building a Scenario,
- if you deliberately select an Action from All Actions tab that is not compatible with the current flow.
- If a Scenario does not start with an Init Action (or a library Action).
Updates during project lifecycle,
- If an Action's destination context is updated as part of changes to the application behavior, you may see missing-step alerts in some of the Scenarios using this Action. For example, if the application behavior is changed that the Logout Action now takes you to Session Termination page rather than Login page, then some of the Scenarios may be impacted when the Action is updated for the Destination context. Learn more about the change-impact of Action updates.
- If one of the steps is deleted from a Scenario, then it is possible that the flow becomes inconsistent. The step which was immediately following the deleted-step may not be consistent with the step that was just preceding the deleted-step.
Fixing a missing-step
To fix a missing step alert, you need to review the flow and insert steps necessary to bring it back to consistency with application behavior.
Click on the "Insert Step" link in the alert message and insert an appropriate step that is compatible with the flow at that point. As with any normal step addition, ACCELQ presents Relevant Actions in the dropdown to select from. To completely fix the alert, you may sometimes be required to add multiple steps depending on the flow.