End-For

This action in Avo Assure is available under the @Generic element. It instructs the Avo Assure client, after completing loop execution, to end the For loop using End-For action.

Syntax

Input: N/A

Output: N/A

Use case/Example

Scenario: Printing a Number Multiple Times

In this scenario, users are testing a feature in an application that outputs number of multiple times for confirmation or display purposes. We want to ensure that the application can correctly print a given number ten times.

End-for helps to close the for loop. It is must to use the “End-For” loop after using the For loop to avoid the dangling node error during debugging or execution. For loop will fetch the given input number, which is in the for-loop Input Value. It will print the number, which is stored in the "number" variable.

Input

The user wants to display 25 number.

Display times = 10 times

Number =25

Expected Result

It needed to print the given 25 numbers 10 times, which is given in for action input.

Output

The given input number 25 will display 10 times.

Last updated

Was this helpful?