Interrupting Long Running or Infinite Loop Scripts

Interrupting Long Running or Infinite Loop Scripts

Avoiding Long Running or Infinite Loops

Method: context.testExecutionCancelled()

Adding at the beginning of every loop allows you to manually abort script processing which is handy during a test run. Every time you start an Andi script, a Stop button is presented allowing you to exit a script prematurely.