ActionLogInvoker Class

Generates the action log from the test actions that are collected from the recorder and playback.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionInvoker
    Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.ActionLogInvoker

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Syntax

'Declaration
Public NotInheritable Class ActionLogInvoker _
    Inherits UITestActionInvoker
public sealed class ActionLogInvoker : UITestActionInvoker
public ref class ActionLogInvoker sealed : public UITestActionInvoker
[<Sealed>]
type ActionLogInvoker =  
    class
        inherit UITestActionInvoker
    end
public final class ActionLogInvoker extends UITestActionInvoker

The ActionLogInvoker type exposes the following members.

Constructors

  Name Description
Public method ActionLogInvoker Initializes a new instance of the ActionLogInvoker class by using the provided text writer.

Top

Properties

  Name Description
Public property InRetryMode Gets or sets a value that indicates whether the invoker is in retry mode. (Overrides UITestActionInvoker.InRetryMode.)

Top

Methods

  Name Description
Public method Cancel Cancels the current invocation task. (Overrides UITestActionInvoker.Cancel().)
Public method Dispose Releases resources. (Overrides UITestActionInvoker.Dispose().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke(AssertAction, UIMap) Generates an action log entry for an assert action. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).)
Public method Invoke(BrowserAction, UIMap) Generates an action log entry for a browser action. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).)
Public method Invoke(DelayAction, UIMap) Generates an action log entry for a delay action. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).)
Public method Invoke(DragAction, UIMap) Generates an action log entry for a drag action. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).)
Public method Invoke(DragDropAction, UIMap) Generates an action log entry for a drag-and-drop action. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).)
Public method Invoke(ErrorAction, UIMap) Generates an action log entry for an error action. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).)
Public method Invoke(KeyboardAction, UIMap) Generates an action log entry for a keyboard action. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).)
Public method Invoke(LaunchApplicationAction, UIMap) Generates an action log entry for a launch application action. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).)
Public method Invoke(MarkerAction, UIMap) Generates an action log entry for a marker action. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).)
Public method Invoke(MouseAction, UIMap) Generates an action log entry for a mouse action such as click, double-click, wheel rotate, and pause on. (Overrides UITestActionInvoker.Invoke(MouseAction, UIMap).)
Public method Invoke(NavigateToUrlAction, UIMap) Generates an action log entry for a navigate action. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).)
Public method Invoke(NoOperationAction, UIMap) Generates an action log entry for a "no operation" action. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).)
Public method Invoke(SendKeysAction, UIMap) Generates an action log entry for a send keys or other keyboard action. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).)
Public method Invoke(SetStateAction, UIMap) Generates an action log entry for an action that set the state. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).)
Public method Invoke(SetValueAction, UIMap) Generates an action log entry for an action that sets a value. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).)
Public method Invoke(SharedStepsReferenceAction, UIMap) Generates an action log entry for a SharedStepsReferenceAction. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).)
Public method Invoke(StringAssertAction, UIMap) Generates an action log entry for a string assert action. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).)
Public method Invoke(TestStepMarkerAction, UIMap) Generates an action log entry for a test step marker action. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).)
Public method Invoke(VerifyConfigurationAction, UIMap) Generates an action log entry for a verify configuration action. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).)
Public method Invoke(WarningAction, UIMap) Generates an action log entry for a warning action. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).)
Public method Invoke(WebDialogAction, UIMap) Generates an action log entry for a Web dialog action. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).)
Public methodStatic member IsMenuObject Returns a value that indicates whether the provided user interface (UI) object is a menu object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SearchAndInvoke Logs the provided action by using your implementation of a custom invoker. (Overrides UITestActionInvoker.SearchAndInvoke(UITestAction, UIMap, CustomInvoker).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WaitForThinkTime When implemented in the base class, waits for an appropriate amount of think time before it invokes the provided action. (Overrides UITestActionInvoker.WaitForThinkTime(UITestAction).)

Top

Remarks

This class requires a working implementation of the UITestActionInvoker class.

To use this class, you must add a reference to the Codegeneration.dll file, which is located in the %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies folder.

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.UITest.CodeGeneration Namespace

UITestActionInvoker