Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Run Test Procedures (Managed Package)

Run Test Procedures (Managed Package)

For the managed package runtime, the Test dashboard lets you run Test Procedures (Integration Procedures that perform unit tests) and analyze the results of the tests.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

To create Test Procedures, see Test Procedures: Integration Procedures for Unit Testing (Managed Package).

  1. Click the List Panel icon (The List Panel icon, which looks like three stacked horizontal lines.).
  2. Click Test Console.
  3. In the Test User dropdown list, select a user logged in to an org.

    To configure limited access to an org, see Configure an Org Using a Community User Login (Managed Package).

    A list of active Test Procedures appears. To refresh the list, click Get Tests.

  4. Select each Test Procedure to run it. To run all Test Procedures, select All Tests.
  5. Click Actions > Start Test.

    When tests are complete, results appear in the Test Results pane.

    If a test fails, the failure message and test expression from the Test Procedure's Assert Action for Integration Procedures (Managed Package) are displayed.

  6. To display all of the test result data, click View JSON.
  7. To display a chart of running times for the Test Procedure steps, click View Chart.

    If an Assert Action fails, a warning icon (! within a triangle) appears next to the step.

  8. To see the running times for an Integration Procedure being tested, expand the Integration Procedure Action step.
  9. To go to a step in the org, right-click the step name, then click Open in Browser.

    For example, right-clicking an Omnistudio Data Mapper Extract Action opens the Data Mapper that the step calls.

  10. To display data for a specific step in a pop-up window, click the bar for that step in the chart.
  11. You can expand Data and scroll down to see the request and response data.
 
Loading
Salesforce Help | Article