exit loop

ループ内でexit loopが遭遇された場合、そのループは直ちに終了し、テスト実行の制御はループの直後にある次のアクションラインで再開されます。
このアクションには引数がありません。
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
                                
                                    	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	
                                
                            
  • 反復ループの早期終了は、通常、実行の過程で何らかの条件が変更された場合にのみ望ましいです。そのため、exit loop は通常、1つ以上の if 条件と関連付けられます。
  • exit loop は以下の種類のループをサポートしています:

Copyright © 2023 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(800) 322-0333