UIActionInterpreter Class
Executes a test action in a user interface (UI) test, interprets the results, and writes to a log.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionInvoker
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UIActionInterpreter
Namespace: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)
Syntax
'Declaration
Public NotInheritable Class UIActionInterpreter _
Inherits UITestActionInvoker
public sealed class UIActionInterpreter : UITestActionInvoker
public ref class UIActionInterpreter sealed : public UITestActionInvoker
[<Sealed>]
type UIActionInterpreter =
class
inherit UITestActionInvoker
end
public final class UIActionInterpreter extends UITestActionInvoker
The UIActionInterpreter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UIActionInterpreter | Initializes a new instance of the UIActionInterpreter class by using the given interpreter. |
Top
Properties
Name | Description | |
---|---|---|
CurrentBrowser | Gets or sets a string that contains the name and version of the current browser. | |
DelayBetweenActions | Gets or sets the time to delay before executing each action. | |
InRetryMode | Gets or sets a value that indicates whether the interpreter is in retry mode. (Overrides UITestActionInvoker.InRetryMode.) | |
SearchTimeout | Gets or sets the number of seconds before a search process times out. | |
ThinkTimeMultiplier | Gets or sets the multiplier to use for think time values. | |
TopLevelWindowSinglePassSearch | Gets or sets a value that indicates whether single pass search will be used for top level windows. |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Called when the Cancel Playback button is clicked by the user. (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) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).) | |
Invoke(BrowserAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).) | |
Invoke(DelayAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).) | |
Invoke(DragAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).) | |
Invoke(DragDropAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).) | |
Invoke(ErrorAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).) | |
Invoke(KeyboardAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).) | |
Invoke(LaunchApplicationAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).) | |
Invoke(MarkerAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).) | |
Invoke(MouseAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MouseAction, UIMap).) | |
Invoke(NavigateToUrlAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).) | |
Invoke(NoOperationAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).) | |
Invoke(SendKeysAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).) | |
Invoke(SetStateAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).) | |
Invoke(SetValueAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).) | |
Invoke(SharedStepsReferenceAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).) | |
Invoke(StringAssertAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).) | |
Invoke(TestStepMarkerAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).) | |
Invoke(VerifyConfigurationAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).) | |
Invoke(WarningAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).) | |
Invoke(WebDialogAction, UIMap) | Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SearchAndInvoke | Executes the provided action by using the given map and logs the result 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 | Waits for an appropriate amount of think time before the provided action is invoked. (Overrides UITestActionInvoker.WaitForThinkTime(UITestAction).) |
Top
Remarks
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