Incorrect Usage of Break Statements

A break statement transfers control of the script out of the innermost nested for, for each, while, switch, or select statement only. Break exits from a single loop level, not from multiple levels. To ensure that the flow of control works as you expect, click Debug > Step Into in the Silk Test Classic menu to step through the script one line at a time. For additional information, see Stepping Into and Over Functions.