Method for automatically testing serial mouse

An automatic test and mouse technology, applied in the detection of faulty computer hardware, etc., can solve the problems of inconvenient tracking, easy misjudgment, missed reading, etc., to achieve the effect of improving work efficiency, simple test process, and avoiding misjudgment

Active Publication Date: 2015-03-25
SHENXUN COMP KUNSHAN
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned testing process is all human judgment and human inspection, so it is easy to misjudge, miss, etc., whi

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically testing serial mouse

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] In order to achieve the above objectives, the present invention provides an automatic test method for a serial mouse, which is applied to test a computer with a COM port, and the computer has at least one COM port. During the test, first insert the serial mouse into the COM port of the computer in turn, and then open the test program, please refer to figure 1 It is shown that the automatic test method of the serial mouse includes the following steps:

[0024] S101: Set up a program interface on the computer;

[0025] S102: Obtain the number of COM ports of the computer by the program;

[0026] S103: Determine whether the serial mouse device exists in the computer, if it exists, execute step S104, if it does not exist, execute step S108;

[0027] S104: Record the number of the serial mouse devices and the corresponding states, and the states of the serial mouse devices are respectively displayed through the program interface;

[0028] S105: Determine whether the number of serial...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for automatically testing a serial mouse. The method includes (1), setting program interfaces on a computer; (2), acquiring the quantity of COM (communication) ports of the computer by the aid of programs; (3), judging whether serial mouse devices are available in the computer or not, executing a step (4) if the serial mouse devices are available in the computer, and executing a step (8) if the serial port devices are not available in the computer; (4), recording the quantity and states of the serial mouse devices and respectively displaying the states of the serial mouse devices via the program interfaces; (5), judging whether the quantity of the serial mouse devices is identical to that of the COM ports of the computer or not, executing a step (6) if the quantity of the serial mouse devices is identical to that of the COM ports of the computer, and executing the step (8) if the quantity of the serial mouse devices is not identical to that of the COM ports of the computer; (6), executing a step (7) if all contents displayed on the program interfaces are 'ENABLE', and executing the step (8) if at least one content displayed on the program interfaces is 'UNABLE'; (7), closing the programs if 'PASS' is displayed on the program interfaces, and recording results; (8), closing the programs if 'FAIL' is displayed on the program interfaces and recording results.

Description

【Technical field】 [0001] The invention relates to an automatic test method for a mouse, in particular to an automatic test method for a serial port mouse. 【Background technique】 [0002] At present, there are four common types of connection interfaces between the mouse and the host computer: COM port (serial port), PS / 2, USB, and Bluetooth. Due to the low data transfer rate of the COM port and PS / 2 interface type mouse, the mid-to-high-end mouse cannot take advantage of its high performance, and does not support hot plugging. With the development of technology, the mouse of serial port and PS / 2 interface type will also be eliminated gradually. [0003] However, in some harsh environments, such as using computers in water, heat, and cold environments, such as military computers, in order to resist harsh environments, computer manufacturers should set the external interface of the computer to the form of a COM port, so that the serial port type The mouse has also been applie...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/22
Inventor 王丽云
Owner SHENXUN COMP KUNSHAN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products