Share via


UITestActionInvoker Class

 

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

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

Inheritance Hierarchy

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

Syntax

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

Constructors

Name Description
System_CAPS_protmethod UITestActionInvoker()

Initializes a new instance of the UITestActionInvoker class.

Properties

Name Description
System_CAPS_pubproperty InRetryMode

Gets or sets a value that indicates whether the invoker is in retry mode.

Methods

Name Description
System_CAPS_pubmethod Cancel()

Cancels the current invocation task.

System_CAPS_pubmethod Dispose()

Releases resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(AssertAction, UIMap)

Invokes the provided AssertAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(BrowserAction, UIMap)

Invokes the provided BrowserAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(DelayAction, UIMap)

Invokes the provided DelayAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(DragAction, UIMap)

Invokes the provided DragAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(DragDropAction, UIMap)

Invokes the provided DragDropAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(ErrorAction, UIMap)

Invokes the provided ErrorAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(InvokeAction, UIMap)

Invoke for InvokeAction.

System_CAPS_pubmethod Invoke(KeyboardAction, UIMap)

Invokes the provided KeyboardAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(LaunchApplicationAction, UIMap)

Invokes the provided LaunchApplicationAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(MarkerAction, UIMap)

Invokes the provided MarkerAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(MediaAction, UIMap)

Invoke for MediaAction.

System_CAPS_pubmethod Invoke(MouseAction, UIMap)

Invokes the provided MouseAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(NavigateToUrlAction, UIMap)

Invokes the provided NavigateToUrlAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(NoOperationAction, UIMap)

Invokes the provided NoOperationAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(SendKeysAction, UIMap)

Invokes the provided SendKeysAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(SetStateAction, UIMap)

Invokes the provided SetStateAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(SetValueAction, UIMap)

Invokes the provided SetValueAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(SharedStepsReferenceAction, UIMap)

Invokes the provided SharedStepsReferenceAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(StringAssertAction, UIMap)

Invokes the provided StringAssertAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(SystemAction, UIMap)

Invoke for SystemAction.

System_CAPS_pubmethod Invoke(TestStepMarkerAction, UIMap)

Invokes the provided TestStepMarkerAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(TouchAction, UIMap)

Invoke for TouchAction.

System_CAPS_pubmethod Invoke(VerifyConfigurationAction, UIMap)

Invokes the provided VerifyConfigurationAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(WarningAction, UIMap)

Invokes the provided WarningAction by using the provided UIMap.

System_CAPS_pubmethod Invoke(WebDialogAction, UIMap)

Invokes the provided WebDialogAction by using the provided UIMap.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SearchAndInvoke(UITestAction, UIMap, CustomInvoker)

Invokes the provided UITestAction by using the provided UIMap.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WaitForThinkTime(UITestAction)

Waits for an appropriate amount of think time before it invokes the provided action.

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

UITestAction
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top