Create Test Steps in Testsigma


In Testsigma terminology, each automated action executed by the test script is a test step. For example, in a login form, Enter <username> in the <username> field is a test step. This article discusses creating test steps for web, mobile web, Android, and iOS applications using Testsigma recorder & simple English (NLPs).


Prerequisites

Before you begin, ensure you're familiar with concepts of Features and Scenarios, Test Step Types, have installed the Test Recorder, and have a Web/Android/iOS app to test.


Creating Test Steps Manually

Web & Mobile Web

  1. From the left navigation bar, go to Create Tests > Test Cases. Left Navigation Bar
  2. In the Test Case Explorer section, expand the required feature and click the + icon next to the target scenario. This will open a dialog box. Feature Test Case Explorer
  3. On the dialog box, validate the target feature and scenario, enter the name, and click Create. Test Case Name

    Alternatively, click the + icon next to the search bar and select New Test Case from the drop-down menu. Follow the same steps as above.
    Search bar test case

NOTE:
  • You can edit the target feature and scenario by clicking on the Edit icon. This will open the Select Location dialog. Scenario Change Edit Icon
  • In the Select Location dialog, select the target feature and scenario and click Confirm.
    Select Scenario Location
  • This feature functions consistently across all applications.
  1. Use NLPs to create test steps as per the test case scenario.

    For example, if you’re creating test steps for the login page, your test steps will be:

    1. Navigate to https://simply-travel.testsigma.com/
    2. Click on Login or Sign Up
    3. Click on Login
    4. Enter <email> in the <email address> field
    5. Click on Continue
    6. Enter <password> in the <password> field
    7. Click on Submit

    Here's a screenshot of the test steps that were reproduced in the Testsigma application: Login New Credentials 1

Android and iOS

  1. From the left navigation bar, go to Create Tests > Test Case. Android Create Test Case
  2. In the Test Case Explorer section, expand the required feature and click the + icon next to the target scenario. This will open a dialog box. Android New Test Case
  3. On the dialog box, validate the target feature and scenario, enter the name, and click Create. Test Case Name New

    Alternatively, click the + icon next to the search bar and select New Test Case from the drop-down menu. Follow the same steps as above.
    Search Bar Test Case Selection

  4. Use NLPs to create test steps as per the test case scenario.
NOTE:
  • By default, the first step for Android and iOS applications is Launch App.
  • You can also add steps above and below a test step by clicking on Step Above & Step Below. Create New Steps

Creating Test Steps Using Test Recorder

Web and Mobile Web

  1. From the left navigation bar, go to Create Tests > Test Cases. Record Create Test Case
  2. In the Test Case Explorer section, expand the required feature and click the + icon next to the target scenario. This will open a dialog box. Plus Icon Test Case
  3. On the dialog box, validate the target feature and scenario, enter the name, and click Create. Record Test Case Name

    Alternatively, click the + icon next to the search bar and select New Test Case from the drop-down menu. Follow the same steps as above. Record Search Bar Test Case

  4. Create a test step using the URL that you want to automate and click Create Step. Create Steps Button
  5. Click Record. Record Button
  6. A new window will open the given URL. New Window URL
NOTE:
  • Please wait until the web page is fully loaded so the extension can collect information from the page in the background.
  1. Once the first web page is fully loaded, start interacting and performing actions on the page.
  2. The actions will be recorded and added to the test case in the background.
  3. Once the required actions are complete, click on Stop to switch back to the test case details page. Record Stop Buton
  4. You can see the steps recorded in the test case details page. Recorded Steps 1

Android and iOS

  1. From the left navigation bar, go to Create Tests > Test Cases. Create Test Case iOS
  2. In the Test Case Explorer section, expand the required feature and click the + icon next to the target scenario. This will open a dialog box. New Test Case iOS
  3. On the dialog box, validate the target feature and scenario, enter the name, and click Create. Test Case Name iOS

    Alternatively, click the + icon next to the search bar and select New Test Case from the drop-down menu. Follow the same steps as above.
    Search Bar Test Case iOS

  4. Click Create Step and click Record.
    Start Test Case Steps
  5. In the Record test steps overlay, select the required options in the Test Lab and Test Machine sections. Record Settings 1
  6. Click Upload and upload the required file. Upload iOS
  7. Click Record. Record Button iOS
  8. Perform the actions on the application and once the required actions are complete, stop the recording to switch back to the test case details page.
  9. The test case details page will display the steps performed on the application.
NOTE:
  • If direct recording doesn't work, revert to the old method and use the TAP button to record the element.