Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Creating UI-based tests with scenario testing

Updated on April 5, 2022

Run scenario tests against a user interface to verify that the end-to-end scenarios are functioning correctly. The UI-based scenario testing tool allows you to focus on creating functional and useful tests, rather than writing complex code.

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 ruleset. 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.

  • Creating scenario tests

    Record a set of interactions for a case type or portal in scenario tests. You can run these tests to verify and improve the quality of your application.

  • Updating scenario tests
  • Creating unit test suites with AUT

    Unit Test Suites identify a collection of Test Cases and their rulesets, and a user (Operator ID) whose credentials are used to run the Unit Test Suite. Unit Test Suites are used to automatically run groups of test cases together and make unit testing more efficient.

  • Opening a scenario test case

    You can view a list of the scenario test cases that have been created for your application and select the one that you want to open.

  • 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.

  • 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.

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