Skip to main content


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

Create UI-based tests with automated scenario testing

Updated on May 3, 2021

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.

  • Previous topic Increase control over data presentation by personalizing table views
  • Next topic Find and fix issues by using the Accessibility Inspector

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