--- title: "Invalid Steps" slug: "invalid-steps" updated: 2024-07-18T01:29:36Z published: 2024-07-18T01:29:36Z canonical: "help.autify.com/invalid-steps" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # Invalid Steps Sometimes steps become invalid when creating or editing scenarios. This document will explain: - How the UI warns about invalid steps - How invalid steps can be created - What happens when you try to save a scenario with invalid steps - What happens when you try to run a scenario with invalid steps ## UI warnings for invalid steps Steps that are invalid are highlighted in the scenario editor UI in a few places. ### At the time of creating the step When creating a new step, in an unsaved scenario, a warning will be displayed only within the step itself. ![01.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/01%281%29.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=cM9MeDgoYrMwG1QNDYpDwhdPfxJqxtgfe0UzWtZrP4U%3D) Even if the step contains invalid details, no external warnings will be displayed. [Embedded content](https://drive.google.com/file/d/14kq9yAJfq1MxFLK_p51mS_9dCIgre6Pn/preview) Be careful — if you click “Save”, the scenario will save and the UI will not show any warnings or alerts. [Embedded content](https://drive.google.com/file/d/1QLY0zYxQG7tMs3uRvrUjJztzGd4cGLiP/preview) However, upon page reload or re-visit, additional warnings will be displayed in two places: - At the top of the scenario editing pane - On the step itself #### Invalid step alert at the top of the scenario editing pane An alert banner will appear at the top of the page with a list of invalid steps. ![04.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/04%281%29.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=QaqyI%2FJ%2BxhJQ%2FKnMHuzt7XPjtCdS6iQMVN0rqqOXBz4%3D) Clicking on the step name will open the invalid step. [Embedded content](https://drive.google.com/file/d/1bgt5C1cJdL19_3VBCHceKSSwAY6ZibBU/preview) #### Invalid step alert on the step itself Invalid steps will be bordered in red and flagged as invalid. Click the invalid step to fix any issues. ![06.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/06%281%29.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=9vuNtinSW1J8wno%2BcxCay7Yu1thcg8kq6I1PZvxzums%3D) The video below shows a full example of saving a scenario with invalid steps and reloading the page to show the warnings in the UI. [Embedded content](https://drive.google.com/file/d/17GxYUq6CfcZLq8kOSiMmNFEalXvktaJI/preview) Step groups have the same behavior. [Embedded content](https://drive.google.com/file/d/1doIGSxLbtzvryx_Rf-GT6jDHpty_49zI/preview) A scenario using a step group containing invalid steps will also behave similarly. [Embedded content](https://drive.google.com/file/d/13cyTb5tzAqQWnCTiYNhs8zlq7XVJ1oyP/preview) Test plans will not show any warnings about scenarios containing invalid steps. ![09.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/09.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=spEBtqxjFCS7pZTTvOProEb86fj664%2FNzgNbbs%2FX3Mw%3D) ## Invalid steps caused by user input Steps that require user input can become invalid if the wrong data is entered. ![10.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/10.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=DpOCqDKuBSxapY16l2Clm4EcwTJ3CLsqyNais0Li8NQ%3D) ## Invalid steps caused by deleted reference Steps can also become invalid due to deleted references. The following are some examples of references that will cause steps to become invalid: - Reference to a deleted JS step - Reference to a deleted “Open Window” step - Reference to a deleted data table ### Reference to a deleted JS step When a JS step that is referenced by other steps is deleted, an error will be displayed on the steps that reference this JS step. [Embedded content](https://drive.google.com/file/d/1N8VCkSgt8iPMvnn6GeyxJ6Mk23-pt3g0/preview) ![invalid js step UI.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/invalid%20js%20step%20UI.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=kYoACAECRY%2F2z5qRK90lnGJgzBYfRB5KcHpzH%2BzDOu0%3D) ### Reference to a deleted “Open Window” step When an “Open Window” step that is referenced by other steps is deleted, an error will be displayed on the steps that reference the now-deleted “Open Window” step. The step will refer to “Unknown Window”. [Embedded content](https://drive.google.com/file/d/1CGK1Hp6BuyI3iYjiHb0a-YT4CwYdEulU/preview) ![unknown window UI.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/unknown%20window%20UI.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=AWDb5NhbEEJrl3bUmQftkUf0HA59szhOH4oBZ5UxGyU%3D) ### Deleted data table reference When a step uses data that has been uploaded via the “Data” tab, that step will become invalid if the data is deleted. [Embedded content](https://drive.google.com/file/d/1wylpS-vzz81B1l46ec4w-Ny0FWqbq6Op/preview) ![invalid data reference UI.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/invalid%20data%20reference%20UI.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=WUBaOuzfHrvWN2Zh82Uv8%2FID%2BRw7Qe141lLHQsEphqY%3D) ## Invalid steps can be saved In some situations you may not be ready to complete your scenario and want to keep the invalid step. In this instance, you can save the invalid steps and continue working on your scenario at a later time. We strongly recommend that you only save your scenario when all steps are in a valid state. Otherwise, you might encounter unexpected passing or failing steps during test execution. ### Saving a scenario or step group that has not been marked as invalid When saving a scenario that doesn’t display an alert banner or has red borders around invalid steps, you will not see any error message or warning when saving. [Embedded content](https://drive.google.com/file/d/1QLY0zYxQG7tMs3uRvrUjJztzGd4cGLiP/preview) ### Saving a scenario or step group that has been marked as invalid When saving a scenario that displays an alert banner and has red borders around invalid steps, you will see an alert when saving. You can still save the scenario by clicking “OK” on the alert. [Embedded content](https://drive.google.com/file/d/13cyTb5tzAqQWnCTiYNhs8zlq7XVJ1oyP/preview) ## Invalid steps can be run Even if your scenario contains invalid steps, it can still be run. We strongly recommend that you only save and run your scenarios when all steps are in a valid state. Otherwise, you might encounter unexpected passing or failing steps during test execution. ### Running from the scenario editor page Running a scenario containing invalid steps will not show any additional alert. [Embedded content](https://drive.google.com/file/d/1cM-iLnGRtqs70xAilgpXbec3FVzS9-xX/preview) ### Running from the test plan page Running a test plan containing scenarios with invalid steps will not show any warnings. [Embedded content](https://drive.google.com/file/d/1it3ozT0ZAmXzligIS6J92sCt8_iUhIsC/preview) ### Unexpected behavior when running scenarios with invalid steps If you are experiencing unexpected failing or passing steps during test execution, make sure to check your scenarios for any invalid steps and fix them before continuing. For example, this scenario passes even though 2-1 is an invalid step. ![Invalid scenario run screenshot.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Invalid%20scenario%20run%20screenshot.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=oPWVi7xgXVgRZ9%2BrZ3QQPIVt9jVW5dSCOKDNmYTuuDU%3D) ![Step should fail.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Step%20should%20fail.png?sv=2026-02-06&spr=https&st=2026-12-01T19%3A49%3A25Z&se=2026-12-01T20%3A49%3A25Z&sr=b&sp=r&sig=R8XJtRSwwenL8lrMYDLvsO7pxfGx4MoRJwZzxZe33ww%3D)