|
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 before it has started Error: Cannot end the test before it has started
DescriptionThis 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 before the test has started. This applies to the following actions:
ExampleThe following procedure will generate an error, as it may try to end the test before it has started. The shaded area represents statements that will run before the test starts; the non-shaded area is run after the test has started.
Figure 1. This procedure will cause this error, because it may try to end the test before it has started.
To prevent this error, simply move the statements that use the End the test action to be after the test starts (i.e. within the un-shaded section of the procedure). See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0523 |