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 | |
---|---|---|
ActionLogInvoker | Initializes a new instance of the ActionLogInvoker class by using the provided text writer. |
Top
Properties
Name | Description | |
---|---|---|
InRetryMode | Gets or sets a value that indicates whether the invoker is in retry mode. (Overrides UITestActionInvoker.InRetryMode.) |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Cancels the current invocation task. (Overrides UITestActionInvoker.Cancel().) | |
Dispose | Releases resources. (Overrides UITestActionInvoker.Dispose().) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invoke(AssertAction, UIMap) | Generates an action log entry for an assert action. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).) | |
Invoke(BrowserAction, UIMap) | Generates an action log entry for a browser action. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).) | |
Invoke(DelayAction, UIMap) | Generates an action log entry for a delay action. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).) | |
Invoke(DragAction, UIMap) | Generates an action log entry for a drag action. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).) | |
Invoke(DragDropAction, UIMap) | Generates an action log entry for a drag-and-drop action. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).) | |
Invoke(ErrorAction, UIMap) | Generates an action log entry for an error action. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).) | |
Invoke(KeyboardAction, UIMap) | Generates an action log entry for a keyboard action. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).) | |
Invoke(LaunchApplicationAction, UIMap) | Generates an action log entry for a launch application action. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).) | |
Invoke(MarkerAction, UIMap) | Generates an action log entry for a marker action. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).) | |
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).) | |
Invoke(NavigateToUrlAction, UIMap) | Generates an action log entry for a navigate action. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).) | |
Invoke(NoOperationAction, UIMap) | Generates an action log entry for a "no operation" action. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).) | |
Invoke(SendKeysAction, UIMap) | Generates an action log entry for a send keys or other keyboard action. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).) | |
Invoke(SetStateAction, UIMap) | Generates an action log entry for an action that set the state. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).) | |
Invoke(SetValueAction, UIMap) | Generates an action log entry for an action that sets a value. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).) | |
Invoke(SharedStepsReferenceAction, UIMap) | Generates an action log entry for a SharedStepsReferenceAction. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).) | |
Invoke(StringAssertAction, UIMap) | Generates an action log entry for a string assert action. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).) | |
Invoke(TestStepMarkerAction, UIMap) | Generates an action log entry for a test step marker action. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).) | |
Invoke(VerifyConfigurationAction, UIMap) | Generates an action log entry for a verify configuration action. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).) | |
Invoke(WarningAction, UIMap) | Generates an action log entry for a warning action. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).) | |
Invoke(WebDialogAction, UIMap) | Generates an action log entry for a Web dialog action. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).) | |
IsMenuObject | Returns a value that indicates whether the provided user interface (UI) object is a menu object. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SearchAndInvoke | Logs the provided action by using your implementation of a custom invoker. (Overrides UITestActionInvoker.SearchAndInvoke(UITestAction, UIMap, CustomInvoker).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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