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 wait for the 'Test is waiting to start' event after the test has started

Error: Cannot wait for the 'Test is waiting to start' event after the test has started

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when a procedure uses a Wait until statement to wait for the Test is waiting to start event, in the un-shaded area at the bottom of the procedure.

The Test is waiting to start event can only occur before the test starts, so cannot be used in the un-shaded part of a procedure, which runs after the test has started. It must be used in the shaded area at the top of the procedure editor.

Bear in mind that the Test is waiting to start event will not be generated unless the protocol is set to use Automatic starting of tests.

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Automatic starting of tests 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0518