Patent ID: 9569325
Date: 2017-02-14
CPC Classifications: G06F,H04L

Claim:
1. A method for test and result comparison, implemented in a client computer to control a management server to test a plurality of sensors in a server to be tested, wherein the client computer, the management server and the server to be tested are connected to each other through a network, and the method comprises: generating a sensor configuration file suitable for an integrated management module (IMM), wherein a name, a number and offsets of each of the sensors in the server to be tested are recorded in the sensor configuration file; establishing an event log database in the sensor configuration file, wherein the event log database records names of a plurality of sensor events and at least one corresponding event log; establishing an event severity database in the sensor configuration file, wherein the event severity database records the names of the sensor events and at least one corresponding event severity; logging in an operating interface of a management program of the management server through the network; simulating a plurality of operating actions of a user testing one of the sensors on the server to be tested by using the operating interface to generate a plurality of keyboard control instructions and a plurality of mouse control instructions corresponding to the operating actions by using a keyboard-and-mouse automation program; executing the keyboard control instructions and the mouse control instructions to operate the operating interface, so as to control the management program to test the sensors through the operating interface; capturing at least one test parameter obtained by the management program testing the sensors, and comparing the test parameter with a plurality of predetermined parameters in a database to obtain a test result, comprising: storing the test result as a test file.