TestPlan Sleep
Document

Sleep

by Group Public on Monday March 15 2010 @ 08:34:29 (1/1 Points)

API ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

Sleep causes the current script to pause a specified period of time. Other units running in parallel will be unaffected by this call.

Syntax

Sleep takes a single parameter, the duration of the pause. That is, how long should it sleep.

# Sleep for 10s
Sleep 10s

There is no guarantee of accuracy here, and how long the script actually sleeps can be influence by many things. It should always sleep at least this amount of time, and in general the accuracy is within 10's or 100's of milliseconds.

© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: