Tagging

Mesmer supports tagging your test cases. For the uninitiated, tagging is the act of attaching a label or a piece of information (name, phrase, keyword, etc.) to something to aid in its identification and organization later on.

In Mesmer, tagging is the better way to easily recall, logically group, and manage your test cases once their numbers increase. With tags on your test cases, you can easily manage and execute those that are part of a logical group. Without it, you'll be spending more time manually searching and sifting for the ones you need to work on.

💡Tip: We suggest tagging your test cases based on the feature or functionality they're testing. You can efficiently manage and switch from one logical group of test cases to another with tags on them.

Adding & removing

There are several ways (or screens) to add or remove tags to and from your test cases. We'll discuss each of them in the succeeding sections, but for now, you must first be aware of the common user interfaces when adding or removing tags on your test cases.

When adding tags, you'll usually click the icon and provide the tag (or its label) on an input field. The said icon is available in the Add Tags section of the Information Panel or beside a test case's name when looking at either the Test Cases or Edit Test Case screens. To add or confirm your tag, you either press the Enter, Space, or comma (,) key.

Adding tags on the Test Cases screen

There is also an autocompletion feature when entering tags. It appears if you type slowly and have already added some tags on your other test cases.

To remove tags, hover your mouse on a tag and click on its icon.

Using autocomplete to add tags on the Test Cases screen

A few things to keep in mind when adding tags:

  • Duplicate tags are not allowed. Mesmer alerts you if you try to add an exact tag that's already in your test case, no matter what letter case is used.

  • You cannot add the Space or the comma (,) character in a tag. These characters or keys are used to confirm your inputted tag, so when you pressed them, your tag gets saved, but the character will not be a part of the tag's name or label.

👩🏫Note: The act of adding and removing a tag is intertwined. Every time you add a tag, you can also delete it right away. Hover your mouse on the added tag, and its associated icon — that allows you to delete it — is shown.

On the Test Cases screen

The two GIFs we've included in the previous section demonstrate how you work with tags on the Test Cases screen. But here's an additional one where you can add tags on multiple test cases in a single action:

Adding tags to multiple test cases on the Test Cases screen

On the New Test Case screen

When you're creating a new test case, you can add tags right away before Mesmer completes the setup of your test device.

You can also add more tags using the Information Panel contained in the Drawer.

Adding tags using the Information Panel

On the Edit Test Case screen

You can add tags when you're editing one of your existing test cases. Look to your test case's name at the top-left corner and click the icon. Since the Information Panel is also available inside the Drawer, you can add tags there too.

Adding tags in the Edit Test Case screen

On the Test Results screen of a test case

You can add tags when you're reviewing your test case's results. Look to the Information Panel in the Drawer, and add your tags in the Add Tags section.

Adding tags using the Information Panel of the Test Results screen

Using tags as filters

After you have at least one tag defined for a test case, you can filter the list of test cases and test results to show only the items with the tags you select. There is a Tags or Show Tags (depending on what screen you are on) filter dropdown menu on the right of either of those screens.

Select any number of tags from the dropdown selection by clicking to toggle them on or off. The list of test cases will immediately update to reflect your choice. It will contain all items that have any of the selected tags (using a logical OR, not a logical AND). Use the CLEAR ALL option to remove all selected tags from the filter.

Filtering and sorting test cases using tags

Test cases can also be sorted using the Sort by dropdown at the far right:

  • Latest Run: Results from the most recently run tests come first.

  • Status: Results from failed and needs review status come first.

  • Tags: Results from test cases with tags come first.

  • Name: Alphabetically sort test cases by their names.

  • Assignee: Alphabetically sort test cases using the names of their assignees.