This documentation is archived and is not being maintained.

Playback Class

Class contains the settings that must be used for playback.


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

public static class Playback

The Playback type exposes the following members.

Public propertyStatic memberIsInitializedGets or sets a value that indicates whether playback has been initialized.
Public propertyStatic memberIsSessionStartedGets or sets a value that indicates whether the playback session has started.
Public propertyStatic memberPlaybackSettingsGets the current playback settings.

Public methodStatic memberCancelCancels the playback of the current operation.
Public methodStatic memberCleanupPerforms clean up after the UITest playback.
Public methodStatic memberEncryptTextEncrypts a given text for passing to playback as password property.
Public methodStatic memberGetCorePropertyProviderGets the core property provider for the UI control.
Public methodStatic memberGetCoreTechnologyManagerGets the core technology manager for the given technology.
Public methodStatic memberGetNativeCoreTechnologyManagerGets the native core technology manager for the given technology.
Public methodStatic memberInitializeInitializes playback for the UITest.
Public methodStatic memberStartSessionStarts a new session for playback.
Public methodStatic memberStopSessionStops the current playback session.
Public methodStatic memberWaitMakes the playback pause for a specified time.

Public eventStatic memberPlaybackErrorThis event is raised when an exception occurs during playback.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.