Record Test Steps


Copilot lets you capture test steps by performing actions directly in your application, recording each interaction in real time, and converting them into automated test steps instantly. Any new steps you record are added and executed in the same session, without leaving Copilot. This article discusses how to record test steps using Copilot.


Prerequisites

Before you begin, ensure that:

  • You have created a test case.
  • You have installed and configured the Testsigma Terminal.
  • You have referred to the documentation on Launch Copilot.

Steps to Record Test Steps

Once the session is active, you can add recorded steps in two ways, depending on where you are in the execution.

Add Below a Specific Step

  1. When execution hits a debug point and pauses (or fails), hover over any step and click Step Below, then click Rec. Rec
NOTE:

The Rec button is enabled only when execution is paused at a debug point, when execution fails, or once execution is complete.

  1. Perform actions in your application. The Copilot records each action as a test step in real time.
  2. Click Stop Recording to end the session. stop recording
  3. Review the recorded steps in the steps panel.
  4. Click Add Steps to insert them immediately below the selected step, or click Discard to remove them. Add steps
NOTE:
  • If you insert steps below the last executed step, the recorded steps are executed automatically once added. Executed automatically
  • If you insert steps above the last executed step, click Resume. Resume
  • The Browser State Changed dialog appears:

    • Click Restart Execution to restart the execution.
    • Click Dismiss to continue from where execution stopped. Upon dismissal, manually adjust the state of the application to keep it in sync with the step to be executed. Restart Execution

Add at the End

  1. Once execution is complete or paused at a debug point, click Rec to start a recording session. By default, steps get recorded at the end. You can reorder the steps if required. Rec
  2. Perform actions in your application. The Copilot records each action as a test step in real time.
  3. Click Stop Recording. Stop recording
  4. Review the recorded steps in the steps panel.
  5. Click Add Steps to append them to the end of the test case, or click Discard to remove them. Add steps
  6. Once you have added the recorded step(s), click Resume. Resume
  7. The Browser State Changed dialog appears:

    • Click Restart Execution to restart the execution.
    • Click Dismiss to continue from where execution stopped. Upon dismissal, manually adjust the state of the application to keep it in sync with the step to be executed. Browser state changed
NOTE:

If execution was complete before starting this action, the recorded steps are executed automatically after clicking Add Steps. Add steps