Skip to content

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.

  1. Go to ‘Steps’ page.
  2. Click ’+’ icon.
  3. Select ‘Snippet’ option from the dropdown.

Testomat.io - Snippet

  1. Enter ‘Title’ for snippet.
  2. Add a piecce of text or steps.
  3. Click ‘Save’ button.

Testomat.io - Snippet

After snippet is created you can use it during your test case creation.

  1. Go to ‘Tests’ page.
  2. Click ‘+Test’ button to add a new test case (or open the one that you want to edit).

Testomat.io - Snippet

  1. Select the Suite.
  2. Click ‘Select’ button.

Testomat.io - Snippet

  1. Add test case title.
  2. Click ‘Trigger suggestions’ button.

Testomat.io - Snippet

  1. Select the snippet that you want to use from the suggested list.

Testomat.io - Snippet

The snippet content is successfully added to the test case.

Testomat.io - Snippet

CleanShot 2022-05-27 at 20 15 05@2x