Mouse Actions Activity
The Mouse Actions activity enables the execution of specific mouse interactions at a designated location within an application. It allows users to perform clicks, hovers, and coordinate-based offsets on both web and desktop elements.
| Field | Description | Requirement |
|---|---|---|
| Application name | Specifies the reference name of the application previously opened or attached via the dropdown menu. | Required |
| Button | Defines the type of mouse button to be used for the action (e.g., LEFT, RIGHT, NONE). | Optional |
| Field | Contains the XPath or selector identifying the specific UI element for the action. | Required |
| Double click | Enables a double-click action on the target area when selected. | Optional |
| Wait until visible | Pauses execution until the target element is fully visible on the screen. | Optional |
| Wait until load | Pauses execution until all elements of the webpage or window are completely loaded. | Optional |
| Hover | Positions the mouse cursor over the specified field without performing a click. | Optional |
| X-coordinate | Adjusts the horizontal click position relative to the XPath by a specified pixel value. | Optional |
| Y-coordinate | Adjusts the vertical click position relative to the XPath by a specified pixel value. | Optional |
Action Types & Examples
Click Type
- Format: string
- Example Result: "LEFT"
Element Selection
- Format: string (XPath)
- Example Result: "(//input[@title="Arama"])[1]"
Coordinate Offset
- Format: integer
- Example Result: "150"
Implementation Examples
Field Setup - Application name: ${robustaWebpage} - Field (Browser): "(//input[@title="Arama"])[1]" - Field (Windows): "//Pane[@ClassName="Scintilla"]"
Execution Parameters - Button: LEFT - X-coordinate: 150 - Y-coordinate: 150 - Double click: true
Technical Notes
When configured with a specific XPath and the double-click option, the activity will perform a Left Double Click once the page and target element have fully loaded. Positive X-coordinate values move the click to the right, while positive Y-coordinate values move the click downward relative to the element's center.