Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Manage Test Scenarios (Beta)

Manage Test Scenarios (Beta)

View, run, and manage all the test scenarios that you saved for a flow.

Required Editions

View supported editions.
User Permissions Needed
To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow
Note
Note Test mode is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.

The list of saved test scenarios shows every scenario that you saved for the flow, split into two tabs based on whether Scenario Testing Automation was on or off when the scenario was last run:

  • Manually Evaluated tab: scenarios that you run and evaluate yourself. These scenarios work like debug runs in the Flow Builder debugger.
  • Automatically Evaluated tab: scenarios that Flow Builder runs and evaluates for you based on the assertions that you defined. Learn more about assertions in Automated Flow Testing.
  1. In Flow Builder, open the flow that you want to manage test scenarios for.
  2. Click Test to open Test Mode.
  3. If a scenario is open, click the back arrow.
    Back button on test scenario panel

    The list of saved test scenarios opens.

  4. To review manually evaluated test scenarios, click the Manually Evaluated tab.
    Manually evaluated tab with list of test scenarios
  5. To review automatically evaluated test scenarios, click the Automatically Evaluated tab.
    Each row has a checkbox, and Run Selected and Run All buttons show so that you can run one, several, or all automated scenarios at a time.
    Automatically evaluated test scenarios tab with list of test scenarios
  6. To open a scenario, click its test label.
  7. To edit, duplicate, or remove a scenario, open its dropdown list and select Edit, Save as New Scenario, or Delete.
  8. To create a scenario, click New Scenario in the list view, or New Scenario in the Flow Builder toolbar.
    The test configuration panel opens to the Setup tab, with empty Label and API Name fields in the Details section. Entering a label autofills the API name. Learn more in Set Up and Run a Test Scenario (Beta). If the new scenario is for an automated test run, Scenario Testing Automation is automatically selected.
 
Loading
Salesforce Help | Article