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 Scenario Testing in the footer of Dev Studio, as shown in the following image:
menu in the header of Dev Studio. You can also access the landing page by clickingThe 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.
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 or 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:
- The Toggle runtime toolbar in the lower-right corner of the User portal opens the runtime toolbar.
- The Toggle Automation Recorder on the runtime toolbar opens the Scenario tests pane.
The following figure shows the Scenario tests pane with examples of test cases that either passed or failed:
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 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:
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:
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.
Want to help us improve this content?