Skip to content

Conceiving the scenario of a classic test case

The minimum goal of each test is to verify the expected result specified by a requirement. To reach this goal, you must conceive a test scenario. This scenario is composed of a series of actions to carry out in the tested tool to verify its expected behavior. In Squash TM, you can manage the test scenario of a classic test case in the anchor "Prerequisites and test steps".

Prerequisites and test steps of a classic test case

The anchor "Prerequisites and test steps" Prerequisites and test steps of a Classic test case contains two parts:

  • A prerequisite

In this field you can find the test's preconditions, such as the details of the actions to perform or the conditions to be met before beginning the execution of the test steps.

  • Test steps

Test steps are a series of steps. They are composed of two fields: an "Action" field, which contains the instructions for the actions to realize; and of an "Expected results" field, which contains the expected behaviors of the tool.

Prerequisites and test steps

The fields Prerequisites, Action, and Expected Result are rich text fields in which you can add formatting, tables, URLs, and/or images.


We highly encourage you not to copy and paste images in the different rich text fields within Squash TM. To learn how to add images in the fields Prerequisites, Action, and Expected Result, please visit the page Inserting an image in a rich field

When hovering on the test steps, an icon bar appears on the top right of the block. Using these icons allows you:

  • to add Add a test step (will directly be added under the selected test step);
  • to delete Delete a test step;
  • to copy Copy and paste Add a test step;
  • to link requirements;
  • to call a test case;
  • to show details of the test step;
  • to add an attachment. You can also directly drag and drop an attachment on the test step.

Hover test case icone

If the test step contains custom fields, attachments or linked requirements, these items are displayed under the Action and Expected Result fields.

The button Collapse allows you to minimize the display and to have an overall view of the redacted test steps. The button Expand allows you to expand the test steps display. To reduce or maximize the display of the prerequisite or test step, use the following arrows: Collapse single and Expand single.


Prerequisites and test steps


To copy/paste or delete several test steps at once, select all the test steps you want to delete by clicking on their postion number using Ctrl + click then click on the corresponding button.

Reordering test steps

To reorder one or several test steps:

  1. Select the test steps in order by clicking on their position number using Ctrl + click;
  2. Click on the two dotted vertical lines before one of the position numbers;
  3. Drag and drop to the destination location.

Move test step


To make reordering test steps easier, we recommend that you use reduced display.

In full view, you can also move a test step one notch up or down using the arrows Move up the test step and Move down the test step which appears when you hover on the test step.

Linking a requirement to a test step

Linking a requirement to a test step allows you to obtain a more precise requirement coverage by the tests.

There are two ways to link a requirement to a test step:

  • Using the option "Linking requirements":

    1. Click on the button Plus which appears when you hover on a test step;
    2. Select the option "Linking requirements".
    3. The requirements repository tree appears on the right and allows you to link requirements to test steps by using drag and drop.
  • Using the option "Test steps details":

    1. Click on the button Plus;
    2. Select the option "Test steps details";
    3. On the "Test steps details" page, click on the button Add or Search to add requirements to the table "Requirements verified by this test case";
    4. When a requirement is linked to the test case, the "Step" case is checked by default. This indicates that the requirement is also linked to the test step.

Once the requirement is linked to the test step, it appears in several locations:

  • in the test step, after the fields "Action" and "Expected Result";

Test step with a linked requirement

  • in the table "Requirements verified by this test case" of the test case with its assigned number in the column "Verified by";

Requirements verified by this test case

The test case linked to the requirement appears in the requirement's table "Test case verifying this requirement".

Test case verifying this requirement

Conceiving a test step by viewing requirements

You can create, modify, and delete a test case's steps by viewing its linked requirements on the same page:

  1. Click on the button Plus by hovering on the test step;
  2. Select the option "Test step details";
  3. The page "Test Step Details" appears with a viewing space of the linked requirements on the left, and the test step's information on the right;
  4. Click on the button > to view the requirements' details.

The fields "Action" and "Expected result" can be edited. You can add a test step using the button Add and delete it with the button Delete.

Test stap detail