In a nutshell
Zia Root Cause Analysis (Zia RCA) works across every web environment in a test plan run. It tags each test case automatically as soon as the run finishes, so you can triage failures, flag improvements, and spot stability and performance concerns. Failed test cases are classified by cause, and passed test cases are flagged with insights for improvement, such as a stability or performance concern. Zia RCA also generates a complete analysis for that environment, including a health score, a failure breakdown, recurring patterns, and a prioritized list of fixes.
Availability
Zia Root Cause Analysis (Zia RCA) analyzes every test case in an environment as soon as its run finishes. It tags each test case automatically and presents the analysis in plain language, removing the need to open every test case individually to review its logs and run history.
Zia RCA can also generate a full analysis for that same environment, including a health score, a failure breakdown, recurring patterns, and a prioritized list of fixes. The analysis gives you a structured view of the environment's health and which fixes to prioritize, without needing to review every failure individually.
A test plan run executes a set of test cases against one or more environments, such as different browsers, operating systems, or screen resolutions. Zia RCA analyzes these results at two levels, for each test case in the environment and for the overall environment.
Once Zia RCA is enabled for a test plan, Zia analyzes each test case in an environment automatically as soon as its run finishes. For a failed test case, this identifies why it failed and suggests a possible fix. For a passed test case, it highlights a key finding and recommended improvements.
Every test case, whether passed or failed, also includes the following details:
For details about these fields, see Zia analysis for a test case
Types of Zia tags
Every test case receives one or more tags that capture its priority, stability, pattern, or performance characteristics. These Zia tags consist of one primary tag representing its highest-priority classification, plus any additional tags that also apply.
Zia can assign tags in the following categories:
To learn more about tags, see Tag categories in Zia RCA
Once every test case in the environment has been individually analyzed, Zia analyzes the environment as a whole. This builds on what's already known about each test case, its failure cause or improvement classification, its Zia Tag, and its run history. Combining all of this produces a single view of the environment, a Health Score, a breakdown of failures, recurring patterns across the run, and a prioritized list of fixes.
Apart from the environment's total, passed, and failed test case counts, Zia RCA also maintains the flaky count once this analysis is generated.
Note: If even one test case in the environment could not be individually analyzed by Zia, the environment analysis does not run automatically and must be started manually.For details about what the environment analysis includes, see Zia analysis for an environment
Zia RCA sends data to the configured AI model both when automatically tagging a test case and when generating a full analysis for an environment. The data includes the logs, test step text, and run history required to classify each test case.
When Zia RCA is configured with a third-party AI integration, such as OpenAI, Gemini, or Claude, the data leaves Zoho's infrastructure and is sent to the respective AI provider. When Zoho GenAI is configured, the data remains within Zoho's infrastructure. Learn more
For test cases containing sensitive information, evaluate the applicable data governance requirements before configuring a third-party AI provider.
Usage quotas
Usage depends on the AI provider powering Zia. If Zia is using Zoho GenAI, standard platform AI quotas apply at the organization and user level. If a third-party provider is configured, the usage will be managed by the respective service provider.
Every tag Zia assigns belongs to one of four categories, Priority, Stability, Pattern, or Performance. Each category groups tags that describe the same kind of concern, for example, every Stability tag says something about how consistently a test case has passed.
When multiple tags apply to a test case, Zia uses a fixed display order to determine which tag is shown as the Primary tag. The first applicable tag in this order is shown as the Primary tag, and the remaining applicable tags are displayed in the same order.
The display order is defined for individual tags rather than tag categories. Tags from different categories can therefore have different positions in the display order. For example, a Pattern tag can outrank a Stability tag, and a Priority tag rank below tags from other categories.
| Tag | Definition |
| High Priority | The failure cause or improvement suggestion may have a significant impact and should be addressed first. |
| Medium Priority | The issue is worth addressing but is less urgent than a High Priority item. |
| Low Priority | The issue has a minor impact and can be addressed after higher-priority items. |
| Tag | Definition |
| Flaky | The test case alternates between passing and failing across recent runs, with no script changes in between. |
| Stability High | The test case has passed consistently across recent runs. |
| Stability Medium | The test case has passed most of its recent runs, with occasional failures. |
| Stability Low | The test case has failed frequently over its recent runs. |
| Environment | The behavior appears to be tied to the specific environment, such as the browser, OS, or screen resolution, rather than the test case itself. |
| Tag | Definition |
| Duration Problem | The test case is taking noticeably longer to run than usual. |
| Console Warnings | The browser console logged warnings during the test case that may need review. |
| Network Inefficiency | The test case involved slow or excessive network calls. |
| Performance Concern | A general performance-related concern that does not fit into the other Performance tags. |
| Tag | Definition |
| New Failure | The test case failed for the first time in its recent run history. |
| Recurring | The test case has failed in the same way repeatedly across recent runs. |
| Regression | The test case previously passed consistently but has recently started failing. |
| Blocking | The failure appears to be preventing other test cases or steps from completing. |
| Data | The failure appears to be related to the test data rather than the application or test script. |
Every analyzed test case has a full analysis available inside the preview page, shown as the Zia Analysis. The analysis card contains the Zia Tag in order, the analysis summary, and the parameters Zia assessed.
Note: After enabling Zia RCA, at least one previous run is required to perform the analysis.The analysis summary provides every test case with a classification of its outcome, why it failed, or what could be improved even though it passed. A failed test case is assigned one Primary cause for failure, which explains why it failed. A passed test case instead receives improvement suggestions worth addressing even without a failure.
The analysis summary for a failed test case shows its Failure Cause alongside Zia's Primary cause and Possible fix for that specific failure.
Types of Failure cause
Each failed test case is assigned one Failure Cause, shown as its Primary Cause. This identifies why the test case failed and anchors the possible fix Zia suggests.
| Cause | Definition |
| Application Bug | A defect in the application being tested, rather than an issue with the test case itself. |
| Test Script Issue | An issue with the test script, such as a typo, invalid file path, or flaw in the script's logic. |
| Locator Issue | The element the test case was looking for has moved or changed, or the locator used to find it is unreliable. |
| Timing Issue | The test case interacted with the page or an element before it was ready. |
| Network Issue | A network-related problem, such as a timeout, server error, or DNS issue. |
| Environment Issue | An issue with the test environment, such as incorrect test data, a missing flag, or an outdated fixture. |
| Data Issue | The test data used during the run was invalid or led to an unexpected result. |
| Infrastructure Issue | An issue with the underlying infrastructure, such as a server being down, a required port being unavailable, or the test grid not running. |
| Unknown | Zia could not confidently determine the cause of the failure. |
The analysis summary for a passed test case shows its Improvement category alongside Zia's Key finding and recommended Improvements for that specific test case.
Types of Improvement categories
A passed test case will display suggestions for improvement. Each suggested improvement is grouped under one of the following dimensions.
| Category | Definition |
| Code Quality | Points out a potential improvement to the test script's structure or logic. |
| Duration | Recognizes a test case that is taking longer than expected to run. |
| Performance | Flags a general performance concern observed, such as a slow page load or network call. |
What Zia found
For information about where the full analysis appears and how to open it, see Viewing the Zia analysis for a test case
Zia RCA operates for the environment as a whole. As part of this, every test case in the environment is individually analyzed, as covered in Zia analysis for a test case, before performing the overall analysis.
Note:
The environment analysis is made up of the following components:
The environment analysis gives you insights into the run's health and highlights issues that have changed since the previous comparable run. The analysis card displays the Run Health Score and headline numbers for new failures, newly flaky test cases, regressions, and estimated time to fix.
The Run Health Score indicates the overall health of the environment's test results, from 0 to 100.
| Score | Status |
| 80–100 | Healthy |
| 60–79 | Stable |
| 40–59 | Warning |
| Below 40 | Critical |
How the Run Health Score is calculated
The Run Health Score starts at 100 and applies deductions for failed test cases, regressions, flaky test cases, and failure causes:
Health Score = round( 100 − (FailureRate × 60) − min(Regressions × 2, 20) − min(FlakyCount × 1.5, 15) − min(SeriousCauseCount × 1, 10) )
where:
Note:
The environment analysis presents its findings across four tabs:
A summary provides a narrative overview of the analysis, highlighting the most significant failure patterns, contributing factors, and reliability risks identified in the run.
This provides a quantitative view of the environment's test results, including the number of failed, passed, not analyzed, and flaky test cases. It also shows the dominant cause among failures, and how many test cases have a Zia Analysis
Note:
Shows how failed test cases are distributed across different failure causes as a bar chart. Each bar's length represents that cause's share of the environment's total failures. Together, the bars account for every failed test case.
Key insights
These insights counts how many test cases across the environment carry each Priority, Stability, Pattern, and Performance tag. This reveals whether the same kind of concern, such as flakiness or a performance issue, recurs across multiple test cases in the environment. For the full list of tags, see Tag categories in Zia RCA.
Recurring patterns lists observations describing failures that share a common root cause across multiple test cases in the environment. Each pattern points to a shared underlying cause that a single corrective action could address, rather than requiring a separate fix for every affected test case. For example, several test cases failing while waiting on the same slow-loading element, or a set of failures all tracing back to mismatched test data.
These actions lists a prioritized set of fixes based on the findings from the environment analysis. Each action is ranked according to its expected impact and assigned to the team responsible for addressing it, such as DevOps, QA, or Development. Recommendations can include fixing application defects, updating test scripts, updating locators, addressing environment or infrastructure problems, and investigating recurring failures.
Note:
For information about generating an environment analysis, see Viewing the Zia analysis for an environment
Zia RCA reports metrics that summarize a run's results, at both the run and environment level. Total, Passed, and Failed are basic run results that QEngine tracks for every run. Flaky and Run Health Score are specific to Zia RCA, produced as part of the environment analysis
| Metric | Definition |
| Total | The total number of test cases in the run. |
| Passed | The number of test cases that passed. |
| Failed | The number of test cases that failed. |
| Flaky | The number of test cases that alternate between passing and failing across recent runs, with no script changes in between. |
| Run Health Score | A score from 0 to 100 that indicates the health of an environment's test results. For information about the Run Health Score calculation, see Analysis overview of an environment. |
A: Zia RCA works across every web environment in a run. It analyzes every test case in that environment automatically as soon as its run finishes, tagging each one regardless of outcome and classifying failed test cases by cause. It can also analyze the environment as a whole, once every test case in it has been individually analyzed, producing a health score, a breakdown of failures, recurring patterns, and a prioritized list of fixes.
A: No. Each environment in a run is analyzed separately. A run that covers more than one environment, such as different browsers or operating systems, has its own environment analysis for each one.
A: A Zia Tag and a Failure Cause or Improvement are separate classifications. The Zia Tag is made up of a primary tag and any additional tags that apply, from the Priority, Stability, Pattern, and Performance categories. For a failed test case, the Failure Cause identifies why it failed, such as Locator Issue or Application Bug. For a passed test case, the Improvement category identifies what could be improved, such as Code Quality or Performance. These are classifications only seen inside the test case preview page as part of individual analysis of that test case.
Does a passed test case get tagged?
A: Yes. Every test case is tagged, whether it passed or failed. A passed test case's tag reflects whichever Priority, Stability, Pattern, or Performance tags apply to it, and its tag can reflect the same underlying finding described in its Improvement suggestion.
With Zia RCA enabled for your test plan, you can now view its Zia tags and analysis for each test case, and generate the environment analysis for any environment in the run. Learn how to Configure and view Zia RCA in Zoho QEngine
Zia is available by default in your QEngine account, powered by Zoho GenAI. If you want to use a third-party AI provider instead, configure before enabling Zia RCA.