FilterGroupDisjunction

class FilterGroupDisjunction

Represents an ‘OR’ report filter group to which either report filter elements (FilterElement) or ‘AND’ report filter groups (FilterGroupConjunction) can be appended. All elements within this group are connected by the logical operator ‘OR’.

Returned by

AppendElement(filterElement)

Appends a filter element to the ‘OR’ report filter group.

Parameters:
filterElement

The filter element to be appended

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

FilterGroupDisjunction

GetElements()

Returns the report filter elements.

Returns:

The report filter elements

Return type:

list[FilterGroupElement]

GetExpression()

Returns the report filter expression.

Returns:

The report filter expression

Return type:

str

RemoveElement(filterElement)

Removes a filter element from the ‘OR’ report filter group.

Parameters:
filterElement

The filter element to be removed