exit loop
When the exit loop is encountered inside a loop, the loop is immediately terminated and the test run control resumes at the next action lines following the loop.
There are no arguments for this action.
None
This action may be used within the following project items: test modules and user-defined actions.
name value
local variable temp count 1
 
repeat
 
text
report # temp count
 
name value
local variable temp count #temp count+1
 
condition
if # temp count=2
 
exit loop
 
end if
 
condition to stop
until #temp count=4
- Premature termination of an iterative loop is usually only desired if, during the course of execution, some condition has changed. Hence exit loop is usually associated with one or more if conditions.
- Exit loop supports the following types of loops:
- while-end while
- repeat-until
- use data set-repeat for data set
- Notes:The support for data set loops applies to TestArchitect 8.3 Update 5 and higher.