End Loop

This is a pre-built action available under the @Generic Element. The functionality of this action ends loop execution when parameterized data is used in a Test steps. When you use the Get Param action, a Start Loop action must come before it, and an End Loop action must follow it to avoid dangling errors during debug or execution

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value: N/A

Argument
Description

N/A

Not Applicable

Example: Ending Loop Execution

In this example, we explain how the End Loop action marks the closing point of a loop structure initiated by the Start Loop action.

  • Action: End Loop

  • Input Value: N/A

    • The End Loop action does not required any input value.

  • Logical Explanation: The End Loop action defines the end boundary of a loop structure that begins with the Start Loop action. When execution reaches the End Loop action, the system checks the looping parameters retrieved by the preceding Get Param action. Based on these parameters, the execution either repeats the steps enclosed between Start Loop and End Loop or exits the loop if all iterations are complete.

Last updated

Was this helpful?