Skip to main content

Custom Widgets in TestMu AI Analytics Dashboards

Custom widgets in TestMu AI Analytics Dashboards allow you to create personalized visualizations of your test data. This feature enables you to gain insights into your testing process and make data-driven decisions.

Prerequisites

Before creating a custom widget, ensure you have:

  1. An active LambdaTest account with access to Insights
  2. Executed tests on the LambdaTest platform to generate data
  3. Access to the Custom Widgets feature

Common Steps for Creating Custom Widgets

The following steps are common to all custom widget types. After completing these steps, proceed to the widget-specific configuration based on your chosen visualization type.

Step 1: Navigate to Insights

  1. Log in to your LambdaTest account.
  2. Navigate to the Insights section from the left sidebar or visit https://analytics.lambdatest.com/.
  3. Click on the Dashboards tab.

Step 2: Create a New Dashboard or Select Existing

  1. Click on the + Create New button located at the top right of the dashboard list.
  2. From the dropdown menu, select Custom Widgets.

Step 3: Choose a Product

Select the product for which you want to create the widget. Available options include:

  • Web Automation: Visualize web testing data
  • App Automation: Analyze mobile testing data
  • HyperExecute: Monitor HyperExecute test runs
  • Real Time Testing: Visualize real-time testing data
  • Real Device Testing: Analyze real device testing data
  • Smart UI Testing: Visualize Smart UI testing data

Step 4: Select Data Source

Choose the data source that will power your widget:

  • Tests: Visualize test execution data including pass/fail rates, test counts, and execution times
  • Auto Heal: Visualize Auto Heal statistics and trends (available for Web Automation and HyperExecute only)

Step 5: Configure Filters (Optional)

Use filters to narrow down your data based on specific requirements:

  1. Click + Add a Filter to add filter criteria.
  2. Select a Key from the dropdown (e.g., browser, OS, resolution, custom data).
  3. Choose an Operator (equals, contains, greater than, etc.).
  4. Select or enter the Value to filter by.
  5. Add multiple filters as needed to refine your dataset.
tip

Use filters to focus on specific release versions, custom parameters, or other attributes. This helps create more targeted and actionable visualizations.

Next Steps: Widget-Specific Configuration

After completing the common steps above, proceed to configure your specific widget type:

Features of Custom Widgets

Supported Products

  • Web Automation: Create custom widgets to visualize web testing data, including test execution times, pass/fail rates, and more.
  • App Automation: Visualize mobile testing data, including device usage, OS versions, and app performance metrics.
  • HyperExecute: Create custom widgets to monitor your HyperExecute test runs, including execution times, pass/fail rates, and more.
  • Real Time Testing: Visualize real-time testing data, including browser and OS usage, test execution times, and more.
  • Real Device Testing: Create custom widgets to monitor your real device testing data, including device usage, OS versions, and app performance metrics.
  • Smart UI Testing: Visualize your Smart UI testing data, including test execution times, pass/fail rates, and more.

Advanced Filters and Options

  • Select Keys: Choose the keys you want to visualize in your custom widget. You can select multiple keys to create a more comprehensive view of your data.
  • Choose Operators: Select the operators you want to apply to your data. This allows you to filter and manipulate your data to create the desired visualization.
  • Select Values: Choose the values you want to visualize in your custom widget. This allows you to create a more focused view of your data.

Available Visualization Types

Custom widgets support multiple visualization types, each optimized for different use cases:

  • Heatmap Widgets: Visualize data density and relationships across multiple dimensions using color intensity and box sizes
  • Bar Chart Widgets: Compare values across categories using rectangular bars
  • Line Chart Widgets: Track trends and changes over time using connected data points
  • Table Widgets: Display structured data with multiple columns, aggregations, and grouping options
  • Pie Chart: Visualize the distribution of values across categories (documentation coming soon)
  • Billboard: Display key metrics prominently on your dashboard (documentation coming soon)

Available Keys for Custom Widgets

The following keys are available for configuring custom widgets across all visualization types. The availability of specific keys depends on the selected product and data source. These keys can be used for filtering, grouping, axis configuration, and column definitions depending on your widget type.

note

Choose keys that represent categorical dimensions (like browser, OS, project name) for grouping and comparisons, and numeric or countable fields for aggregations. For time-based trends, use timestamp fields.

Web Automation Keys

The following keys are available for Web Automation widgets:

KeyDescriptionRecommended Use
browserBrowser name (Chrome, Firefox, Edge, Safari, etc.)Grouping, filtering, X-axis
browser_versionBrowser version numberGrouping, filtering
build_nameBuild name identifierGrouping, filtering, row identifier
build_statusStatus of the buildGrouping
buildtag_nameBuild tag nameGrouping, filtering
create_timestampTest creation timestampX-axis (time trends)
custom_data.isFlakyTestFlaky test indicator from custom dataGrouping, filtering
custom_data.productProduct identifier from custom dataGrouping, filtering
deviceDevice name/typeGrouping, filtering
durationTest execution durationY-axis (with aggregation), column (with aggregation)
end_timeTest end timestampX-axis (time trends)
failure_categoryCategory of test failuresGrouping
osOperating system (Windows, macOS, Linux)Grouping, filtering, X-axis
os_versionOperating system versionGrouping, filtering
productProduct nameGrouping, filtering
project_nameProject nameGrouping, filtering, row identifier
resolutionScreen resolutionGrouping, filtering
start_timeTest start timestampX-axis (time trends)
statusTest status (passed, failed, etc.)Grouping (most common)
test_idTest identifierY-axis (with Count aggregation), column (with Count aggregation)
test_nameTest case nameRow identifier, filtering
test_typeType of testGrouping, filtering
testtag_nameTest tag nameGrouping, filtering
usernameUser who executed the testGrouping, filtering

Custom Data Keys: Any custom data keys you've defined in your test capabilities can also be used.

App Automation Keys

The following keys are available for App Automation widgets:

KeyDescriptionRecommended Use
app_nameApplication nameRow identifier, grouping
app_typeType of applicationGrouping
brandDevice brand nameGrouping, filtering
build_nameBuild name identifierRow identifier, grouping
build_statusStatus of the buildGrouping
build_typeType of buildGrouping
create_timestampTest creation timestampX-axis (time trends)
custom_data.isFlakyTestFlaky test indicator from custom dataGrouping, filtering
deviceDevice name/modelRow identifier, grouping
durationTest execution durationY-axis (with aggregation), column (with aggregation)
end_timeTest end timestampX-axis (time trends)
failure_categoryCategory of test failuresGrouping
osMobile OS (Android, iOS)Grouping, filtering, X-axis
os_versionOS version numberGrouping, filtering
productProduct nameGrouping, filtering
project_nameProject nameRow identifier, grouping
start_timeTest start timestampX-axis (time trends)
statusTest status (passed, failed, etc.)Grouping (most common)
test_idTest identifierY-axis (with Count aggregation), column (with Count aggregation)
test_nameTest case nameRow identifier, filtering
test_typeType of testGrouping, filtering
usernameUser who executed the testGrouping, filtering

Custom Data Keys: Any custom data keys you've defined in your test capabilities can also be used.

HyperExecute Keys

The following keys are available for HyperExecute widgets:

KeyDescriptionRecommended Use
app_nameApplication name (for app tests)Row identifier, grouping
app_typeType of applicationGrouping
browserBrowser nameGrouping, filtering
browser_versionBrowser version numberGrouping, filtering
build_nameBuild name identifierRow identifier, grouping
build_statusStatus of the buildGrouping
buildtag_nameBuild tag nameGrouping, filtering
create_timestampTest creation timestampX-axis (time trends)
custom_data.productProduct identifier from custom dataGrouping, filtering
deviceDevice name/typeGrouping, filtering
durationTest execution durationY-axis (with aggregation), column (with aggregation)
end_timeTest end timestampX-axis (time trends)
failure_categoryCategory of test failuresGrouping
job_created_atJob creation timestampX-axis (time trends)
job_labelsJob labelsGrouping
job_statusStatus of the HyperExecute jobGrouping
job_test_typeType of test in the jobGrouping
osOperating systemGrouping, filtering
os_versionOperating system versionGrouping, filtering
productProduct nameGrouping, filtering
project_nameProject nameRow identifier, grouping
resolutionScreen resolutionGrouping, filtering
stage_nameStage name in the jobGrouping
stage_statusStatus of the stageGrouping
stage_typeType of stageGrouping
start_timeTest start timestampX-axis (time trends)
statusTest status (passed, failed, etc.)Grouping (most common)
test_idTest identifierY-axis (with Count aggregation), column (with Count aggregation)
test_nameTest case nameRow identifier, filtering
test_typeType of testGrouping, filtering
testtag_nameTest tag nameGrouping, filtering
usernameUser who executed the testGrouping, filtering

Custom Data Keys: Any custom data keys you've defined in your test capabilities can also be used.

Use Cases for Custom Widgets

Custom widgets can be used for various purposes, including:

  • Tracking Test Execution: Visualize the number of tests executed, passed, and failed over time to monitor your testing progress.
  • Analyzing Test Performance: Identify trends in test execution times and pinpoint areas for improvement.
  • Monitoring Browser and OS Usage: Gain insights into the most popular browsers and operating systems used in your tests to optimize your testing strategy.
  • Comparing Test Results: Compare test results across different environments or configurations to identify discrepancies and ensure consistent performance.
  • Visualizing Test Coverage: Create visualizations to understand the coverage of your tests across different features or components of your application.

For detailed widget-specific use cases and examples, see:

If you have any questions or need assistance with creating custom widgets, please reach out to our support team at [email protected] or visit our Support Center.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles