---
title: Failed Test Retry Count
slug: suite-documentation/failed-test-retry-count
docTags: 
createdAt: 2026-04-29T08:37:37.581Z
---

## Overview

**Failed Test Retry Count** defines how many times a failed scenario will be automatically re-executed within the same test run. Its purpose is to improve result reliability by reducing false negatives caused by transient or non-deterministic issues such as network instability, temporary environment problems, third-party service delays, or UI interaction errors like *element not found* or *element not clickable.&#x20;*&#x49;n such cases, a simple re-run can stabilize the outcome without masking consistent failures.

It is designed to improve **result reliability**, not to mask consistent or deterministic failures.

## Scope and Behavior

- Configured at **Plan level** and applies to all scenarios within that plan&#x20;
- Only scenarios ending with **Error** or **Failure** status are eligible for retry&#x20;
- Each retry is treated as a **new execution attempt** of the same scenario&#x20;
- Retries are executed within the **same test run lifecycle**&#x20;
- If any retry attempt succeeds, the scenario is marked as **Passed** in the final result&#x20;

## Retry Trigger Conditions

Retries are triggered only for the following statuses:

- **Error**&#x20;
- **Failure**&#x20;

The following statuses do **not** trigger a retry:

- Passed / Success&#x20;
- Skipped&#x20;
- Aborted or other non-executed states&#x20;

## Execution Logic

- Scenario runs once (initial execution)&#x20;
- If result is:&#x20;
  - **Error** or **Failure** → Retry is triggered (up to defined count)&#x20;
  - Any other status → No retry is performed&#x20;
- Retry execution continues until:&#x20;
  - A retry attempt **passes**, or&#x20;
  - The defined retry count is exhausted&#x20;
- If any retry attempt passes → Final result is **Passed**&#x20;
- If all attempts (initial + retries) end with Error/Failure → Final result is **Failed**&#x20;

Example:

- Retry Count = 2&#x20;
- Execution flow:&#x20;
  - Initial run → Failure&#x20;
  - Retry 1 → Error&#x20;
  - Retry 2 → Passed&#x20;
- Final result → **Passed**&#x20;

## Configuration

Retry count is defined during **Plan editing in Advanced Settings**

- Accepts numeric values (0, 1, 2, …)
- Default value: **0** (retry disabled)

## Reporting and Results

- Each retry attempt is recorded as part of execution history&#x20;
- Final scenario status reflects the **last successful attempt**, if any&#x20;
- Reports may include visibility into:&#x20;
  - Initial failure&#x20;
  - Retry attempts&#x20;
  - Final outcome&#x20;

This helps identify **flaky or unstable scenarios**.

## Best Practices

- Use retry for **intermittent issues**, not consistent failures&#x20;
- Keep retry count low (typically **1 or 2**)&#x20;
- Investigate scenarios that frequently pass only after retries&#x20;
- Combine with proper logging to understand root causes&#x20;

## Key Considerations

- Retry increases **total execution time**&#x20;
- Overusing retry may hide real defects&#x20;
- Should be used as a **stability support mechanism**, not a primary solution&#x20;

