Editing a mouse action
You can edit mouse actions to manually specify how the mouse interacts with the Citrix server.
Before you begin
Mouse actions describe low-level user actions using the mouse such as mouse movements, clicks and double-clicks, or drag-and-drop operations. Mouse actions can be added only inside window events or mouse sequences. For example, a drag-and-drop operation is described as a mouse down action at a specific location, a sequence of mouse move actions, and a mouse up action at the destination location.
In most cases, you will rely on the mouse actions that were recorded with the test. However, in some cases, you might want to manually refactor mouse action sequences that are redundant or poorly recorded. For example, a double-click event can sometimes be recorded as a mouse down, a mouse up, and a click. The result will be the same as a double click action but the test will be more difficult to read.
Procedure
- Open the test in the test editor.
- Expand a window action.
- To edit a mouse action, select the event in the Test Contents area.
- To create a new action at a specific location, select an action and click Insert and Citrix Mouse.
- In the Test Element Details area,
specify the type of event.
- Mouse move: This indicates that the mouse is moved from the current coordinates to the coordinates specified in X Position and Y Position.
- Mouse click: This indicates that the mouse is clicked at the coordinates specified in X Position and Y Position. In the Buttons area, select the button that is clicked.
- Mouse double click: This indicates that the mouse is double clicked at the coordinates specified in X Position and Y Position. In the Buttons area, select the button that is double clicked.
- Mouse down: This indicates that a mouse button is pressed at the coordinates specified in X Position and Y Position. In the Buttons area, select the button that is double clicked.
- Mouse up: This indicates that a mouse button is released at the coordinates specified in X Position and Y Position. In the Buttons area, select the button that is double clicked.
- You can specify the think time for the mouse action. This emulates the time spent by a user before initiating the current event.