skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class UserInteraction

Inheritance
System.Object
UserInteraction
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii.dll

Syntax

public class UserInteraction

Methods

Click()

Declaration
public void Click()

Click(MouseClickType)

Declaration
public void Click(MouseClickType clickType)
Parameters
MouseClickType clickType

Click(MouseClickType, Point)

Declaration
public void Click(MouseClickType clickType, Point offsetPoint)
Parameters
MouseClickType clickType

System.Drawing.Point offsetPoint

Click(MouseClickType, Point, OffsetReference)

Declaration
public void Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference)
Parameters
MouseClickType clickType

System.Drawing.Point offsetPoint

OffsetReference reference

Click(MouseClickType, Int32, Int32, OffsetReference)

Declaration
public void Click(MouseClickType clickType, int x, int y, OffsetReference reference)
Parameters
MouseClickType clickType

System.Int32 x

System.Int32 y

OffsetReference reference

Click(MouseClickType, Int32, Int32, OffsetReference, ActionPointUnitType)

Declaration
public void Click(MouseClickType clickType, int x, int y, OffsetReference reference, ActionPointUnitType unitType)
Parameters
MouseClickType clickType

System.Int32 x

System.Int32 y

OffsetReference reference

ActionPointUnitType unitType

Click(MouseClickType, Int32, Int32, OffsetReference, ActionPointUnitType, Keys)

Declaration
public void Click(MouseClickType clickType, int x, int y, OffsetReference reference, ActionPointUnitType unitType, Keys modifierKeys)
Parameters
MouseClickType clickType

System.Int32 x

System.Int32 y

OffsetReference reference

ActionPointUnitType unitType

System.Windows.Forms.Keys modifierKeys

ClickPoint(MouseClickType, Point)

Declaration
public void ClickPoint(MouseClickType clickType, Point absolutePoint)
Parameters
MouseClickType clickType

System.Drawing.Point absolutePoint

ClickPoint(Point)

Declaration
public void ClickPoint(Point absolutePoint)
Parameters
System.Drawing.Point absolutePoint

DetectHotSpot(Int32)

Declaration
public Point DetectHotSpot(int searchRadius)
Parameters
System.Int32 searchRadius

Returns
System.Drawing.Point

DetectHotSpot(Int32, Cursor)

Declaration
public Point DetectHotSpot(int searchRadius, Cursor cursor)
Parameters
System.Int32 searchRadius

System.Windows.Forms.Cursor cursor

Returns
System.Drawing.Point

DragTo(FrameworkElement)

Declaration
public void DragTo(FrameworkElement dropTarget)
Parameters
FrameworkElement dropTarget

DragTo(Int32, Int32)

Declaration
public void DragTo(int x, int y)
Parameters
System.Int32 x

System.Int32 y

DragTo(Int32, Int32, OffsetReference, ActionPointUnitType, FrameworkElement, Int32, Int32, OffsetReference, ActionPointUnitType, Boolean)

Declaration
public void DragTo(int startOffsetX, int startOffsetY, OffsetReference startOffsetReference, ActionPointUnitType startUnitType, FrameworkElement dropTarget, int endOffsetX, int endOffsetY, OffsetReference endOffsetReference, ActionPointUnitType endUnitType, bool skipValidateDropLocation)
Parameters
System.Int32 startOffsetX

System.Int32 startOffsetY

OffsetReference startOffsetReference

ActionPointUnitType startUnitType

FrameworkElement dropTarget

System.Int32 endOffsetX

System.Int32 endOffsetY

OffsetReference endOffsetReference

ActionPointUnitType endUnitType

System.Boolean skipValidateDropLocation

DragTo(Int32, Int32, OffsetReference, FrameworkElement, Int32, Int32, OffsetReference)

Declaration
public void DragTo(int startOffsetX, int startOffsetY, OffsetReference startOffsetReference, FrameworkElement dropTarget, int endOffsetX, int endOffsetY, OffsetReference endOffsetReference)
Parameters
System.Int32 startOffsetX

System.Int32 startOffsetY

OffsetReference startOffsetReference

FrameworkElement dropTarget

System.Int32 endOffsetX

System.Int32 endOffsetY

OffsetReference endOffsetReference

DragTo(Int32, Int32, Boolean)

Declaration
public void DragTo(int x, int y, bool autoDetectStartHotSpot)
Parameters
System.Int32 x

System.Int32 y

System.Boolean autoDetectStartHotSpot

DragTo(Int32, Int32, Boolean, Cursor, Int32)

Declaration
public void DragTo(int x, int y, bool autoDetectStartHotSpot, Cursor hotSpotCursor, int radius)
Parameters
System.Int32 x

System.Int32 y

System.Boolean autoDetectStartHotSpot

System.Windows.Forms.Cursor hotSpotCursor

System.Int32 radius

DragTo(Int32, Int32, Boolean, Cursor, Int32, Boolean)

Declaration
public void DragTo(int x, int y, bool autoDetectStartHotSpot, Cursor hotSpotCursor, int radius, bool skipValidateDropLocation)
Parameters
System.Int32 x

System.Int32 y

System.Boolean autoDetectStartHotSpot

System.Windows.Forms.Cursor hotSpotCursor

System.Int32 radius

System.Boolean skipValidateDropLocation

DragTo(Int32, Int32, Int32, Int32, OffsetReference)

Declaration
public void DragTo(int x, int y, int xOffset, int yOffset, OffsetReference offsetRef)
Parameters
System.Int32 x

System.Int32 y

System.Int32 xOffset

System.Int32 yOffset

OffsetReference offsetRef

DragTo(Int32, Int32, Int32, Int32, OffsetReference, Boolean)

Declaration
public void DragTo(int x, int y, int xOffset, int yOffset, OffsetReference offsetRef, bool skipValidateDropLocation)
Parameters
System.Int32 x

System.Int32 y

System.Int32 xOffset

System.Int32 yOffset

OffsetReference offsetRef

System.Boolean skipValidateDropLocation

HoverOver()

Declaration
public void HoverOver()

HoverOver(Point)

Declaration
public void HoverOver(Point p)
Parameters
System.Drawing.Point p

HoverOver(Int32, Int32, OffsetReference)

Declaration
public void HoverOver(int x, int y, OffsetReference reference)
Parameters
System.Int32 x

System.Int32 y

OffsetReference reference

HoverOver(Int32, Int32, OffsetReference, ActionPointUnitType)

Declaration
public void HoverOver(int x, int y, OffsetReference reference, ActionPointUnitType unitType)
Parameters
System.Int32 x

System.Int32 y

OffsetReference reference

ActionPointUnitType unitType

KeyDown(Keys)

Declaration
public void KeyDown(Keys key)
Parameters
System.Windows.Forms.Keys key

KeyPress(Keys, Int32)

Declaration
public void KeyPress(Keys key, int holdFor)
Parameters
System.Windows.Forms.Keys key

System.Int32 holdFor

KeyUp(Keys)

Declaration
public void KeyUp(Keys key)
Parameters
System.Windows.Forms.Keys key

MouseEnter(OffsetReference)

Declaration
public void MouseEnter(OffsetReference enterSide)
Parameters
OffsetReference enterSide

MouseLeave(OffsetReference)

Declaration
public void MouseLeave(OffsetReference leaveSide)
Parameters
OffsetReference leaveSide

MouseMove(List<Point>, Int32, Boolean)

Declaration
public void MouseMove(List<Point> path, int delayBetweenPathPoints, bool firstPointIsElementCenter)
Parameters
System.Collections.Generic.List<System.Drawing.Point> path

System.Int32 delayBetweenPathPoints

System.Boolean firstPointIsElementCenter

TurnMouseWheel(Int32, MouseWheelTurnDirection, Boolean)

Declaration
public void TurnMouseWheel(int delta, MouseWheelTurnDirection direction, bool clickFirst)
Parameters
System.Int32 delta

MouseWheelTurnDirection direction

System.Boolean clickFirst

TypeText(String, Int32)

Declaration
public void TypeText(string text, int keyPressTime)
Parameters
System.String text

System.Int32 keyPressTime

TypeText(String, Int32, Boolean)

Declaration
public void TypeText(string text, int keyPressTime, bool clickFirst)
Parameters
System.String text

System.Int32 keyPressTime

System.Boolean clickFirst

TypeText(String, Int32, Int32, Boolean, Boolean)

Declaration
public void TypeText(string text, int keyPressTime, int holdTime, bool clickFirst, bool supportUnicode = true)
Parameters
System.String text

System.Int32 keyPressTime

System.Int32 holdTime

System.Boolean clickFirst

System.Boolean supportUnicode

Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.