Element tree structure

The Item Tree is used to display all available Item properties within a project/subproject. It is created from the project template and contains all item properties, including custom fields.

Field tree view

Within the hierarchical data structure tree there are lists, fields and calculated fields. For each list within the hierarchical structure, a band can be defined to iterate through its elements. Direct use of a sub-list in a band will only return its top element as it does not automatically iterate through the list and is therefore not recommended.

Calculated fields are fields that return a value based on a customisable function. For example, a custom field might return 1 if a test was passed and 0 if it was not. This practice allows you to count all passed tests, which otherwise would require a lot of scripting.

The Dependencies view of an element shows all related elements. For example, related elements of a test scenario are the test cases it contains. You can access this information and iterate through the related elements in the report designer. If you want to use related elements, make sure they are loaded into your report during execution.

Related elements within the Field Tree view
Loading related elements when printing the report by selecting the appropriate option

In the example below, we have visually shown how the field list elements relate to the report layout designer.

Calculated Fields

The values of calculated fields are determined by a formula and are calculated dynamically during report generation. To add a calculated field, select the part of the field list where you want to add it and click on .

Accessing the option to add a calculated field
Iif([LastExecutionStatusInvariant]=='Passed', 1, 0) 
// example expression that might define the value of a calculated field

Last updated

Was this helpful?