LDTP  3.5.0
 All Pages
wait

Syntax

wait([<number of seconds to suspend current execution>])

Description

Suspend execution for the specified time period. Default wait time is 5 seconds.

Note
Time in seconds.

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Utils.cs

Example

To suspend the current sequence of execution for 5 seconds

from ldtputils import *

wait(5)

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com
Shankar Ganesh shaga.nosp@m.n.gl.nosp@m.are@g.nosp@m.mail.nosp@m..com


Linux Desktop Testing Project