Skip to content

Labels and Custom Fields

Labels can be easily added in Project Settings

  1. Go to Settings.
  2. Select Labels & Fields.
  3. Enter a title for the label.
  4. Click Create button.

Testomatio - Add Label

Before setting up Labels & Custom Fields we need to learn about Scope and Visibility parameters.

Scope defines what pages you want to apply the Label & Custom Field. Here you can define on what pages you want to use it. You can apply it to tests, suites, runs, plans, steps and templates.

Testomatio - Setup Label

Visibility defines how a Label & Custom Field should be shown in UI.

  • Filter visibility will show a Label or Custom Field in the Filter Bar, so you can sort your items quickly.
  • List visibility will show a Label or Custom Field in the tests tree, a list of runs, plans, or steps.

Testomatio - Setup Label

Now it’s time to set up your label!

  1. Scope - pick entities you want this label to be applied.
  2. Visibility - labels can be shown in the Filter bar, in the list of entities, or in both views.
  3. Custom Field - expand label capability to a custom field.

Testomatio - Setup Label

You can also use Quick create label feature to create labels faster:

  1. Go to Steps
  2. Select Step
  3. Click Extra button.
  4. Click Labels.
  5. Type Label name in ‘Quick create label’ field.
  6. Click Create button.
  7. Select newly Created Label.

Testomatio - Quick Create Label

Example of default settings for Label, created via Quick create label feature on Step level:

Testomatio - Quick Create Label

There are such Field Types in Custom Fields: List, Number, and String. Let’s take a look at each type.

Custom Field with List type allows creating a list of your choice. You can put there any values to meet your testing needs.

  1. Select a List type of Custom Field.
  2. Add a new item per line.
  3. Toggle Hide custom field title if value is set if you don’t want to show Custom Field title.
  4. Click Save button.

Testomatio - Custom Field List

  1. Select a Number type of Custom Field.
  2. Toggle Hide custom field title if value is set if you don’t want to show Custom Field title.
  3. Click Save button.

Testomatio - Custom Field Number

  1. Select a String type of Custom Field.
  2. Toggle Hide custom field title if value is set if you don’t want to show Custom Field title.
  3. Click Save button.

Testomatio - Custom Field String

  • Add labels on the entity level
  1. Open a Suite/ Test.
  2. Click Extra button.
  3. Click Labels.

Testomatio - Assign Label & Custom Field

  1. Select Labels.
  2. Click Add Custom Field.
  3. Select Custom Fields.
  4. Click Save button.

Testomatio - Assign Label & Custom Field

OR:

  1. Open a Suite/ Test.
  2. Click Set Labels button the title name.
  3. Select Labels & Custom Fields.
  4. Click Save button.

Testomatio - Assign Label & Custom Field

  • Mass-assign labels using our multiselection mode
  1. Enable multiselection mode.
  2. Select Tests/ Suites.
  3. Click Labels button.

Testomatio - Multi-assign Label & Custom Field

  1. Select Labels & Custom Fields.
  2. Click Add.

Testomatio - Multi-assign Label & Custom Field

Testomatio - Multi-assign Label & Custom Field

How to Set Up Labels and Custom Fields as Required

Section titled “How to Set Up Labels and Custom Fields as Required”

If you want to have some Labels and Custom Fields as required by default when creating Test Cases or Suites, create a Template with those labels and set it up as the default:

  1. Go to Settings -> Templates.
  2. Open an existing Template or create a new one.
  3. Enable Default option.
  4. Select Labels & Custom Fields you want to make required.
  5. Click Update button.

Testomatio - Required Labels

  1. Go to Tests.
  2. Click ’+’ to create new Test Case.
  3. Add values to Custom fields via Set Labels page.

Testomatio - Required Labels

You can click the Label on the Filter Bar

Testomatio - Filter Label & Custom Field

Or enable Filters, pick fields and values then click Apply

Testomatio - Filter Label & Custom Field

There might be cases where you need to assign the same label with different values to the same test case or suite.

To address this, Testomat.io enhanced the flexibility of Custom Fields by allowing multiple values to be assigned to test cases, suites, steps, etc.

Lets see how this works:

  1. Open Test Case or Suite.
  2. Click Extra button.
  3. Click Labels.
  4. Select Custom Field with multiple values.
  5. Choose values from the displayed list for List Custom Field (or type a few values, separated by ”,” for Custom Field String).

Testomatio - Multi-select Custom Field

Testomat.io also allows you to filter your test cases by one or a few Custom Field values.

Testomatio - Multi-select Custom Field Filtering

To manage Labels and Custom Fields at the Project level, Testomat.io introduces ‘Labels Permission’ feature, which allows you to have a better control over metadata, maintain consistency, and prevent unauthorized modifications of Labels and Custom Fields.

By default, this permission is disabled, allowing all users to create, edit, or delete Labels and Custom Fields. However, if the Labels Permission is enabled, only users with the Owner or Manager roles can create, edit, or delete Labels and Custom Fields. Team members with lower access levels can still use existing Labels and Custom Fields but will not be able to alter them.

This feature improves project organization, enhances security, and streamlines collaboration by ensuring structured and standardized test management.

To enable Labels Permission on Project level:

  1. Open your project and go to Settings.
  2. Select Project.
  3. Enable Labels permission.

Testomatio - Label Permission

Testomatio - Users