Playback Class

Class contains the settings that must be used for playback.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.Playback

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

Syntax

'Declaration
Public NotInheritable Class Playback
public static class Playback
public ref class Playback abstract sealed
[<AbstractClass>]
[<Sealed>]
type Playback =  class end
public final class Playback

The Playback type exposes the following members.

Properties

  Name Description
Public propertyStatic member IsInitialized Gets or sets a value that indicates whether playback has been initialized.
Public propertyStatic member IsSessionStarted Gets or sets a value that indicates whether the playback session has started.
Public propertyStatic member PlaybackSettings Gets the current playback settings.

Top

Methods

  Name Description
Public methodStatic member Cancel Cancels the playback of the current operation.
Public methodStatic member Cleanup Performs clean up after the UITest playback.
Public methodStatic member EncryptText Encrypts a given text for passing to playback as password property.
Public methodStatic member GetCorePropertyProvider Gets the core property provider for the UI control.
Public methodStatic member GetCoreTechnologyManager Gets the core technology manager for the given technology.
Public methodStatic member Initialize Initializes playback for the UITest.
Public methodStatic member StartSession Starts a new session for playback.
Public methodStatic member StopSession Stops the current playback session.
Public methodStatic member Wait Makes the playback pause for a specified period of time.

Top

Events

  Name Description
Public eventStatic member PlaybackError This event is raised when an exception occurs during playback.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting Namespace