Generate Test Scenarios from User Actions


Testsigma can now generate automated test cases based on user actions. Simply enter the URL and allow the test recorder to capture the interactions to create test cases for each action performed on the page. It's that simple!

This article discusses generating end to end automated test cases based on user actions.


Prerequisites

Before you begin, ensure that:

  1. You have enabled AI features from Settings > Preferences > Generative AI features.
  2. You have referred to the documentation on creating test cases.

Steps to Test Scenarios from User Actions

  1. From the left navigation bar, go to Create Tests > Test Cases.
  2. Click Copilot and choose Test Scenarios from User Actions from the dropdown menu. This will open the Generate End-to-End Test Cases dialog box.
  3. Enter the URL in the text box and click Start Recording.
  4. The URL opens in a new window. Click Record, provide screen sharing access to Testsigma Recorder by choosing Tab/Window/Entire Screen, and click Share.
  5. The Copilot starts recording.
  6. Perform the actions for which you want to create test cases.
NOTE:

The recording option for user actions is available only for 1 minute and 30 seconds.

  1. Wait while Copilot generates the test cases.
  2. Select the test cases you want to add to the test case list and select Save Test Cases.