In this activity, you will create a chart that displays the relative amounts of
groups of data, and view drill down reports that allow you to see the detailed records
underlying the chart.
Dashboard offers five types of charts: pie charts, line charts, bar charts, stacked
bar charts, and grouped bar charts. You are going to perform a simple comparison of the
relative numbers of result outcomes (passed, failed, and passed with errors/warnings)
for without any further groupings of the data.
Given this requirement, the best choice of chart is a pie chart.
Note: We'll place all our new panels in a dedicated Dashboard page, named
If a Tutorial Page does not yet exist on the Dashboard
portal (at top left), add one:
A new Tutorial Page is added to the Dashboard's
page selection bar.
On the Dashboard tool bar, point to Global
Setting and select Add
On the New Page dialog box, enter the information
as requested and click OK:
- Page Name: Tutorial
- Parent Page: Select
parent (leave the field at this setting to allow
your page to be displayed as a top level tab)
- Number of Columns:
- Display After: (choose a page for your
new page to be displayed after)
- Public: select this check box.
From the Global Setting icon of
the Dashboard's tool bar, select Create Panel:
In the Add New Panel dialog, enter the information
needed to define the panel, then click OK:
- Type: Chart
- Data Profile: Test Results
(unfiltered). This is the data profile you created
- Display Name: Car Rental Test Results
- Chart Title: Summarized test results
across test modules and dates
- Show Title: Selected
- Chart Type: Pie
- Style: 2D
- Series: Result
- Legends: Bottom
- Data Labels: Select both
In the Panel Configuration dialog, select the following, then click OK:
The resulting pie chart displays, in graphical form, the relative
number of Passed (green),
Failed (red), and Passed with
Warning/Error (yellow) results from the full range of tests
specified by the associated data profile (which, in this case, is all the
available test results from the Car Rental project):
- Select page: Tutorial
- Height: 400
- Folder: Car Rental/Results
Note: Note that, when the Series value
is Result, as is the case here, the Dashboard
application automatically makes the color assignments shown above.
Absolute numbers of respective results are provided in the yellow labels linked
to each slice of the chart, followed by the respective percentages. The contents
of these labels were determined by your choice of Value
and Percentage for the Data Labels
field in the previous step.
Click on the red slice of the pie chart, representing the
A new browser tab opens with a drill down report, displaying only the
Failed result records, along with the columns
you previously specified as display fields during creation of the Test
Results (unfiltered) data profile.
Modify the Test Results (unfiltered) profile and re-view
the drill down report:
Because a Dashboard panel is dynamically linked to its data profile,
modifications to the profile are reflected in a panel or drill down report
as soon as they are generated or refreshed.
Let's suppose you want to
know which operating systems were hosting the AUT for each of the failed
tests, and wish to see this included in the drill down report.
The drill down report displays the same records as it did previously,
but now with the inclusion of an OS column:
Click on the browser tab displaying your Dashboard Tutorial
Select Data Profiles from the
From the list of existing data profiles, click on Test
Note: The data profile setup facility consists of several configuation
screens, displayed at left. You can go directly to any of those screens
by clicking on its link.
Click on the Display Fields link on the left
side of the General Settings screen.
In the Display Fields screen, select the check box
for OS. Leave the other check boxes as they are.
Return to your panel by clicking the Tutorial Page
tab at the top of your display.
As before, click on the red slice of the Car Rental Test
Results Overviewpie chart, representing the