Adding a user page to the clipboard
Quickly exercise your application logic in different scenarios by manually adding user pages in the Clipboard tool to mock the state of the application. For testing purposes, you can add user pages manually when your application is still in development. As a result, development efforts can continue in parallel rather than in sequence, which helps you deliver working software more rapidly.
For example, in an insurance claim case, you want to test a process that includes a Load data page step, but the case currently lacks a data model. In this situation, you can use the Clipboard tool to create mock pages to verify that the process runs correctly against a proposed model.- To avoid building logic into your application that provides mock values for application validation.
- To manually test your application against a data structure that is not available yet.
For relevant training materials, see the Clipboard data module on Pega Academy.
- In App Studio, navigate to an element that you want to test.
- In the footer of App Studio, click .
- In the Thread list, select the thread in which you want to add a user page.
- In the navigation pane, right-click User Pages, and then click Add Page.
- In the Add New Page dialog box, in the Page Name field, enter a name for the new page.
- Optional: To create a list of properties based on a specific class, in the Page
Class field, enter or select the class to which the user page belongs.Otherwise, the page that you create is classless.
- Optional: To provide values in the user page by using a data transform, in the Data Transform field, specify the data transform that supplies the initial values for the user page.
- If the data transform sends parameter values to the user page, click Get Params, and then enter the parameter values that you want to set in the appropriate fields.
- Click Submit.
Previous topic Setting property values with the Clipboard tool Next topic Measuring clipboard size