Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Editing scenario tests

Updated on February 4, 2021

Ensure that the test covers your current portal or case type scenario by updating an existing scenario test when the user interface or process flow changes. You can save time and effort by keeping existing tests functional instead of creating new ones.

Before you begin: Create a scenario test case for a portal or case type. For more information, see Creating scenario tests
  1. Launch the portal in which you want to do the test
  2. Do one of the following to open the automation recorder:
    • In App Studio, on the lower-left side of the screen, click the Test icon.
    • In Dev Studio, on the lower-right side of the screen, toggle the run-time toolbar, and then click the Toggle Automation Recorder icon.
  3. In the Scenario tests pane, click the name of the test that you want to edit, and then click Edit.
  4. Update the test sequence by clicking the More icon next to a step, and then selecting an action:
    • To remove a step from the test case, click Remove step.
    • To add a step to the test case, click Add steps.

      The test runs from the start and stops at the selected step so that you can add steps to the specific part of the test sequence.

    • To record the test case again from a specific step, click Re-record from here.

      All steps after the selected step are removed. The test runs from the start and stops at the selected step so that you can add steps to the end of the test sequence.

  5. Optional: To modify a step, click the Edit icon next to a step, modify the assertions and other properties of the step, and then click Save step.
  6. Click Save.
What to do next: Your scenario test case now matches the current user interface and process flow. Run the test to check the quality of your current portal or case type scenario.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us