How to repeat the script testing

Once I create a script, can I set it up to run the scripts 10 times automatically or run it in an infinite loop?

Thanks!

You can put the script into the Schedule tab and set a repeat there or you can write a script that runs it repeatedly:

repeat 10 times
    run myScript // you could also use runWithNewResults
end repeat