End-For
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Input: N/A
Output: N/A
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.
The user wants to display 25 number.
Display times = 10 times
Number =25
It needed to print the given 25 numbers 10 times, which is given in for action input.
The given input number 25 will display 10 times.