---
title: "Test Runs Summary Gadget"
canonical: "https://docs.getxray.app/space/XRAY/301700985/Test%20Runs%20Summary%20Gadget"
format: markdown
---
This gadget provides a summary of the filtered Test Runs, in chart or table layout, showing the amount of Test Runs per status, grouped by a given Test or Test Run field.


![image](media://d4ffb74f-575d-4e52-82ae-822e50bdf542)

# Purpose

This gadget enables you to see the overall status of a group of scheduled/executed test runs (e.g., from a Test Plan) in order to evaluate the testing effort. 

Some possible usage scenarios:

- analyze the Test Runs from a Test Execution
- analyze the Test Runs from all Test Executions belonging to a Test Plan
- depict the testing results for a given component, in the context of a Test Execution or Test Plan
- see how the testing is progressing in terms of scheduled runs, from the Test Run assignee perspective
- see how the testing is progressing in terms of scheduled runs, based on the Test priority
- see how failures, or some other test run statuses, are impacting components
- analyze the Test Runs of a given Test Environment

# How to use

Source Test Runs for the chart can be indirectly provided using a saved filter, which may be used in conjunction with Test Run-specific filters:

- **Saved filter**: a saved filter containing Test Execution issues; This field is mandatory
- **Date range:** only Test Runs with start date and end date between the selected range will be considered
- **Test Run Filters**:
  - **Assignee**: assignee of the Test Run
    - **Current User: **option to choose dynamically the current user logged in as the selected user when sharing dashboards with others. Please note that in confluence, the current user will always be the user that owns the connection between Confluence and Jira.
  - **Status**: status of the Test Run
  - **Priority**: priority of the Test associated with the Test Run



> ℹ️ **Tips**
> ℹ️ 
> ℹ️ - In order to see the relevant Test Runs by filtering Test Execution issues, you may take advantage of existing [JQL functions](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301501338) and/or take into account the fields associated with the Test Execution
> ℹ️ - Below is an example of filtering by Test Environment:
> ℹ️ 
> ℹ️ ```
> ℹ️ project = CALC and issuetype = "Test Execution" and "Test Environments" = "Android"
> ℹ️ ```

Additional configuration parameters for this gadget include:

- **Custom Title**: custom title for the gadget, if the appropriate checkbox is enabled; otherwise, a default title is used
- **Group By**: group the results by the Test Run assignee, Test Run executed by, Test component, Test Key, label or priority.   
You can also group by Custom Fields. the supported custom field types are
  - <span style="color: #000000">Date Picker</span>
  - <span style="color: #000000">Number Field</span>
  - <span style="color: #000000">Radio Buttons</span>
  - <span style="color: #000000">Select List (multiple choices)</span>
  - <span style="color: #000000">Select List (single choice)</span>
  - <span style="color: #000000">Text Field (single line)</span>
  - <span style="color: #000000">URL Field</span>
  - <span style="color: #000000">User Picker (single user)</span>
  - <span style="color: #000000">Xray's "Test Type"</span>
  - <span style="color: #000000">Xray's "Cucumber Test Type"</span>
  Note that the custom fields must be in the <u>Test context</u> or in the <u>global context</u>.
- **Refresh Interval**: how often the gadget is updated


When viewing the result, you can switch between a bar chart or a table layout.

![image](media://7b6fd4a9-04db-42cb-bb43-eb4d6bede341)

![image](media://4e7d53d2-7814-482b-bb5e-abc36aebb158)

![image](media://2cbf885f-4d55-470b-b241-1b6f7755e2ea)


**Note**: For improved visualization, charts with above 25 results will be displayed paginated.

![image](media://5291ac89-cf4f-4b72-827a-8f1afa84ed69)