Test Steps define the actions that need to be performed in a Test Case. A Test Case is a set of activities that are performed in a serial or consecutive way to test a feature on an application. Test Steps in Testsigma help end users to perform that activity. 


In this article, we discuss how to create Test Steps, eventually building Test Cases, Test Suites and Test Plans which are the building blocks of your Testsigma Automation Platform.


Navigation


Navigate to the test cases page by following the steps below


Test Development > Test Cases > Create 


Enter a meaningful name for the Test Case, add a description, choose Advanced Options and click Create. 


Create Test Steps


Testsigma empowers users to creating Test Steps using two ways


1.  Using Natural Language(Templates)

2. Using a Step Group


Choose the specific NLP that needs to be used and click on the Create Button.




1. Using Natural Language(Template)


Natural Language options helps you to create Test Steps using an extensive set of commands in Plain 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 type 'paul@gmail.com' into the username field on a webpage, start by entering "Enter" in the Action Text field.

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


Enter [test data] in [UI identifier]



[test data] is what you need to replace with your username. It can be any data such as a username or email "paul@gmail.com".


[UI Identifier] is what locates the Web UI Element on the web page or on mobile apps(id, Xpath, name e.t.c) on a web page.



Double click on test data 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.


For Test Data, 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?


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?


Depending on your preference, 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 which you will have 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.


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


Watch this 30 second video to understand how to create Test Steps.





Edit Test Steps


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.




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:

Click on Delete to confirm Deletion.



 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?