Skip to main content

Root Cause Analysis

Automation testers and developers spend significant time triaging failed tests. Determining whether a failure comes from the application, an unstable environment, infrastructure, or the test code itself usually requires manual digging through logs, videos, and network data.

Root Cause Analysis (RCA) is an AI-powered tool that analyzes a failed automated test execution and returns a single ranked root cause hypothesis and the supporting evidence behind it. When a test fails or encounters an error, you can trigger RCA from the Video Report for that execution.

info

RCA is available only to Premium Digital.ai Testing SaaS customers. If the Root Cause Analysis tab does not appear on a failed execution that meets the criteria below, contact your Digital.ai account team.

A complete Root Cause Analysis walkthrough

Availability

The Root Cause Analysis tab appears in the video report only when all of the following are true:

RequirementDetail
LicenseYour account has a Premium Digital.ai Testing license.
Execution typeThe execution is an automated test. Manual test sessions are not supported.
StatusThe execution ended with a status of Failed or Error. Passed executions are not analyzed.
FrameworkThe execution used the Appium Server framework.
DeviceThe execution ran on a dedicated device, real or virtual. Shared devices are not supported in this phase.

Understanding the RCA output

A completed analysis includes root cause hypothesis and supporting evidence.

A completed Root Cause Analysis showing the hypothesis and supporting evidence

Root cause hypothesis

The most likely root cause of the failure, explained in plain language. It describes what failed and why it failed. providing a starting point for reviewing the supporting evidence.components, errors, or log details when they are available, and avoids stating more certainty than the evidence supports.

Supporting evidence

Each analysis lists the evidence RCA used to reach its conclusion, traceable back to the execution. Evidence can include a failed step, an error message, a stack trace, a log line, a device log, or a timestamp, along with its source where available.

The supporting evidence section of an RCA result, listing evidence items and their sources

Providing feedback

  • After reviewing an analysis, you can mark it as helpful or not helpful using the thumbs up or thumbs down control.
  • Feedback is optional, and you can submit it more than once.
  • Feedback is helpful for improving the agent’s learning loop and helping it provide better results over time.

Retry and failure handling

If RCA can't complete an analysis, the tab shows: "RCA analysis could not be completed." A Retry Analysis button appears below the message.

  • If you see the following message, please contact support: “RCA analysis could not be completed.”

The RCA failure state with a Retry Analysis button

Known limitations

In this phase:

  • RCA supports Appium Server executions only. Other frameworks are planned for later phases.
  • Shared devices are not supported.
  • Manual test sessions are not supported.

Next steps