How Automatic Re-run of Failed Tests Helps
Test Studio provides a rich set of test list settings to help for stable execution of the tei suites and easier debugging in case of failures.
Test lists are designed for unattended execution and as such, there are multiple circumstances, which can affect the test run temporary and report a false failure. For example, the application's under test responsiveness slows down for a short amount of time, and this causes a missing element failure. Upon the next execution of the same test, there is no further issue.
Enable the Automatic Re-run Setting for a Test List
For similar occasions Test Studio allows you to automatically re-run the failing tests in a test list. Enabling this setting will be helpful in the cases of a temporary issue with connectivity or application accessibility and any failed tests will be executed automatically after the test list execution finishes. Hence, the amount of fake failures will be significantly reduced.
The results of the second automatic execution will be listed under the initial failed result of the same test. It will be marked with an exclamation mark.
The tests need to be designed as autonomous tests - if these are dependent on the previous tests in the list, this setting will not be applicable.