UITestActionInvoker Class

Provides constructors and methods to start a specific UI test action.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class UITestActionInvoker _
    Implements IDisposable
public abstract class UITestActionInvoker : IDisposable
public ref class UITestActionInvoker abstract : IDisposable
[<AbstractClass>]
type UITestActionInvoker =  
    class 
        interface IDisposable 
    end
public abstract class UITestActionInvoker implements IDisposable

The UITestActionInvoker type exposes the following members.

Constructors

  Name Description
Protected method UITestActionInvoker Initializes a new instance of the UITestActionInvoker class.

Top

Properties

  Name Description
Public property InRetryMode Gets or sets a value that indicates whether the invoker is in retry mode.

Top

Methods

  Name Description
Public method Cancel Cancels the current invocation task.
Public method Dispose Releases resources.
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 the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke(AssertAction, UIMap) Invokes the provided AssertAction by using the provided UIMap.
Public method Invoke(BrowserAction, UIMap) Invokes the provided BrowserAction by using the provided UIMap.
Public method Invoke(DelayAction, UIMap) Invokes the provided DelayAction by using the provided UIMap.
Public method Invoke(DragAction, UIMap) Invokes the provided DragAction by using the provided UIMap.
Public method Invoke(DragDropAction, UIMap) Invokes the provided DragDropAction by using the provided UIMap.
Public method Invoke(ErrorAction, UIMap) Invokes the provided ErrorAction by using the provided UIMap.
Public method Invoke(InvokeAction, UIMap) Invoke for InvokeAction.
Public method Invoke(KeyboardAction, UIMap) Invokes the provided KeyboardAction by using the provided UIMap.
Public method Invoke(LaunchApplicationAction, UIMap) Invokes the provided LaunchApplicationAction by using the provided UIMap.
Public method Invoke(MarkerAction, UIMap) Invokes the provided MarkerAction by using the provided UIMap.
Public method Invoke(MediaAction, UIMap) Invoke for MediaAction.
Public method Invoke(MouseAction, UIMap) Invokes the provided MouseAction by using the provided UIMap.
Public method Invoke(NavigateToUrlAction, UIMap) Invokes the provided NavigateToUrlAction by using the provided UIMap.
Public method Invoke(NoOperationAction, UIMap) Invokes the provided NoOperationAction by using the provided UIMap.
Public method Invoke(SendKeysAction, UIMap) Invokes the provided SendKeysAction by using the provided UIMap.
Public method Invoke(SetStateAction, UIMap) Invokes the provided SetStateAction by using the provided UIMap.
Public method Invoke(SetValueAction, UIMap) Invokes the provided SetValueAction by using the provided UIMap.
Public method Invoke(SharedStepsReferenceAction, UIMap) Invokes the provided SharedStepsReferenceAction by using the provided UIMap.
Public method Invoke(StringAssertAction, UIMap) Invokes the provided StringAssertAction by using the provided UIMap.
Public method Invoke(SystemAction, UIMap) Invoke for SystemAction.
Public method Invoke(TestStepMarkerAction, UIMap) Invokes the provided TestStepMarkerAction by using the provided UIMap.
Public method Invoke(TouchAction, UIMap) Invoke for TouchAction.
Public method Invoke(VerifyConfigurationAction, UIMap) Invokes the provided VerifyConfigurationAction by using the provided UIMap.
Public method Invoke(WarningAction, UIMap) Invokes the provided WarningAction by using the provided UIMap.
Public method Invoke(WebDialogAction, UIMap) Invokes the provided WebDialogAction by using the provided UIMap.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SearchAndInvoke Invokes the provided UITestAction by using the provided UIMap.
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 it invokes the provided action.

Top

Remarks

When it executes the test actions, the test framework will implement a specific implementation of this class that is appropriate to the action type then pass it to the UITestAction.Invoke method.

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.Common Namespace

UITestAction