To filter an element, you can add a condition written in OTScript language on
text data, loop, or structure elements. This code must returns a Boolean value.
For
example, you can reduce the number of elements provided by a loop by keeping only the
requirement specifications.
In the Condition box of the Properties tab,
enter an OTScript instruction returning a Boolean expression.
An example of condition is: EACH ISA `Requirement Specification`.
This condition keeps only elements with its class name equals to Requirement
Specification.
Tip:
If the condition contains an error, an error icon appears on the loop
and the loop tooltip contains its details.
The condition is applied during the report file generation.