Availability: Version 4.0
Scenario in accelQ represents a specific test procedure to verify functionality on Application-Under-Test (AUT). It includes a series of test steps and expected outcome for each step. This article explains how to create and manage a Scenario in accelQ.
Creating a Scenario
You can create manual test scenario by clicking on the "+" icon in the top right corner and selecting Scenario under MANUAL Section.
Note: If you are working in Manual Test Asset View, you will not find MANUAL sub heading under the Create menu. Directly click on the Scenario link.
Provide a meaningful name to the Scenario and relevant description (optional). Click on Save & Continue.
Setting up Requirements Traceability
While creating a Scenario, you can establish traceability with Requirements from Jira or TFS. This allows for further downstream capabilities such as Requirements based testing etc.
- While creating a Scenario, click on the Requirements tab in the New Scenario modal.
- Select Jira or TFS project name.
- Search for Requirements/Stories based on ID or free-form text from the target system ticket.
- Select Requirements and close the window.
Adding Steps to Scenario
Once you create a Scenario, you can add steps in the Scenario step editor by typing in step description and (optionally) expected result for each step. Once all the steps are done, click Save button.
Following keyboard short-cuts are available while editing in Step Editor.
- <Tab>: Moves the cursor from Step column to Expected Result column and vice versa.
- <Enter>: Moves cursor to next step in the editor.
- <Shift + Enter>: New line in the step or expected result. Helpful to type multi-line information.
- <Ctrl + b>: Format the selected text in bold.
- <Ctrl + i>: Format the selected text in italic.
- <Ctrl + u>: Format the selected text with an underline.
Note: If you are working on a MacBook, use Command key instead of Control key in the above listing.
Top toolbar actions
In the order displayed, here are the actions available in the top toolbar in the Step Editor.
- Switch between Step View and Text View (discussed below)
- Add Step below the current selected step
- Delete currently selected step (works for multiple step selection as well)
- Move step up/down (works for multiple step selection as well)
- Format the selected text in a step with bold, italic or underline options
Step Level Context Menu
You can bring up step-level context menu by right clicking on a step or by clicking on the "..." icon in the end of the step row. Following context menu options are available.
Context Menu for multi-step selection
You can select multiple steps by selecting the checkbox on the left side of a step and perform bulk-step operations as below:
Text View of Step Editor
You can switch to Text View by clicking on the top toolbar action button. Text View allows you to fluently type or copy/paste multiple steps and expected results in a familiar text editor view. Just prefix with "#" to indicate the start of a new step and "$" to indicate expected result. Here is a sample screenshot: