Export (0) Print
Expand All

ActionLogInvoker Class

Visual Studio 2010

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

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)

public final class ActionLogInvoker extends UITestActionInvoker

The ActionLogInvoker type exposes the following members.

  NameDescription
Public methodActionLogInvokerInitializes a new instance of the ActionLogInvoker class by using the provided text writer.
Top

  NameDescription
Public propertyInRetryModeGets or sets a value that indicates whether the invoker is in retry mode. (Overrides UITestActionInvoker.InRetryMode.)
Top

  NameDescription
Public methodCancelCancels the current invocation task. (Overrides UITestActionInvoker.Cancel().)
Public methodDisposeReleases resources. (Overrides UITestActionInvoker.Dispose().)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvoke(AssertAction, UIMap)Generates an action log entry for an assert action. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).)
Public methodInvoke(BrowserAction, UIMap)Generates an action log entry for a browser action. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).)
Public methodInvoke(DelayAction, UIMap)Generates an action log entry for a delay action. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).)
Public methodInvoke(DragAction, UIMap)Generates an action log entry for a drag action. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).)
Public methodInvoke(DragDropAction, UIMap)Generates an action log entry for a drag-and-drop action. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).)
Public methodInvoke(ErrorAction, UIMap)Generates an action log entry for an error action. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).)
Public methodInvoke(KeyboardAction, UIMap)Generates an action log entry for a keyboard action. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).)
Public methodInvoke(LaunchApplicationAction, UIMap)Generates an action log entry for a launch application action. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).)
Public methodInvoke(MarkerAction, UIMap)Generates an action log entry for a marker action. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).)
Public methodInvoke(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 methodInvoke(NavigateToUrlAction, UIMap)Generates an action log entry for a navigate action. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).)
Public methodInvoke(NoOperationAction, UIMap)Generates an action log entry for a "no operation" action. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).)
Public methodInvoke(SendKeysAction, UIMap)Generates an action log entry for a send keys or other keyboard action. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).)
Public methodInvoke(SetStateAction, UIMap)Generates an action log entry for an action that set the state. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).)
Public methodInvoke(SetValueAction, UIMap)Generates an action log entry for an action that sets a value. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).)
Public methodInvoke(SharedStepsReferenceAction, UIMap)Generates an action log entry for a SharedStepsReferenceAction. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).)
Public methodInvoke(StringAssertAction, UIMap)Generates an action log entry for a string assert action. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).)
Public methodInvoke(TestStepMarkerAction, UIMap)Generates an action log entry for a test step marker action. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).)
Public methodInvoke(VerifyConfigurationAction, UIMap)Generates an action log entry for a verify configuration action. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).)
Public methodInvoke(WarningAction, UIMap)Generates an action log entry for a warning action. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).)
Public methodInvoke(WebDialogAction, UIMap)Generates an action log entry for a Web dialog action. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).)
Public methodStatic memberIsMenuObjectReturns a value that indicates whether the provided user interface (UI) object is a menu object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSearchAndInvokeLogs the provided action by using your implementation of a custom invoker. (Overrides UITestActionInvoker.SearchAndInvoke(UITestAction, UIMap, CustomInvoker).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWaitForThinkTimeWhen implemented in the base class, waits for an appropriate amount of think time before it invokes the provided action. (Overrides UITestActionInvoker.WaitForThinkTime(UITestAction).)
Top

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft