Squish tip of the week: How to slow script playback down

Squish tip of the week: How to slow script playback down

At times, having a script playback slower may be helpful.

The sample script below snoozes for 0.5 seconds between each step in main():

import sys

def for_each_call(frame, event, arg):
    snooze(0.5)

def init():
    sys.setprofile(for_each_call)

def main():
    ...

Read the following knowledgebase article to learn additional approaches:
Article – Slowing Down Test Script Execution