Quantcast
Channel: froglogic
Viewing all articles
Browse latest Browse all 398

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

$
0
0

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


Viewing all articles
Browse latest Browse all 398

Trending Articles