Scenario User Interface
A Twist Scenario is a template where you express acceptance criteria using a language specific to the domain you are working in. A scenario expresses test intent, while its implementation describes how it is realized. The underlying implementation is written in Java or Groovy. The Scenario Editor links a scenario with its underlying implementation.
The Scenario Editor is the work area to create, edit and execute scenarios.
Insert a Business Workflow
This icon inserts a place holder for a Business Workflow.
Insert a Business Rules Table
This icon inserts a place holder for a Business Rules Table and lets the user create a table that defines a set of business rules.
(Ctrl+B) (CMD+B for Mac) Used to bold face the text in comments. (However, this option cannot be used along with Italicize and Header)
(Ctrl+I) (CMD+I for Mac) Used to italicize the text in comments. (However, this option cannot be used along with Bold and Header)
Used to declare a part of the text in comments as Header. (However, this option cannot be used along with Bold and Italicize)
This icon allows the user to execute the current scenario and displays the results in the Execution View.
Execute a Scenario Manually
This icon allows the user to manually execute the current scenario and displays the results in the Execution View.
Record a Scenario
This icon allows the user to record steps in the current scenario.
A 'Saved Filter' is a saved tag filter criteria (expression). It provides a way to organize the scenarios in the test suite. Saved filters can also be used to group scenarios during scenario execution using ant.
The 'Scenarios View' is a view where you can work with all scenarios of a selected project. It allows you to save a filter based on tag expressions. In addition, you can create/manage the 'Saved Filters'.
Project Selection :
Scenarios view consists of a project drop down that lets you choose a twist project you would like to work with. On selecting a project, the view shows the 'Saved Filters' and scenarios of the selected project.
Saved Filters List :
This is a list of all the Saved Filters available in the selected project. Selecting a 'Saved Filter' from the list, will apply the saved tag filter (expression) to scenario list in the view.
Filter by tags:
When a tag expression is typed in the tag filter box, it is applied to the scenario list. When a 'Saved Filter' is selected, its corresponding tag expression is populated in the box and is applied as a filter for the scenario list.
It is possible to edit the tag expression in the search box and saved as a 'Saved Filter'. For more information, see Operations on Saved Filters
At any point in time, the tag expression can be reset to the original value by using the Reset Expression icon.
Manual Scenarios Filter:
Selecting the 'manual scenarios' checkbox, will show you only the manual scenarios in the project.
The 'manual scenarios filter' will work contextual to the current filter.
Scenarios satisfying the tag expression, are shown in the scenarios list. Selected project is also shown in the list. Also see Actions that can be performed by selecting one or more scenarios or the project.