A Tag is a label that you can associate with a Scenario. Tags allow you to
quickly select a set of scenarios for execution.
Tags can be specified in the Tag toolbar available at the top portion of the Scenario Editor.
You can use Content Assist (Hit Ctrl + SPACE) in the Tag text box. This allows you to re-use Tags across scenarios.
Create New Tags on a Scenario
To create new tags in the Scenario editor, click the Add icon on the Tag tool bar. Type in the tags that are relevant to the scenario.
You cannot use certain characters such as ,, (, ), &, | in Tag names.
Filter Scenarios using Tags
Twist allows users to quickly search and navigate to a required scenario using tags.
To find a scenario, enter the tag in the filter field (optionally use CTRL+SPACE) and Twist will present a list of scenarios associated with that tag.
You can use expressions to narrow down your choices. Twist supports common operations such as AND (using &), OR (using |). You can also braces to create use sub-expressions that are evaluated first before other items in the expression.
- TagA & TagB: Selects scenarios that have both TagA and TagB.
- TagA | TagB: Selects scenarios that have either TagA or TagB.
- (TagA & TagB) | TagC: Selects scenarios that have either TagC or both the tags TagA and TagB
- (TagA | TagB) & TagC: Selects scenarios that either TagA and TagC or TagB and TagC
The Clear-All Tags icon is used to clear the tag filtering and to revert to the default display of the project and all its scenarios.
Bulk addition/removal of tags across scenarios is made possible with the Manage Tags option on the Scenario View.
This icon on the Scenarios View can be used to add/remove multiple tags across scenarios.
The Remove Tags area lists all the existing tags on the selected scenarios. To remove multiple tags, the user is required to select those tags and remove them with a single click.
During tag addition, ContentAssist can be used on the Add Tags field to obtain a list of all existing tags in the current project, across all scenarios. From this list, user could choose and tag the selected scenarios with a single click.