Test environment setup

On the Setup & Cleanup tab you can configure which actions will be performed and which objects and pages will be available on the clipboard before and after the test is run.

You can set up or clean up the clipboard if you are running a test for which the output or execution depends on other data pages or information.

For example, your application contains a data page D_AccountTransactionsList. This data page is sourced by a report definition or activity that loads the transactions of the logged-in customer, based on the account type for which the customer views transactions.

The customer number and account type that the customer selects are dynamic properties that are stored on the work page of the case. The report definition or activity retrieves these properties as parameters from the work page and filters the results as it obtains the results for the data page.

When you create a test case for D_AccountTransactionsList, ensure that one of the following conditions is met:

  • The parameter properties are on the work page of the clipboard before running the data page test.
  • Your data page has an activity or report definition that refers to the properties of another data page that is on the clipboard to filter the results.

The system always runs data transforms, activities, and strategies on the RunRecordPrimaryPage page, regardless of which page you chose when you unit tested the rule in the Run dialog box. The system also runs flows and case types on the pyWorkPage. To update the page with any information required to set up test data, click the Setup tab.