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
Public method UIActionInterpreter Initializes a new instance of the UIActionInterpreter class by using the given interpreter.

Top

Properties

  Name Description
Public property CurrentBrowser Gets or sets a string that contains the name and version of the current browser.
Public property DelayBetweenActions Gets or sets the time to delay before executing each action.
Public property InRetryMode Gets or sets a value that indicates whether the interpreter is in retry mode. (Overrides UITestActionInvoker.InRetryMode.)
Public property SearchTimeout Gets or sets the number of seconds before a search process times out.
Public property ThinkTimeMultiplier Gets or sets the multiplier to use for think time values.
Public property TopLevelWindowSinglePassSearch Gets or sets a value that indicates whether single pass search will be used for top level windows.

Top

Methods

  Name Description
Public method Cancel Called when the Cancel Playback button is clicked by the user. (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) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).)
Public method Invoke(BrowserAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).)
Public method Invoke(DelayAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).)
Public method Invoke(DragAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragAction, UIMap).)
Public method Invoke(DragDropAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).)
Public method Invoke(ErrorAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).)
Public method Invoke(KeyboardAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).)
Public method Invoke(LaunchApplicationAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).)
Public method Invoke(MarkerAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).)
Public method Invoke(MouseAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(MouseAction, UIMap).)
Public method Invoke(NavigateToUrlAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).)
Public method Invoke(NoOperationAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).)
Public method Invoke(SendKeysAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).)
Public method Invoke(SetStateAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).)
Public method Invoke(SetValueAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).)
Public method Invoke(SharedStepsReferenceAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).)
Public method Invoke(StringAssertAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).)
Public method Invoke(TestStepMarkerAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).)
Public method Invoke(VerifyConfigurationAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).)
Public method Invoke(WarningAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).)
Public method Invoke(WebDialogAction, UIMap) Executes the provided action by using the given map and logs the result. (Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method 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

UITestActionInvoker