Heatmap Widgets
Heatmap widgets in TestMu AI Insights provide a powerful way to visualize complex data relationships and identify patterns across multiple dimensions. By representing data density and relationships through color intensity, heatmaps help you quickly spot trends, anomalies, and correlations in your test execution data.
What is a Heatmap Widget?
A heatmap widget displays data as a grid where each cell's size and color convey different information:
- Box Size: Represents the total test count for that combination. Larger boxes indicate more tests executed for that browser-resolution or OS-browser combination.
- Color/Shade: Represents the pass rate percentage, using a color gradient from red (low pass rates) to green (high pass rates).
Currently, heatmap widgets use fixed metrics:
- Box Size: Always based on total test count (not configurable)
- Box Color: Always based on pass rate (not configurable)
Custom metric selection for box size and color Coming Soon, allowing you to choose different metrics for visualization.
This dual-encoding visualization is particularly effective for:
- Identifying patterns across two or more dimensions (e.g., browser × resolution)
- Spotting outliers and anomalies in test execution
- Comparing performance across different configurations
- Understanding data distribution at a glance
- Quickly identifying problematic combinations (small boxes with red colors) vs. well-tested successful combinations (large boxes with green colors)
Prerequisites
Before creating a heatmap widget, ensure you have completed the common prerequisites and setup steps for custom widgets.
Step-by-Step Guide to Creating a Heatmap Widget
For prerequisites and common setup steps (Navigate to Insights, Create Dashboard, Choose Product, Select Data Source, Configure Filters), see the Common Steps for Creating Custom Widgets section in the main Custom Widgets documentation.
Step 6: Choose Heatmap Visualization
- In the Choose Visualisation section, select Heatmap from the available options (Line, Bar, Pie, Table, Billboard, Heatmap).
Step 7: Configure Grouping
This is the most critical step for creating meaningful heatmaps:
-
Group By* (Mandatory): Select the primary dimension for grouping your data. Common options include:
browser- Group by browser type (Web Automation, HyperExecute)resolution- Group by screen resolution (Web Automation, HyperExecute)os- Group by operating system (all products)os_version- Group by OS version (all products)device- Group by device type (App Automation, HyperExecute)build_name- Group by build name (all products)project_name- Group by project name (all products)- Custom data keys you've defined
tipFor a complete list of available keys for each product, see the Available Keys for Custom Widgets section in the main Custom Widgets documentation.
-
Then By (Optional): Select a secondary dimension for nested grouping. This creates a two-dimensional heatmap showing relationships between the two dimensions.
Example: Group by
browserfirst, then byresolutionto see which browser-resolution combinations have the most test activity.
The combination of Group By and Then By creates the axes of your heatmap.
Step 8: Name Your Widget
- Enter a descriptive name in the Widget Name field (e.g., "Browser × Resolution Test Distribution").
- Use clear, descriptive names that indicate what the heatmap shows.
Step 9: Preview Your Heatmap
- Click the Preview button to see how your heatmap will look with the current configuration.
- Review the visualization to ensure it displays the data as expected.
- Use the refresh icon to update the preview if you make changes.
Step 10: Create the Dashboard
- Enter a Dashboard Name in the bottom section.
- Click Create Dashboard to save your heatmap widget.
- Your heatmap will be added to the dashboard and ready for analysis.
How Heatmaps Work
Understanding how heatmaps encode information is crucial for effective analysis:
Box Size: Total Test Count
The size of each box in the heatmap represents the total number of tests executed for that specific combination (e.g., Chrome × 1920x1080).
- Larger boxes = More tests executed for that combination
- Smaller boxes = Fewer tests executed for that combination
- No box = No tests executed for that combination
Currently, box size is always determined by the total test count. This metric is not configurable at the moment, but custom metric selection for box size Coming Soon.
This helps you quickly identify:
- Which combinations have the most test coverage
- Which combinations may need more testing
- Testing activity distribution across different configurations
Color: Pass Rate
The color of each box represents the pass rate percentage for that combination, using a color gradient from red (low pass rates) to green (high pass rates).
| Pass Rate Range | Color | Interpretation |
|---|---|---|
| 0-20% | Dark Red | Critical issues - very low pass rate, needs immediate attention |
| 20-40% | Medium Red | Significant problems - low pass rate, requires investigation |
| 40-50% | Light Red | Below average - pass rate needs improvement |
| 50-60% | Light Green | Average performance - acceptable but could be better |
| 60-80% | Medium Green | Good performance - solid pass rate |
| 80-100% | Dark Green | Excellent performance - high pass rate, well-tested |
Currently, box color is always determined by the pass rate percentage. This metric is not configurable at the moment, but custom metric selection for box color Coming Soon.
Combining Size and Color
The combination of box size and color provides powerful insights:
- Large Dark Green Box: High test count with excellent pass rate - well-tested and stable combination
- Large Dark Red Box: High test count with very low pass rate - critical issue affecting many tests
- Small Dark Red Box: Low test count with very low pass rate - may need more testing or investigation
- Small Dark Green Box: Low test count with high pass rate - limited testing but good results so far
Generating Meaningful Insights from Heatmaps
Heatmaps excel at revealing patterns that might be hidden in tabular data. Here's how to interpret and extract insights: