Test Steps are a set of statements that define the steps to be performed in a Test Case. We are going to discuss managing Test Steps in this article.


First of all, we need to navigate to the Test Cases page as follows:

Applications > Select Application > Select Version > Select Test Case

After selecting the Test Case, we will be taken to the Test Case details page where we can create the Test Steps by clicking on the Create Test Step button.

Create Test Steps

Usually, there are 3 approaches to create a Test Step.

1. Using Natural Language(Template)

2. Using a Step Group

3. Using a Custom Function

When the Create Test Step button is clicked, we will be taken to Create Test Step page that looks like given below:

1. Using Natural Language(Template)

Natural Language option allows you to create Test Steps using an extensible set of commands in Simple English.

Action Text: Start by entering the action that you want to perform in simple English. As soon as you start entering, the Testsigma interpreter presents a drop-down list of available commands and you can select the required command by clicking on it.

For example,

if you want to create a Test Step to type 'paul@gmail.com' into the username field on a webpage, start by entering type into the Action Text field.

As soon as we enter type, the following command would pop up in the suggestions list(along with a few other commands):

Type [test data] in [UI identifier]

If you can't find suggestions for your entered action, you may also use the help(?) button to show a list of actions as shown below:

Switch to the Examples tab, Select the action from the list and click on one of the suggested templates to auto-fill in the Action Text box.

Double click on test data or ui identifier to select it and press delete or backspace key to clear it. Then start entering your username or name of the username field locator there to continue.

[test data] is what you need to replace with your individual test data i.e. username. It can be any data such as a username or email "paul@gmail.com". You can either enter the value manually or make use of one of the Test Data types available in Testsigma.

Please refer this article for more details on Test Data Types - Different types of Test Data and their usage in Testsigma?

[UI Identifier] is what you need to replace with a name for the Web UI Element locator(id, Xpath, name e.t.c) on a web page. For UI Identifiers, you usually enter a name for the UI identifier variable to be created and later update the variable with a value. 

Please refer this article for more details on creating a UI Identifier during Test Step creation - How to create UI Identifier while creating Test Step?

If you prefer, you may also create UI Identifiers beforehand and add them while creating Test Steps. This way, you will get suggestions from the list of UI identifiers you already created. Please refer this article for more details on creating and managing UI Identifiers - How to manage UI Identifiers?

Click on the Clear button on the right side to clear the Test Step and start from the beginning.

Click on the Settings button to specify additional options as specified below:

Mandatory: Select the Mandatory checkbox to make the execution of this step compulsory for a test case.

PrioritySelect the Priority level that you want to set for this Test Step.

  • Major
  • Minor
  • Medium

PrerequisiteSelect a previously created Test Step if successful execution of that step is required to execute this Test Step.

Maximum Wait Time: This is the maximum amount of time the step waits for a ui identifier to be present. If the times exceeds, it will be timed-out and the Test Step fails.

After entering all the values, click on Create and Continue to create the current Test Step and also open the Create Test Step wizard for creating the next Test Step. Clicking on Createbutton simply creates the Step and takes us back to the Test Step details page.

The created Test Step looks as shown below in the Test Case details page:

Once the step is created, we can hover over the right edge of Test Step to reveal some additional options along with Update, Edit and Delete buttons as shown below:

Add After adds a Test Step right next to the selected Test Step and Add Before adds a Test Step right before the selected Test Step.

Check the following video for a bit more clarity on creating Test Steps:

Edit Test Steps

First of all, click on the Test Case name in Test Case page to navigate to the Test Case Details page under which the required Test Step is located.

To edit existing test steps, click on the Edit button next to the Test Step or click on the Test Step. An inline section to edit the Test Step will open up as shown below:

Click on the Clear button to clear the whole text from the Action Text field.

Make the required changes and click on Update button to finalize changes.

A notification about successful test step update will be shown and we would be taken back to the Test Step Details page.

Delete Test Steps

To delete existing test steps, click on the Delete button next to the Test Step. A confirmation dialog will be shown as given below:

Select the checkbox and click on Delete to confirm Deletion.

As we discussed earlier, there are 2 more approaches to create Test Steps as given below:

 2. Using a Step Group: To create a test step with existing step group, go through this article - How To Use Step Group in Test step?

 3. Using a Custom Function: To create a custom function in the test step, go through this article -  How To Create Custom function in Test step?