UITestActionExecutor Class

The abstract class for implementing custom action support for UI controls.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestActionExecutor
    Microsoft.VisualStudio.TestTools.UITesting.WebViewActionExecutor

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class UITestActionExecutor
[CLSCompliantAttribute(true)]
public abstract class UITestActionExecutor
[CLSCompliantAttribute(true)]
public ref class UITestActionExecutor abstract
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type UITestActionExecutor =  class end
public abstract class UITestActionExecutor

The UITestActionExecutor type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Click(UITechnologyElement, MouseButtons, ModifierKeys, Point)
Public method Click(UITechnologyElement, MouseButtons, ModifierKeys, Point) Click the default mouse button.
Public method DoubleClick(UITechnologyElement, MouseButtons, ModifierKeys, Point)
Public method DoubleClick(UITechnologyElement, MouseButtons, ModifierKeys, Point) Double click the default mouse button.
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 GetControlSupportLevel Gets the support level of the provider for the specified control.
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 Hover(UITechnologyElement, Point, Int32)
Public method Hover(UITechnologyElement, Point, Int32) Hovers the mouse on the specified control for a given duration.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MouseMove(UITechnologyElement, Point)
Public method MouseMove(UITechnologyElement, Point) Move mouse to specified location on the control.
Public method MoveScrollWheel(UITechnologyElement, Int32, ModifierKeys)
Public method MoveScrollWheel(UITechnologyElement, Int32, ModifierKeys) Scroll the mouse wheel.
Public method PressModifierKeys(UITechnologyElement, ModifierKeys)
Public method PressModifierKeys(UITechnologyElement, ModifierKeys) Presses the given modifier keys without releasing it. To release the modifier keys, explicit call to ReleaseModifierKeysImplementation should be made.
Public method ReleaseKeyboard Resets the keyboard to normal state if applicable.
Public method ReleaseModifierKeys(UITechnologyElement, ModifierKeys)
Public method ReleaseModifierKeys(UITechnologyElement, ModifierKeys) Releases the given modifier keys that was pressed using PressModifierKeys.
Public method ReleaseMouse Resets the mouse to normal state if applicable.
Public method SendKeys(UITechnologyElement, String, ModifierKeys, Boolean)
Public method SendKeys(UITechnologyElement, String, ModifierKeys, Boolean) Sends the keystrokes to generate the specified text.
Public method StartDragging(UITechnologyElement, MouseButtons, ModifierKeys, Point)
Public method StartDragging(UITechnologyElement, MouseButtons, ModifierKeys, Point) Start dragging the mouse with specified buttons, modifier keys from the given location.
Public method StopDragging(UITechnologyElement, Point, Boolean)
Public method StopDragging(UITechnologyElement, Point, Boolean) Stop drag operation on the control.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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