- Print
- DarkLight
If you want to rerun a failed test, such as when you're creating a scenario or if a particular scenario in a test plan is flaky, you can easily rerun it by clicking the [Rerun] button that appears in the upper right corner of the test result details page.
- Tests executed using the [Rerun] button don't count toward the number of test runs or use us credits.
- The [Rerun] button does not appear if the test was successful or aborted.
- If the scenario of the failed test has been updated or the browser version has been updated, a confirmation dialog will appear and the newest scenario will be executed.
Rerunning tests executed as part of a test plan
Execution Environment
- If the execution environment of the test plan is changed before the test is rerun, the test is rerun in same execution environment as when it failed. The confirmation dialog will not mention this.
* Example: The execution environment of the test plan is set to Mac OS / Safari and the test failed. In this case, even if you change the execution environment to Chrome / Linux, the test will be rerun in Mac OS / Safari. - If Autify no longer supports the execution environment you want to use, you will not be able to select that execution environment when rerunning tests.
URL Replacements
If you change the URL replacements specified in the test plan and rerun the test, the test will be rerun using the URL that was specified when the test failed.
Autify Connect
If you're using Autify Connect, even if you change the Access Point settings in the test plan before rerunning the test, it will be rerun using the same Access Point that was used when the test failed.
You cannot use the rerun button if...
Failed to run test. Data was deleted.
If both of the following two conditions are met, the message "Failed to run test. Data was deleted" will be displayed and Autify will not be able to rerun the test.
- The scenario uses a csv data pattern.
- The csv data pattern was updated or deleted when the scenario was edited.
Failed to run test. Scenario was deleted.
If the scenario of the failed test has been deleted, the message "Failed to run test. Scenario was deleted" will appear and Autify won't be able to rerun the test.