Playback.Wait Method

Makes the playback pause for a specified time.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

public static int Wait(
	int thinkTimeMilliseconds
)

Parameters

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft