Edit a mouse action


+

Search Tips   |   Advanced Search

 

Overview

You can edit mouse actions to manually specify how the mouse interacts with the Citrix server.

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.

Because Citrix tests contain low level user input and synchronizations, minor changes can prevent the test from working. When editing these tests, verifyy are functionally identical.


Edit a mouse action

  1. Open the test in the test editor.

  2. 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.

  3. 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.

  4. You can specify the think time for the mouse action. This emulates the time spent by a user before initiating the current event.


Related tasks

  • Viewing a mouse sequence
  • Editing a keyboard action
  • Editing a text input
  • Synchronize tests with screen areas
  • Manually adding an image synchronization
  • Add values to an image synchronization