---
title: "Looping in Test Modeller Explained"
slug: "looping-in-test-modeller-explained"
description: "In this documentation article, learn all about looping in Test Modeller."
tags: ["Building Models", "Get Started", "Test Modeller"]
updated: 2024-09-27T15:06:22Z
published: 2024-09-27T15:06:22Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# Looping in Test Modeller Explained

In this documentation article, learn all about looping in Quality Modeller.

To create a loop, draw an edge (connection) from a node *backwards* to an earlier node in the Model. Once that connection is created, open the node properties from the shortcut menu.

Here you can specify the number of loop iterations, by default the maximum is set to 3 to avoid explosions ofTest Case. You will know when the loop has been activated successfully because the line will go dashed.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068467796.png)

In the example below, we have created a model with a single-iteration loop. Using an exhaustive coverage setting, 4 paths have been created.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068512120.png)

Path 1 does not consider the loop. Start → Step 1 → Step 2 → End

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068517229.png)

Path 2 considers the loop and goes back through the same step. Start → Step 1 → Step 2 → Step 2 → End

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068522776.png)

Path 3 considers the loop, but takes an alternative route through the model. Start → Step 1 → Step 2 → Step 3 → End

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068528249.png)

Path 4 does not consider a loop. Start → Step 1 → Step 2 → Step 3 → End

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1679068533603.png)

Quality Modeller is Curiosity's flow-driven model-based tool which provides a range of accelerators and connectors for building flowcharts rapidly. Align all stakeholders to quality outcomes and create critical assets early, delivering superior software at speed.

A Model is a canvas and the Flow that is built onto it. There are several types of Model, some of which display different tabs and tools on the toolbar in Quality Modeller.

Test cases are equivalent to paths through the model of a system under test. They are generated automatically from a model, with or without test data and test automation associated with them. Test Modeller has coverage techniques using advanced algorithms to generate the smallest set of test cases needed to test given features with a required level of rigour.

## Related

- [Quality Modeller 101](/test-modeller-101.md)
- [Quality Modeller](/get-started-with-test-modeller.md)
- [Building Models in Quality Modeller](/building-models-in-test-modeller.md)
- [Map Variables from a Subflow to Master Model](/map-variables-from-a-subflow-to-master-model.md)
- [Model Properties Explained](/model-properties-explained.md)
