TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Raptor Flowchart

Build a Raptor Flowchart

Raptor Flowcharts

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/

Related Posts

Install RAPTOR Avalonia CentOS

Raptor Flowchart /

Install RAPTOR Avalonia on CentOS

RAPTOR Avalonia Edition Windows

Raptor Flowchart /

Download RAPTOR Avalonia Edition on Windows

RAPTOR Editions

Raptor Flowchart /

RAPTOR Editions

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Write to a file with RAPTOR flowchart

Sum of Squares Array Elements Modular Approach

Raptor Flowchart /

Sum of Squares of Given Array Elements

‹ Execute a Raptor Flowchart› Multiply Two numbers Raptor Flowchart

Recent Posts

  • Update draw.io on Windows
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com