set notice level

Set the severity level of runtime problem that will result in execution being interrupted to await user intervention.
NameDescriptionTypeModifier
level

The notice level.

Allowable values:

  • 0: Do not interrupt test run, regardless of problem severity.
  • 1: Interrupt test run for fatal problems only.
  • 2: Interrupt test run for fatal problems and regular errors.
  • 3: Interrupt test run for any error or warning.

Value Set0,1,2,3
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
Section: initiation
        
          	level
set notice level	0
&nbsp	
	behavior
on error	exit action
        
    
Section: Pre-condition
        
              start app_notepad
        
    
Test case: TC 01, on error action works correctly with behaviour is "exit action" on invalid defined control in test module
            
                  	window	control
check control exists	insert	text_1
&nbsp		
	text	
report warning	FAILED IS EXPECTED	
&nbsp		
	text	
report	SHOULD SHOW A WARNING MESSAGE AT HERE	
&nbsp		
	value	expected
check value	1	1
check value	0	0
&nbsp		
	window	control
check control exists	insert	text
&nbsp		
	window	
check window exists	insert	
&nbsp		
	text	
report	SHOULD EXECUTE FOUR CHECKPOINTS	
            
    
Section: Close Notepad App
            
                  close_notepad
            
    
Result
  • This action sets the value of the notice level built-in setting. Note that the same effect can be achieved by using the setting action with notice level.
  • When a problem with a high enough severity causes the test to pause, the user is presented with a message box indicating the nature of the problem, and is offered the choices of stopping the test, continuing with the remainder of the test, or debugging the problem.
  • All problem events, whether or not of sufficient severity to trigger a pause in the test run, are logged to the test results.
  • 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 © 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