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
	&nbsp	
repeat		
	&nbsp	
	text	
report	# temp count	
	&nbsp	
	name	value
local variable	temp count	#temp count+1
	&nbsp	
	condition	
if	# temp count=2	
	&nbsp	
exit loop		
	&nbsp	
end if		
	&nbsp	
	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:

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400