ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Writing a procedure using the procedure editor > Errors and warnings while writing a procedure > Error: Cannot end the test after it has already finished

Error: Cannot end the test after it has already finished

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when a procedure tries to use an End the test action, but the test has already finished.

This applies to the following actions:

 End the test 
 End the test (specifying reason) 
 End the test, but allow continuation 
 End the test (specifying reason), but allow continuation  

Example

The following procedure will generate an error, because it waits for the Test ends event (which indicates that the test has ended) before attempting to end the test itself. However, the fact that this event has occurred means that the test has already ended, so the procedure cannot end the test itself.

  

  

Figure 1. This procedure will cause this error, because it tries to end the test after it has already finished.

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Actions available to procedures 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0524