A collection consists of multiple elements of the same type. For example, it can include a list of titles, URLs, summaries, and so on. You can declare an element as a collection using the Set as collection button.
Follow the procedure to declared an element as a collection.
Under Declared Elements, choose the element that you want to declare as collection.
In the Recognition Criteria panel, choose .
The element is declared as a collection and the symbol is displayed next to the declared element. By default, all related or similar elements of a screen are added as a collection.
When you select an element under Declared Elements, you can see that the matched element is highlighted with a green border and the selected element is highlighted with a blue background in the Screen view. In the Tree view, the selected element is highlighted with a blue background and a blue line at the bottom. Additionally, you can find a green dot that corresponds to the initial element you select under Declared Elements, and then build all criteria accordingly.
If the selected element under Declare Elements is not declared as a collection and it matches multiple elements, it is highlighted with a blue background. Additionally, all other matched elements that conflict with the selected element are highlighted with a red border in the Screen view. In the Tree view, the selected element is highlighted with a blue background and a blue line at the bottom, while all other elements that conflict with the selected element appear in red font.
When you declare an element under Declared Elements and select a class of the element as a criterion, you can see that the selected element is highlighted with a blue background and a green border. Additionally, the index of all matched elements is highlighted with a green border in the Screen view. In the Tree view, the selected element is highlighted with a blue background and a blue line at the bottom. The indexes of all matched elements are also highlighted with a blue background.