Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Playback.Wait Method

Makes the playback pause for a specified period of time.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public static int Wait(
	int thinkTimeMilliseconds


Type: System.Int32
The wait duration in milliseconds.

Return Value

Type: System.Int32
The actual wait duration.

The actual delay is calculated by multiplying thinkTimeMilliseconds by ThinkTimeMultiplier, to increase or decrease the delay. However, the delay will not be longer than DelayBetweenAction().

Community Additions

© 2015 Microsoft