Create a Flowchart
abstractCreate your first flowchart
goalVisually design a test flow in a flowchart. A flowchart can be used for manual testing or automation.
Here, we will create a flow to add an item to the shopping cart of an e-commerce website.
steps
Start Sahi Pro Dashboard
- Start Sahi Dashboard by any of the following methods:
Double click on the desktop shortcut or
Start from the command line.- Windows:
- Go to
<sahi_root>\userdata\bin
and runstart_dashboard.bat
- Linux
- Go to
<sahi_root>/userdata/bin
and run./start_dashboard.sh
- Windows:
- Go to
- The Sahi Pro console will appear.
Launch Flowcharts UI
- The Sahi Pro Dashboard will appear.
- Click on the
Flowcharts
button. - The User interface opens in your default browser, displaying the welcome screen or the project page.
Create a Project
- Click on the
Create project
button. - Enter Project details:
- In the Project Details dialog box, provide a Project name :
Open Cart
and description (optional). - Click on
SAVE CHANGES.
- In the Project Details dialog box, provide a Project name :
Create a New Flowchart
- Click on the
Create New
button to create a new flowchart. - The flowchart window appears with a blank flowchart containing the Start node.
Add Nodes
- Add a
Label
Node:- Click on the
Start
node, choose Add Node > Label. - Type suitable name for the Path:
Shopping Cart
and Click OK. - This will add the Label node below Start.
- Click on the
- Add an action node:
Go to Product page
.- A new Action node will get added.
- Note that all nodes are colour coded to avoid confusion.
- Add another action node:
Add item to cart
The flowchart now looks like this: - Add an outcome node:
Verify item added to cart
The flowchart now looks like this:
Save
- Click on the Save button.
- Type the name for the flowchart.
- Click OK.
outcome
Congratulations! A visual flowchart depicting your test case is ready!
concepts
- Project
- Flowchart
- Path
- Node