on error

エラー発生時に取るべき実行パスを指定します。
名前説明タイプ修飾子
behavior

エラーが発生した際に取るべきアクションです。

許容値: 

  • continue: 残りのアクションラインを実行し続けます。
  • exit action: 現在のアクションを終了し、呼び出し元のエンティティから通常の実行フローで続行します。
  • exit test case: 在のテストケースを終了し(現在のテストケース内の残りのアクションラインを全てスキップ)、通常の実行フローでそこから続行します。
  • exit test module: 現在のテストモジュールを終了し(残りの全てのアクションラインをスキップ)、適用される場合、テストランの後続のモジュールで実行を続けます。

Value Setcontinue, exit action, exit test case, exit test module
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  remove double quotes from cells.
アクションライン
Initial
        
          	behavior	
on error	exit test case	

        
    
Test case: TC 01、 アクション on error は exit test case 行動と正しく動作します
        
              	program		
start program	C:\Program Files\LogiGear\TestArchitect\samples\CarRental\CarRental.exe		
&nbsp			
	window	control	
check control exists	ログイン	サインアップ	
&nbsp			
	window	control	value
enter	ログイン	ユーザー名	Alex
        
    
結果
  • このアクションは修飾子 <ignore> をサポートしています。引数の値として <ignore> が存在するか、引数に <ignore> に評価される式が含まれている場合、そのアクションは実行中にスキップされます。

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