Build a Raptor Flowchart
Introduction
In this Raptor tutorial, we will go through the steps involved in build a simple Raptor flowchart. We would build a flowchart that asks the user for a number and then counts down to zero using a Repetition structure. We will print each number to the master console window.
Prerequisites
Raptor flowchart tool should be installed on the machine. For instructions on installing to tool on Windows:
https://www.testingdocs.com/installing-raptor-on-windows/
Familiar with Flowchart Symbols:
https://www.testingdocs.com/flowchart-symbols/
Steps
Start Raptor flowchart tool.
Save the file and give a meaningful name for your flowchart that describes the purpose of the flow chart. Flowcharts are stored with the .rap file extension as shown below.
Hello World Flowchart
Build the simple flowchart that prints “Hello World” on the console window:
https://www.testingdocs.com/building-first-flowchart-hello-world/
Add an Input symbol to the flowchart by left-clicking once on the Input symbol from the left side and then adding it between Start and End. Double click to add the prompt “Enter a number:” and use the variable name Count.
Next, add a Loop structure and edit its expression to
Count < 0
Add an Output symbol to output the variable Count to the MasterConsole window.
Add an Assignment symbol to decrement the value of Count. Edit the statement to
Count = Count – 1
To execute the flowchart, click on the forward arrow button
Output
The output of the Flowchart:
Count is: 5
Count is: 4
Count is: 3
Count is: 2
Count is: 1
Count is: 0
—-Run complete. 29 symbols evaluated.—-
RAPTOR tutorial page: https://www.testingdocs.com/raptor-a-flowchart-tool/
Flowchart examples: https://www.testingdocs.com/raptor-flowchart-examples/
RAPTOR official website: https://raptor.martincarlisle.com/