Testim Documentation

Welcome to the Testim documentation. You'll find comprehensive guides to help you get started quickly, example code snippets, and tips for being more productive. You will also find details about advanced features that allow you to customize Testim to fit your environment or special testing conditions. Don't worry, we'll support you if you get stuck. Let's jump right in!

Guides    Changelog


Learn which steps can be reusable and how to reuse them

"Reuse" is one of the more basic principles of programming. Instead of copy-pasting the same twenty lines of code over and over, you write them once inside a method and call it whenever you need to. This principle works precisely the same in the world of automated testing.

Groups and custom steps: validations, actions, wait for, APIs are all reusable by default at Testim. You can, however, change this property at any point, both in the creation or in a later stage.

For every (potential shared) step that you create, Testim will prompt you for a (meaningful) name, and whether you would like to make this step shareable or not. By default, it is shared.

How to know if it's reused

We made it easy for you to notice that it’s shared.

How to reuse

  1. Double check, and make sure your shared step has a meaningful name.
  2. Choose the location by hovering over one of the arrows (which turn into a plus), and then click on the plus menu.
  3. Search for the aforementioned shared step in the search box
  4. Select the step by clicking on it
  5. If your step expects you to pass parameters, don't forget to assign them. Each step passes its own parameters e.g. you could call the "login" with "David" as params at one test, and with "John" at another.

How to change only one instance of a group

Changing the shared step in one place will change it in all instances of the project. Although you can send different parameters, sometimes you need to make changes only for a specific test. For this purpose, you will want to clone the step

  1. Click "Replace with a clone"
  2. Give the new step a new name.
  3. Decide whether the new step will also be defined as shared.

Note: It will not clone inner groups.


If you do not want to allow reuse of a specific step.

  1. Navigate to "Test List", and then to "SHARED STEPS" tab.
  2. Select the shared actions you want to unshare.
  3. Click "Archive" icon.
    Note: It will not actually remove the steps from tests that use it. This will only remove it from the list of shareable components.

Updated 3 months ago


Learn which steps can be reusable and how to reuse them

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.