Setting up your test environment

Configure which actions you want to run and which objects and pages you want to view on the clipboard before, during, and after the test is run.

To set up the environment and conditions that are required before running this test case, copy or create clipboard pages, apply data transforms, load data pages, execute activities, and create and load objects. Then, define the connections to data pages or third-party databases to simulate during the test. Finally, after running the test case, set up the environment and conditions that are required by applying data transforms, loading data pages, executing activities, and creating and loading objects.

Before you begin: Open the test case or test suite that you want to set up. For more information, see Opening a unit test case or Creating unit test suites.
  1. Click the Setup & Cleanup tab.
  2. Optional: To make specific conditions available during test execution, expand the Before rule execution section, and then configure the conditions:
    1. Copy or create clipboard pages.
      For more information, see Copy or create clipboard pages.
    2. Add additional clipboard data.
      For more information, see Add additional clipboard data.
  3. Optional: To define simulation settings for the test, expand the Simulation section, and then configure the simulations.
  4. Optional: To make specific conditions available after test execution, expand the After rule execution section, and then add additional clipboard data.
    For more information, see Adding additional clipboard data.
    Note: You can set up actions after rule execution for test cases only.
  5. To run the rule under on a page and avoid copying the entire page to RunRecordPrimaryPage, in the Advanced section, enter the page under which you want to run the rule.
  6. Click Save.