Close popover

Table of Contents

Creating UI-based tests with scenario testing

Version:

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

    A keystore is a file that contains keys and certificates that you use for encryption, authentication, and serving content over HTTPS. In Pega Platform, you create a keystore data instance that points to a keystore file.

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

Suggest Edit

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.