Snippets
A snippet - is a piece of text or collection of steps that can be used as autocompletion during creating tests. This can be used for any part of a test case.
When a new test case or suite needs to be created, you can simply call a previously created snippets, to add information that you need with one click. This makes test creation faster and simplier.
As well you can use snippets for creating and managing test data.
How to Create a Snippet
Section titled “How to Create a Snippet”- Go to ‘Steps’ page.
- Click ’+’ icon.
- Select ‘Snippet’ option from the dropdown.
- Enter ‘Title’ for snippet.
- Add a piecce of text or steps.
- Click ‘Save’ button.
After snippet is created you can use it during your test case creation.
How to Add Snippet to Test Case
Section titled “How to Add Snippet to Test Case”- Go to ‘Tests’ page.
- Click ‘+Test’ button to add a new test case (or open the one that you want to edit).
- Select the Suite.
- Click ‘Select’ button.
- Add test case title.
- Click ‘Trigger suggestions’ button.
- Select the snippet that you want to use from the suggested list.
The snippet content is successfully added to the test case.