Skip to main content


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

Improve your experience with creating and cleaning test data for automated tests (8.2)

Updated on May 3, 2021

When creating test data for automated tests, you now have more tools at your disposal and more fine-grained control. For example, you can separately define actions that will happen before and after rule execution during the test run.

You can also add multiple user pages from the clipboard and configure them. These pages will be copied to the clipboard at test run time.

The following figure shows the option for adding clipboard pages in the Setup & Cleanup tab of the Edit Test Case page.

Thumbnail
Adding clipboard pages to the test case

When creating or editing a test case, you can also load objects and create work or data objects that will be available during test run time, either before or after rule execution. The following figure shows these configuration options.

Thumbnail
Configuring a test case

By default, all the created test data is automatically cleaned up after the test run ends. You can override this behavior and keep the test data in the clipboard after the test has been completed. This option is useful if you want to create a series of tests cases that need data from previous tests. The following figure shows the cleanup options.

Thumbnail
Configuring cleanup options in the test case

For more information, see Setting up your test environment and Cleaning up your test environment.

  • Previous topic Manage your artifacts by using custom repositories (8.2)
  • Next topic Get test coverage from multiple testing sessions

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