on error

Specify the execution path to take in the event of an error.
NameDescriptionTypeModifier
behavior

Action to be taken when an error occurs.

Allowable values:

  • continue: Continue running the remaining action lines.
  • exit action: Exit the current action and continue from the calling entity with normal execution flow.
  • exit test case: Exit the current test case (skip all remaining action lines in the current test case) and continue from there with normal execution flow.
  • exit test module: Exit the current test module (skip all remaining action lines) and, if applicable, continue execution with subsequent modules of the test run.

Value Setcontinue, exit action, exit test case, exit test module
None
This action may be used within the following project items: test modules and user-defined actions.
The following settings are applicable to this action: remove double quotes from cells.
Action lines
Initial
        
          	behavior	
on error	exit test case	

        
    
Test case: TC 01, 'on error' action work correctly with the 'exit test case' behaviour
        
              	program		
start program	C:\Program Files\LogiGear\TestArchitect\samples\CarRental\CarRental.exe		
&nbsp			
	window	control	
check control exists	login	sign up	
&nbsp			
	window	control	value
enter	login	user name	Alex
        
    
Result
  • This action supports the <ignore> modifier. If the string <ignore> is present as the value of the argument, or the argument contains an expression that evaluates to <ignore>, the action is skipped during execution.

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