Customizing reports

TestArchitectoffers a wealth of features to allow you to create reports on your projects and tests, and customize those reports to meet your unique needs.

The Edit Profile panel (accessed via the context menu in the TestArchitect explorer tree) enables you to specify which records are to appear in a report, how they are sorted, and which are included in the statistics. Once you have changed report settings, you can generate an updated report.

Selecting displayed attributes

The Show check box in the Test module attributes panel governs whether a given attribute is included in the records of a generated report.

Sorting attributes

The Sort check box in the Test module attributes panel enables the sorting of records in the generated report by their attributes. The selected attribute(s) serve as the key(s) by which the report is sorted. For example, if you want to sort by test module name, select the Sort check box for the Name attribute. When a Sort check box is selected, additional sort options are displayed, enabling you to fine tune the presentation of the report.

Filtering attributes

Simple expressions can be used to filter the records that are included in a report. Selecting a filter check box for a given attribute causes a text box to be displayed in which you may define how the filter is to be applied. The filter text box accepts and evaluates logical expressions composed of one or more comparison terms. The filter expression is applied to each record and, in each case, if the result of that expression is true, that record is displayed in the report; otherwise, it is omitted.

Each term of a filter expression applies a comparison against an attribute of the current record, and evaluates to TRUE or FALSE. The attribute, which is the left-hand operand of each term, may be explicitly written or implied. When omitted from the term, the current attribute is used as the operand. Otherwise, any attribute may be used in a given term, regardless of which attribute the filter expression “belongs” to. For example, the following 2 expressions are equivalent, but only when used within the filter expression of the Priority attribute:

Notes: 
Values must be surrounded by double quotation marks ("). For date values, use the format "yyyy-mm-dd" . (For example, “2010-09-01" for September 1st, 2010).

Here are some example filtering expressions applied to the Priority attribute: in some cases the filtering is by Priority only; in others, by Priority plus another attribute (Status):

Notes: 

Statistics

Each attribute can be used for generating statistics in the report. Statistic reports show you counts and sums. This report lists the total number of items for each unique value of a selected attribute. This is achieved by selecting the Stats check box of each attribute for which such stats are desired.

If you select sorting with grouping for another attribute, the statistics for the attributes with the Stats check box selected are displayed for each section that represents a specific value for the sorting attribute.

For date related attributes (for example, Last update date, Creation date), you can specify the period for which the statistics should be accumulated. For example, if you specify month for a given date attribute, the STATISTICS section reports the sums of all records for each unique month for that attribute.

Subreports

If a project item has related items, it is possible to include the related items in a report as a subreport. For example, in a report on test modules, you can use a subreport to display the test results for each test module.

To include a subreport, select the subreport type in the Include subreport drop-down list in the Sub report panel.

Available subreports vary based on the selected item.

ItemsAvailable subreports
Test modulesRelated test results, related bugs, related test cases.
Test casesRelated run results, related steps, related bugs, related objectives.
Test objectivesRelated run results, related test cases.
Data sets(None)
ActionsAction arguments.
Interface entitiesInterface elements.
Test resultsRelated test modules, related test cases.
Test case results(None)
Test suites(None)
BugsRelated test modules, related test results, related test cases.

Tip: 
To display all of the available attributes, click All attributes.

Suppose that you want to create a test module report which includes those tests which were a), executed last month, and b), produced a Failed result. Follow these steps:

  1. From the Include subreport drop-down list, select the related test results option.
  2. For the Date of run attribute:
    1. Select the Filter check box, and then in the filter box enter =“last month”.
    2. Select the Show check box.
  3. For the Result attribute:
    1. Select the Filter check box, and then in the filter box enter =“failed”.
    2. Select the Show check box.
  4. Click the Show button.

The test module report that matches the specified conditions is displayed.

Control panel buttons

The toolbar of the Edit Profile panel offers the following buttons:

  1. Show button: Display the report.

  2. Save button: Save the report as an HTML file.

  3. Print button: Print the report.

  4. Select all button: Select all check boxes.

  5. Clear all button: Clear all check boxes.

  6. Save as test suite button: Create a dynamic test suite based on the current report. See also Creating a dynamic test suite.

    Notes: 
    Initially, when a report is created, the Save as test suite button is disabled. To enable that button, you must save the report profile in advance.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400