Skip to main content

Management of Pega scenario testing artifacts

With the Pega scenario testing framework, you can manage scenario testing artifacts in two work spaces:

  • The Application: Scenario testing landing page in Dev Studio.
  • The Scenario tests pane in a User portal.

In Dev Studio, you can view test cases, run test cases individually or in a batch, edit test case steps and configure steps to setup and clean-up test data of a test case. You cannot create new test cases and modify the flow of a test case from this landing page.

In a user portal, you can create new test cases, run test cases individually, edit test case steps, and modify the flow of a test case. You cannot run test cases in a a batch and configure actions to set up and clean up test data for a test case. 

Scenario tests in Dev Studio

On the Application: Scenario testing landing page, you can view and run scenario test cases. The Application: Scenario testing landing page is accessible from the Configure menu in the header of Dev Studio. You can also access the landing page by clicking Scenario Testing in the footer of Dev Studio, as shown in the following image:

Image depicts how users can access the same Scenario testing landing page by clicking the shortcut in Developer Studio.

The Application: Scenario testing landing page consists of three tabs in which you manage respective artifacts: 

  • Test cases: On this tab, you can view and run all Pega scenario test cases that are authored for your Pega application. You can also filter test cases based on test type, case type or portal name, access group, and other fields.
  • Test suites: On this tab, you can view all the test suites that for their Pega application. You can also filter test suites based on test suite name, test suite ID, and other fields.
  • Reports: On this tab, you can view test execution summary of your Pega scenario test cases. This tab also provides the test execution summary of the case and portal test types.
Image depicts how users can access the Scenario testing landing page by clicking the shortcut, Scenario Testing, from the footer in Pega Developer Studio.

You can access all scenario test cases that are created for case types and interaction portals on the landing page. The Test type column indicates whether a test case is in the Portal or Case type category. You can also filter test cases in the Portal / case name column to view all the test cases of any specific portal or case type.

The functionality of the Test cases, Test suites, and Reports tabs of the Application: Scenario testing landing page is similar to that of the Pega unit landing page. 

For more information, see The Application: Unit testing landing page.

Check your knowledge with the following interaction:

Scenario tests in a User portal

In a user portal, the Pega scenario testing framework has the Scenario tests pane in which you can view and manage scenario test cases for your Pega application.

The following sequence opens the Scenario tests pane in a User portal:

  1. The Toggle runtime toolbar in the lower-right corner of the User portal opens the runtime toolbar. 
    toggle bar
  2. The Toggle Automation Recorder on the runtime toolbar opens the Scenario tests pane. 
    Image depicts how the user must click the “Toggle scenario tests panel” from the Runtime toolbar,  to open the Scenario tests panel.

The following figure shows the Scenario tests pane with examples of test cases that either passed or failed:

Image depicts the Scenario test panel

In this pane, you can access all the scenario test cases for case types and interaction portals of an application. Use the Search Test Case field to search for test cases.  

You can create a new scenario test case in a User portal only. In the Scenario tests pane, users click Create test case  to create a test case. You can also view, edit, debug, run, and delete scenario test cases in the Scenario tests pane. When you select a test case, the Run, Edit, Debug, and Delete options are displayed, as shown in the following figure:

test case options

To view a recorded test case, click the name of the test case. The recorded steps of that test case are displayed. You can run, edit, and debug the opened test case, as shown in the following figure:

Image displays the options such as run, edit, and debug for a recorded test case.

Check your knowledge with the following interaction:


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice