Create business flows
A business flow maps out user activities and paths through your application. You can later use these paths to automatically generate test cases, which speeds up test authoring and ensures full test coverage. This topic takes you through your first steps: creating a new business flow and understanding best practices for designing business flows.
Before you start
To create a business flow, you need to be an Administrator or Contributor. Users with a Viewer role can look but not touch.
Create a new business flow
To create a new business flow, go to Test data > Business flows and select Create business flow.
Best practices for business flows
Before you start adding things to your business flow, take a moment to review these best practices for designing business flows:
-
Reflect real business processes. We recommend that you design business flows based on user journeys that are important to your organization, so that your tests provide meaningful coverage.
-
Start with your happy paths. We recommend that you keep it simple, especially at the start of the process, so that you don't get bogged down or overwhelmed. You can always add edge cases later on.
-
Break down flows into clear, reusable activities. We recommend that you define meaningful, self-contained activities, so that you can reuse them in multiple paths and keep your maintenance down.
-
Create self-contained, end-to-end business flows. We recommend that you always keep resulting test cases in mind, so that your business flow generates test cases that meet test case best practices.
-
Review with stakeholders. We recommend that you get feedback along the way, so that your business flow reflects important user journeys and business goals.
What's next
Define activities for your business flow. Activities specify what users can do in your application and how those actions connect.