Viewing a mouse sequence
You can use mouse sequences to view complex mouse movements on the screen.
Before you begin
Mouse sequences provide a graphical view of a series of mouse move events. This is particularly useful when a large number of mouse move events are meaningful to the application. For example, drawing the letter e in a paint program is represented as a mouse down event, a mouse sequence, and a mouse up. In the test editor, the sequence graphically displays how the letter e is drawn in the application. If any screen captures were taken during the recorded session, the sequence will be shown over the screen capture.
In most cases, you will rely on the mouse sequences that were recorded with the test. However, in some cases, you might want to manually refactor mouse events into sequence.
Procedure
- Open the test in the test editor
- Expand a window event and select the sequence in the Test Contents area.
- In the Test Element Details area,
you can view the following information:
- Display mouse sequences for
- This option specifies how you want to display previous, current,
or all mouse sequences in the current mouse sequence:
- Current® sequence
- Only the current mouse sequence is displayed in the test editor. This option is selected by default.
- Previous and current sequences
- The current mouse sequence is displayed with any previous mouse sequences.
- All sequences
- All mouse sequences are displayed simultaneously.
- Fit screen to visible area
- Select this option to adjust the display of the mouse sequence to the available area in the test editor. If disabled, the screen capture will be the actual size, which might require scrolling. This option is enabled by default.
- Screen capture area
- This area represents the mouse movements on the screen. If a screen capture was recorded, it is displayed in the background. Mouse sequences are displayed as specified.