Table of Contents

Create UI-based tests with automated scenario testing

Scenario tests are run against a user interface to verify that the end-to-end scenarios are functioning correctly. The UI-based scenario testing tool allows developers to focus on creating functional and useful tests, rather than writing complex code, for single page applications (SPAs).

You can test either a specific case type or an entire portal by clicking Scenario Testing in the run-time toolbar to open the test recorder. When you use the test recorder and hover over a testable element, an orange highlight indicates that the element can be tested. Interactions are recorded in a visual series of steps and the execution of a test step can include a delay. 

Provide data to your test cases with a predefined data page. This data page can provide unique values for each execution of the test case. You can populate the data page by using any source, including activities or data transforms.

Tests are saved in a test rule set. After they are saved, tests are available on the Application: Scenario Testing landing page. From the landing page you can run a test or view the results of a previous test run.

Thumbnail

Application: Scenario Testing landing page

The Reports tab displays the test types, total number of tests, and the number of tests passed, failed, or not run. From the Reports tab, you can also export the test results to an Excel spreadsheet.

Suggest Edit

35% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.