Export (0) Print
Expand All

UIActionInterpreter Class

Executes a test action in a user interface (UI) test, interprets the results, and writes to a log.

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)

public sealed class UIActionInterpreter : UITestActionInvoker

The UIActionInterpreter type exposes the following members.

  NameDescription
Public methodUIActionInterpreterInitializes a new instance of the UIActionInterpreter class by using the given interpreter.
Top

  NameDescription
Public propertyCurrentBrowserGets or sets a string that contains the name and version of the current browser.
Public propertyDelayBetweenActionsGets or sets the time to delay before executing each action.
Public propertyInRetryModeGets or sets a value that indicates whether the interpreter is in retry mode. (Overrides UITestActionInvoker.InRetryMode.)
Public propertySearchTimeoutGets or sets the number of seconds before a search process times out.
Public propertyThinkTimeMultiplierGets or sets the multiplier to use for think time values.
Public propertyTopLevelWindowSinglePassSearchGets or sets a value that indicates whether single pass search will be used for top level windows.
Top

  NameDescription
Public methodCancelCalled when the Cancel Playback button is clicked by the user. (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)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).)
Public methodInvoke(BrowserAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).)
Public methodInvoke(DelayAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).)
Public methodInvoke(DragAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).)
Public methodInvoke(DragDropAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).)
Public methodInvoke(ErrorAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).)
Public methodInvoke(KeyboardAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).)
Public methodInvoke(LaunchApplicationAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).)
Public methodInvoke(MarkerAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).)
Public methodInvoke(MouseAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MouseAction, UIMap).)
Public methodInvoke(NavigateToUrlAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).)
Public methodInvoke(NoOperationAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).)
Public methodInvoke(SendKeysAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).)
Public methodInvoke(SetStateAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).)
Public methodInvoke(SetValueAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).)
Public methodInvoke(SharedStepsReferenceAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).)
Public methodInvoke(StringAssertAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).)
Public methodInvoke(TestStepMarkerAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).)
Public methodInvoke(VerifyConfigurationAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).)
Public methodInvoke(WarningAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).)
Public methodInvoke(WebDialogAction, UIMap)Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSearchAndInvokeExecutes 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).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWaitForThinkTimeWaits for an appropriate amount of think time before the provided action is invoked. (Overrides UITestActionInvoker.WaitForThinkTime(UITestAction).)
Top

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