...
To switch into Gherkin Text Editor Mode use the mode buttons in the footer section of the editor panel
...
...
Info |
---|
note that in the Data Center version of the app the mode buttons are located on the left and the Save & Cancel buttons on the right |
Syntax Highlighting
Gherkin Keywords
All Gherkin keywords are highlighted using colour and bold font
...
Info |
---|
Note that using * (asterisk) character as a step keyword is not supported as it does not improve readability of the examples |
User Story Keywords
The commonly used set of user story keywords (As a, I want to, So that) can be entered in the Feature title section like below:
...
Tip - Instead of “So that” you can use “In order to” so that you can start with the why
Tip - user story keywords don’t need to be at the start of the line and you can use either lower or upper case as needed
Tip - you can omit the 'to’ part in the “I want to“ keyword and in the “As a” keyword you can enter either “As a“ or “As an”
Simple Step Parameters
Simple parameters (those that are on the same line as the step keyword) can be highlighted by simply wrapping them in single or double quotes
...
Scenario Outline Parameters
<> delimited step parameters which are used as part of Scenario Template or Scenario Outline are highlighted automatically in orange
...
Tip - use autocompletion support to quickly populate Examples table header section with the names of the parameters that you have used in parameterized steps above. Simply press 'Ctrl+Space' to bring up the auto completion menu
Doc String Step Parameters
Doc strings are highlighted in purple colour
...
Tip - you can also use 'backtick' characters instead of quotes if required
XML Step Parameters
If you enter 'xml' after the opening chars of a multi line string then any XML that you enter before the closing chars are automatically syntax highlighted
...
Scenario Tags
Tags are highlighted in grey colour
...
Syntax Error Checking
asdf
Auto Completion
asdfs
Excel Like Data Tables
aefsdfa
Inline Table Editing Toolbar
asdfadfafd
asdf
Include Page | ||
---|---|---|
|
Page Tree | ||||
---|---|---|---|---|
|
...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
...
Some other title