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

1 Comment

  1. Travis 6 years ago

    This will be very helpful for use. I requested this a while ago and was told it wasn’t possible, so glad to hear that it is an option.

Leave a reply

Your email address will not be published. Required fields are marked *

*