技術摘要: |
Disclosed is a mouse action capture and replay method, including the following steps: reading, by a capture and replay verification module, a mouse movement signal in a mouse action event file; transmitting, by the capture and replay verification module, the mouse movement signal to a system under test to which replay is applied; regularly sending, by the capture and replay verification module, an image capture signal to an image capture module, capturing, by the image capture module, a screenshot from the system under test to which replay is applied, and converting the screenshot to a screenshot image file to be transmitted to the capture and replay verification module; comparing, by the capture and replay verification module, an earlier captured screenshot image file with a later captured screenshot image file, so as to acquire a position of a cursor on a screen of the system under test to which replay is applied; and determining, by the capture and replay verification module according to the acquired position of the cursor, whether the cursor moves to a position corresponding to a designated image block or a specific cursor coordinate on the screen.
|
解決的問題或達成的功效: |
a mouse action capture and replay system and method, a recording medium, and a program product.
|
應用領域: |
computer technologies
|
適用產品: |
滑鼠
|
IPC: |
G06F3/038 ;
G06F13/385;
G06F3/03543;
G06T1/0007;
G06T7/248;
G06T7/74;
G06T7/97
|
Claim 1: |
1. A mouse action capture and replay method, comprising the following steps:
reading, by a capture and replay verification module, a mouse action event file, wherein the mouse action event file comprises a designated image block or a specific cursor coordinate;
transmitting, by the capture and replay verification module by using a Universal Serial Bus (USB) emulator, a mouse movement signal to a system under test to which replay is applied;
regularly sending, by the capture and replay verification module, an image capture signal to an image capture module, capturing, by the image capture module, a screenshot from the system under test to which replay is applied, and converting the screenshot to a screenshot image file to be transmitted to the capture and replay verification module;
comparing, by the capture and replay verification module, an earlier captured screenshot image file with a later captured screenshot image file, so as to acquire a position to which a cursor moves, according to the mouse movement signal, on a screen of the system under test to which replay is applied; and
determining, by the capture and replay verification module according to the acquired position of the cursor on the screen, whether the cursor moves to a position corresponding to the designated image block or the specific cursor coordinate on the screen.
|
聯繫方式 |
|
|