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

Raptor Subcharts

Raptor Flowcharts

Introduction

Subcharts are group of statements that can be called in the main flowchart. Sub-charts help breaks a complex Raptor flowchart into logical sub pieces to simplify design and ensure that the main flowchart is manageable. Subcharts and Procedures solve complex problems by separating statements into groups of commands. We can invoke the subcharts and procedures using the Call symbol. Programmer-defined subcharts and procedures appear as tabs in the workspace next to the main tab.

Subchart vs Procedure

Subchart transfers control but we cannot pass parameters to a sub chart. Unlike, Subchart we can pass parameters to the procedure. Subchart can be added in both Novice and Intermediate modes. Procedure is available in Intermediate mode only.

 

Raptor Subchart

When the main flowchart encounters the Call symbol, the control is transferred to the subchart. The subchart steps are executed. After the execution the control is transferred back to the main flowchart.

Creating a Subchart

By default when you start a Raptor flowchart, you will see the main tab with Start and End symbols. To create a sub chart, right-click the main tab and select Add sub chart from the menu as shown.

 

Sub chart

 

 

In the dialog box name the sub chart. Give a meaningful and crispy name to the sub chart based on the functionality of the sub chart.

Enter the name of your sub chart in the Name sub chart dialog box. A new tab would be created automatically with the name you give. Now you can begin to build your sub chart.

 

 

Call symbol

The Call symbol is used to call sub-charts from the main flowchart. Once you have created your sub chart, you can call the sub chart with the Call symbol. Insert the call symbol where you want it in your main flowchart, and enter the name of the sub chart that you want to be invoked.

 

 

When the flowchart runs, when the Call symbol is encountered the control will transfer to the sub chart. After all the steps in the sub chart are executed the control will be transferred to the next symbol after the Call symbol.

 

 

Demo Flowchart using Sub charts

https://www.testingdocs.com/raptor-subcharts-demo-flowchart/

 

RAPTOR Tutorial Page: https://www.testingdocs.com/raptor-a-flowchart-tool/

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

‹ Addition of Two Numbers RAPTOR flowchart› Launch RAPTOR on Windows

Recent Posts

  • MS Access Data Types
  • 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

Go to mobile version