Editing a Test Case Using Live Editor


In Testsigma, Live Editor gives you complete control over test cases while executing, which helps fix issues or errors in real time. It eliminates the need to rerun the entire test after a failure, making debugging and test stabilization faster and more efficient. This article discusses editing test cases live while executing them using Live Editor.


Prerequisites

Before you begin, ensure you know how to create Test Cases and install Testsigma Terminal application.


Steps to Edit a Test Case Using Live Editor

  1. In the left navigation bar, go to Create Tests > Test Cases. Test Cases
  2. Create a new test case or open an existing one, and click Live Editor in the Action Panel. Action Panel
  3. In the Live Editor overlay:

    • Select a Data Set Name from the dropdown menu if the test case is data-driven. DataSet Name
    • To execute the test case until a failed step, enable Run till failed step toggle. Run till failed step
    • Select the test step to debug up to. Debug Point
  4. Click Launch. A new window opens with the Live Editor. Launch
  5. The test steps execute until the selected debug point.
  6. When debugging is complete, click Stop to close the Live Editor. Stop Live Editor
NOTE:

Clicking Stop stops the current execution but does not close the Live Editor. To close the Live Editor, open Testsigma Terminal application and click Quit Live Editor. Quit Live Editor