Scenario testing on Pega Platform
Run scenario tests against a user interface to verify that the end-to-end scenarios are functioning correctly. You can record a set of interactions for a case type or portal in your scenario tests. You can also group related scenario tests into test suites to run multiple scenario test cases in a specified order.
In versions of Pega Platform earlier than 8.5, scenario testing is provided as a native Pega Platform and is released as an independent component.
- Application: Scenario testing landing page
The scenario testing landing page provides a graphical test creation tool that you can use to increase test coverage without writing complex code.
- Creating scenario tests
Verify and improve the quality of your application by recording a set of interactions for a case type or portal in scenario tests. As a result, you ensure that your application runs correctly and that the end-user experience that you deliver is error-free and works as expected.
- Opening a scenario test case
To conveniently test the UI of different portals and cases in your application, you can view a list of the scenario test cases for your application and select the test that you want to open.
- Editing scenario tests
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.
- Grouping scenario tests into suites
Group related scenario tests into test suites to run multiple scenario test cases in a specified order. You can then run the scenario test suites as part of purpose-specific tests, such as smoke tests, regression tests, or outcome-based tests. Additionally, you can disable or quarantine individual scenario tests for an application so that they are not executed when the test suite runs.
- Viewing scenario test results
After you run a scenario test, you can view the test results. For example, you can view the expected and actual output for assertions that did not pass.
- Other features
Previous topic Running scenario tests against a user interface Next topic Application: Scenario testing landing page