You are here:
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 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.
- In Flow Builder, open the flow that you want to manage test scenarios for.
- Click Test to open Test Mode.
-
If a scenario is open, click the back arrow.
The list of saved test scenarios opens.
-
To review manually evaluated test scenarios, click the Manually
Evaluated tab.
-
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.
- To open a scenario, click its test label.
- To edit, duplicate, or remove a scenario, open its dropdown list and select Edit, Save as New Scenario, or Delete.
-
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.
Did this article solve your issue?
Let us know so we can improve!
