Skip to content

Commit fa807c0

Browse files
authored
Merge pull request #2988 from surishubham/testmuCom
Merge pull request #2983 from Private1647/stage
2 parents 9db61ae + ebaa5ed commit fa807c0

11 files changed

Lines changed: 184 additions & 0 deletions
101 KB
Loading
128 KB
Loading
162 KB
Loading
136 KB
Loading
136 KB
Loading
118 KB
Loading
145 KB
Loading
141 KB
Loading
136 KB
Loading
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
---
2+
id: kaneai-test-run-instance-view
3+
title: Test Run Instance View
4+
hide_title: false
5+
sidebar_label: Test Run Instance View
6+
description: Learn how to use the new Test Run Instance view in KaneAI to replay execution steps, compare screenshots, inspect command logs, and debug test failures with AI-powered root cause analysis.
7+
keywords:
8+
- test run instance
9+
- kaneai execution view
10+
- autoplay steps
11+
- compare screenshots
12+
- command logs
13+
- root cause analysis
14+
- test debugging
15+
- test manager
16+
url: https://www.testmuai.com/support/docs/kaneai-test-run-instance-view/
17+
site_name: TestMu AI
18+
slug: kaneai-test-run-instance-view/
19+
canonical: https://www.testmuai.com/support/docs/kaneai-test-run-instance-view/
20+
---
21+
22+
import BrandName, { BRAND_URL } from '@site/src/component/BrandName';
23+
24+
<script type="application/ld+json"
25+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
26+
"@context": "https://schema.org",
27+
"@type": "BreadcrumbList",
28+
"itemListElement": [{
29+
"@type": "ListItem",
30+
"position": 1,
31+
"name": "Home",
32+
"item": BRAND_URL
33+
},{
34+
"@type": "ListItem",
35+
"position": 2,
36+
"name": "Support",
37+
"item": `${BRAND_URL}/support/docs/`
38+
},{
39+
"@type": "ListItem",
40+
"position": 3,
41+
"name": "Test Run Instance View",
42+
"item": `${BRAND_URL}/support/docs/kaneai-test-run-instance-view/`
43+
}]
44+
})
45+
}}
46+
></script>
47+
48+
:::note Early Access
49+
This feature is currently being rolled out in phases and may not be available on all accounts. If you do not see the **New View** badge on your test instances, your account has not been enabled yet.
50+
:::
51+
52+
The Test Run Instance view provides a step-level execution replay that maps each executed action back to the original steps authored in KaneAI. Instead of reviewing raw automation logs, you can walk through the exact sequence of steps - with screenshots, command details, and failure context - in a single unified interface.
53+
54+
## Test Run Summary Dashboard
55+
56+
When you open a test run, the summary dashboard gives you an at-a-glance view of the entire run.
57+
58+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-listing-new-view.png').default} alt="test-run-summary-dashboard" className="doc_img"/>
59+
60+
Test instances with the **New View** badge support the enhanced instance view described below.
61+
62+
## Test Instance Detail View
63+
64+
Click on any test instance to open the detailed execution view. The page is divided into three main areas: the **Steps Panel** on the left, the **Screenshot/Video Panel** in the center, and the **Inspector Panel** on the right.
65+
66+
### Execution Metadata
67+
68+
The top bar displays key information about the test instance:
69+
70+
- **Status** - Passed or Failed indicator
71+
- **Duration** - Total execution time
72+
- **Configurations** - Browser version, OS, and resolution
73+
- **Version** - Test case version used for this execution
74+
- **Executed by** - The user or scheduler that triggered the run
75+
- **Test Case ID** - Link back to the original test case
76+
- **Labels** - Associated job and task identifiers
77+
78+
For failed tests, a banner prompts you to **Generate RCA** (Root Cause Analysis) or **View failed step** to jump directly to the point of failure.
79+
80+
### Steps Panel
81+
82+
The left panel lists every step that was executed, mapped back to the original steps authored in KaneAI. Each step shows:
83+
84+
- The **action type** (click, assert, set variable, execute JavaScript, navigate, scroll, etc.)
85+
- The **execution duration** for that step
86+
- A **pass/fail indicator** (green dot for passed, red dot for failed, gray for skipped)
87+
- **Variable values** and **assertion results** inline
88+
89+
Steps that include sub-actions - such as loops, conditionals, or JavaScript snippets - are expandable to reveal the full execution detail.
90+
91+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instance-quick-view.png').default} alt="test-instance-steps-panel" className="doc_img"/>
92+
93+
#### Autoplay Steps
94+
95+
Click the **Autoplay Steps** button at the top of the steps panel to automatically walk through each step in sequence. As each step is highlighted, the center panel updates to show the corresponding screenshot captured during execution. This provides a visual replay of the entire test execution without needing to click through each step manually.
96+
97+
### Screenshot and Video Panel
98+
99+
The center panel shows a screenshot of the application under test at the point when the selected step was executed. You can toggle between:
100+
101+
- **Screenshot view** - A static capture of the page at that step
102+
- **Video view** - A recorded video of the execution
103+
104+
At the bottom of the panel, a **step progress bar** displays colored dots representing each step - green for passed, red for failed. Click any dot to jump directly to that step.
105+
106+
Hovering over a dot shows a preview tooltip with the step number and action name.
107+
108+
### Compare Original Screenshot
109+
110+
Click **Compare original screenshot** above the screenshot panel to open a side-by-side comparison of:
111+
112+
- **Original while authoring** - The screenshot captured when the test was first authored in KaneAI
113+
- **Current execution screenshot** - The screenshot from this execution run
114+
115+
This helps you identify UI changes, layout shifts, or missing elements that may have caused a test failure - especially useful when a test that previously passed starts failing after a UI update.
116+
117+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instance-compare-original-screenshot.png').default} alt="compare-original-screenshot" className="doc_img"/>
118+
119+
## Debugging Failed Tests
120+
121+
When a test instance fails, the view highlights the failure clearly so you can diagnose the issue quickly.
122+
123+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instance-failure.png').default} alt="failed-test-instance" className="doc_img"/>
124+
125+
- The **failed step** is highlighted with a red border and shows the assertion result (e.g., "Assertion False").
126+
- Steps after the failure are **grayed out**, indicating they were not executed.
127+
- The screenshot panel shows the state of the application at the exact moment of failure.
128+
- Click **View failed step** in the top banner to jump directly to the failure point.
129+
- Click **Generate RCA** to trigger an AI-powered root cause analysis that examines the failure context and suggests probable causes.
130+
131+
## Command Logs
132+
133+
Click the panel toggle on the right side to open the **All Commands** tab. This panel shows every low-level command that was executed during the test, grouped by step.
134+
135+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instances-command-logs.png').default} alt="command-logs-panel" className="doc_img"/>
136+
137+
Each command group is expandable and shows:
138+
139+
- **Command type** - Execute JavaScript, Command, HTTP request, etc.
140+
- **Duration** - Time taken for each individual command
141+
- **Timestamp** - Exact execution time
142+
- **Script content** - For JavaScript commands, the script that was executed
143+
144+
Use the **Search Commands** bar to find specific commands, or filter using the **View** dropdown to narrow by command type.
145+
146+
## Execution Logs
147+
148+
The right panel provides multiple log tabs for in-depth debugging:
149+
150+
- **Framework** - Logs from the test framework used during execution
151+
- **Console** - Browser console output captured during the test
152+
- **Device** - Device-level logs (useful for mobile test instances)
153+
- **Network** - Network request and response details
154+
- **HyperExecute** - Raw HyperExecute execution logs including runtime information such as network idle times, DOM load events, and script execution output
155+
156+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instance-hyex-logs.png').default} alt="hyperexecute-execution-logs" className="doc_img"/>
157+
158+
Additionally, the following tabs are available for extended analysis:
159+
160+
- **SmartUI** - Visual regression testing results
161+
- **Performance** - Performance metrics captured during execution
162+
- **Accessibility** - Accessibility audit results for the tested pages
163+
164+
You can dock the logs panel to the **right** or **bottom** of the screen depending on your preference.
165+
166+
## Navigate Between Tests
167+
168+
Click the **View tests** button in the top-right corner to open a panel listing all test instances in the current test run. This panel lets you:
169+
170+
- **Search** for specific tests by name
171+
- **Filter** by status - view only failed, passed, or stopped tests
172+
- **Switch** between tests without navigating back to the test run listing
173+
174+
<img loading="lazy" src={require('../assets/images/kane-ai/features/new-test-run-instance/test-run-instance-tests-listing.png').default} alt="navigate-between-tests" className="doc_img"/>
175+
176+
---
177+
178+
## Related Guides
179+
180+
- [Execute Test Runs on HyperExecute](/support/docs/kaneai-hyperexecute-test-run-execution/) - Create and execute test runs
181+
- [Sequential Test Runs](/support/docs/kaneai-sequential-test-runs/) - Run dependent test cases in order
182+
- [Test Run Configurations](/support/docs/test-runs-configurations/) - Manage browser and device configurations
183+
- [Scheduled Test Runs](/support/docs/kaneai-scheduled-test-runs/) - Automate test run scheduling

0 commit comments

Comments
 (0)