beautypg.com

Creating a simple repeat loop – MTS Multipurpose Elite User Manual

Page 442

background image

Description

Property

the loop counter variable to zero before entering the
repeat loop.

Defining this property exposes the internal iteration
counter for the loop. Create a Loop Index Variable
if you want to be aware of the current index value.

Loop Index
Variable

After each iteration through a loop, the Loop Index
Variable
is incremented by the step by value of 1.

The default starting point is zero (zero-based).

Optional.

The Exit at the End of property allows for early
termination of the loop. Click the green plus sign to

Exit at the End of

open the Activities Selection window and select the
activity or activities within the Repeat Loop that
prematurely terminates the Repeat Loop activity.
This exit property is similar to the Additional
Terminal Activities
property of the Parallel Paths
activity. The repeat loop stops all workflow processing
after it encounters the first exit activity referenced
and starts the workflow sequence for the activity at
the end of the loop.

Optional.

For More Information

Concept

Repeat Loop Activity Overview

Task

Creating a Simple Repeat Loop

(p. 442)

Creating a Repeat Loop that uses a Loop Index Variable

(p. 443)

Creating a Simple Repeat Loop

Follow these steps to configure a simple Repeat Loop activity.

1. Click and drag a Repeat Loop activity to the desired location in the test workflow.

2. In the Total Count box, enter the number of times you want to repeat the loop.

3. Drag the activity or activities you want to repeat into the Repeat Loop container.

4. If desired, select an activity or activities to exit the loop early from the Exit at the End of property.

For More Information

Concept

Repeat Loop Activity Overview

Reference

Repeat Loop Activity Properties

(p. 441)

Example: Simple Repeat Loop

(p. 443)

442 | MTS TestSuite

Test Activities