Share via


UIActionInterpreter Class

 

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

Namespace:   Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionInvoker
    Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UIActionInterpreter

Syntax

public sealed class UIActionInterpreter : UITestActionInvoker
public ref class UIActionInterpreter sealed : UITestActionInvoker
[<Sealed>]
type UIActionInterpreter = 
    class
        inherit UITestActionInvoker
    end
Public NotInheritable Class UIActionInterpreter
    Inherits UITestActionInvoker

Constructors

Name Description
System_CAPS_pubmethod UIActionInterpreter(UITestInterpreter)

Initializes a new instance of the UIActionInterpreter class by using the given interpreter.

Properties

Name Description
System_CAPS_pubproperty CurrentBrowser

Gets or sets a string that contains the name and version of the current browser.

System_CAPS_pubproperty DelayBetweenActions

Gets or sets the time to delay before executing each action.

System_CAPS_pubproperty InRetryMode

Gets or sets a value that indicates whether the interpreter is in retry mode.(Overrides UITestActionInvoker.InRetryMode.)

System_CAPS_pubproperty SearchTimeout

Gets or sets the number of seconds before a search process times out.

System_CAPS_pubproperty ThinkTimeMultiplier

Gets or sets the multiplier to use for think time values.

System_CAPS_pubproperty TopLevelWindowSinglePassSearch

Gets or sets a value that indicates whether single pass search will be used for top level windows.

Methods

Name Description
System_CAPS_pubmethod Cancel()

Called when the Cancel Playback button is clicked by the user.(Overrides UITestActionInvoker.Cancel().)

System_CAPS_pubmethod Dispose()

Releases resources.(Overrides UITestActionInvoker.Dispose().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(AssertAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(AssertAction, UIMap).)

System_CAPS_pubmethod Invoke(BrowserAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(BrowserAction, UIMap).)

System_CAPS_pubmethod Invoke(DelayAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(DelayAction, UIMap).)

System_CAPS_pubmethod Invoke(DragAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(DragAction, UIMap).)

System_CAPS_pubmethod Invoke(DragDropAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(DragDropAction, UIMap).)

System_CAPS_pubmethod Invoke(ErrorAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(ErrorAction, UIMap).)

System_CAPS_pubmethod Invoke(InvokeAction, UIMap)

Invoke for SystemAction.(Overrides UITestActionInvoker.Invoke(InvokeAction, UIMap).)

System_CAPS_pubmethod Invoke(KeyboardAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(KeyboardAction, UIMap).)

System_CAPS_pubmethod Invoke(LaunchApplicationAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(LaunchApplicationAction, UIMap).)

System_CAPS_pubmethod Invoke(MarkerAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(MarkerAction, UIMap).)

System_CAPS_pubmethod Invoke(MediaAction, UIMap)

Generate action log for MediaAction(Overrides UITestActionInvoker.Invoke(MediaAction, UIMap).)

System_CAPS_pubmethod Invoke(MouseAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(MouseAction, UIMap).)

System_CAPS_pubmethod Invoke(NavigateToUrlAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(NavigateToUrlAction, UIMap).)

System_CAPS_pubmethod Invoke(NoOperationAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(NoOperationAction, UIMap).)

System_CAPS_pubmethod Invoke(SendKeysAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(SendKeysAction, UIMap).)

System_CAPS_pubmethod Invoke(SetStateAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(SetStateAction, UIMap).)

System_CAPS_pubmethod Invoke(SetValueAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(SetValueAction, UIMap).)

System_CAPS_pubmethod Invoke(SharedStepsReferenceAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(SharedStepsReferenceAction, UIMap).)

System_CAPS_pubmethod Invoke(StringAssertAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(StringAssertAction, UIMap).)

System_CAPS_pubmethod Invoke(SystemAction, UIMap)

Invoke for SystemAction.(Overrides UITestActionInvoker.Invoke(SystemAction, UIMap).)

System_CAPS_pubmethod Invoke(TestStepMarkerAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(TestStepMarkerAction, UIMap).)

System_CAPS_pubmethod Invoke(TouchAction, UIMap)

Invoke for TouchAction.(Inherited from UITestActionInvoker.)

System_CAPS_pubmethod Invoke(VerifyConfigurationAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(VerifyConfigurationAction, UIMap).)

System_CAPS_pubmethod Invoke(WarningAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(WarningAction, UIMap).)

System_CAPS_pubmethod Invoke(WebDialogAction, UIMap)

Executes the provided action by using the given map and logs the result.(Overrides UITestActionInvoker.Invoke(WebDialogAction, UIMap).)

System_CAPS_pubmethod SearchAndInvoke(UITestAction, UIMap, CustomInvoker)

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).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WaitForThinkTime(UITestAction)

Waits for an appropriate amount of think time before the provided action is invoked.(Overrides UITestActionInvoker.WaitForThinkTime(UITestAction).)

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

UITestActionInvoker
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top