摘要:
The present invention provides a scheduling method and apparatus for use in an automated testing system for automatically scheduling and allocating jobs to test machines. The automated testing system may be distributed over a network, such as the Internet, for testing hardware and software. The user interfaces generate jobs in response to selections by the users and output the obs onto the network in the form of data packets. A plurality of test machines are in communication with the dispatcher machines via the network. When a test machine is available to process a job, the available test machine generates availability data packets which indicate that the test machine is available to process a job. These availability data packets are sent over the network and routed to the dispatcher machine designated by the address contained in the availability data packet. Upon receiving an availability data packet, the dispatcher machine determines whether one or more of the jobs on the list of jobs maintained by the dispatcher machine is capable of being performed by the available test machine. If one or more of the jobs listed are capable of being performed by the available test machine, the dispatcher machine instructs the test machine to perform one of the jobs, preferably the job having the highest priority.
摘要:
A communications protocol for an automated testing system is provided which governs the generation and transmission of data packets within the automated testing system. The automated testing system is capable of being distributed over a network, such as the Internet, and is used for testing hardware and software. A plurality of users operating computers interface to the automated testing system via user interfaces, which preferably are graphical user interfaces. Each user interface displays test parameter choices to the user from which the user may select test parameters relating to a test to be performed. The user interfaces generate data packets in response to selections by the users and output the data packets onto the network. The data packets output from the user interfaces comprise information relating to test parameters selected by the user, commands indicating that performance of a test is being requested, and an address of the location to which the packet is being sent. The data packets are routed to one or more dispatcher machines located on the network which are designated by the addresses contained in the data packets. Each of the dispatcher machines maintains a list of tests to be performed. The dispatcher machine designated by the address in the data packet receives the data packet and updates the list of tests to be performed. A plurality of test machines are in communication with the dispatcher machines via the network. When a test machine is available, the available test machine generates an availability data packet which indicates that the test machine is available to perform a test. Each of the availability data packets contains an address of a dispatcher machine. These availability data packets are sent over the network and routed to the dispatcher machine designated by the address contained in the availability data packet. Upon receiving an availability data packet, the dispatcher machine determines whether one or more of the tests on the list of tests maintained by the dispatcher machine is capable of being performed by the test machine which generated the availability data packet. If one or more of the tests listed are capable of being performed by the available test machine, the dispatcher machine instructs the test machine to perform one of the tests, preferably the test having the highest priority.
摘要:
A distributed automated testing system is provided which is capable of being distributed over a network, such as the Internet, for testing hardware and software. A plurality of users operating computers interface to the automated testing system via user interfaces, which preferably are graphical user interfaces. Each user interface displays test parameter choices to the user from which the user may select test parameters relating to a test to be performed. The user interfaces generate data packets in response to selections by the users and output the data packets onto the network. The data packets output from the user interfaces comprise information relating to test parameters selected by the user, commands indicating that performance of a test is being requested, and an address of the location to which the packet is being sent. The data packets are routed to one or more dispatcher machines located on the network which are designated by the addresses contained in the data packets. Each of the dispatcher machines maintains a list of tests to be performed. The dispatcher machine designated by the address in the data packet receives the data packet and updates the list of tests to be performed. A plurality of test machines are in communication with the dispatcher machines via the network. When a test machine is available, the available test machine generates availability data packets which indicate that the test machine is available to perform a test. Each of the availability data packets contains an address of a dispatcher machine. These availability data packets are sent over the network and routed to the dispatcher machine designated by the address contained in the availability data packet. Upon receiving an availability data packet, the dispatcher machine determines whether one or more of the tests on the list of tests maintained by the dispatcher machine is capable of being performed by the test machine which generated the availability data packet. If one or more of the tests listed are capable of being performed by the available test machine, the dispatcher machine instructs the test machine to perform one of the tests, preferably the test having the highest priority.
摘要:
A distributed automated testing system is provided which is capable of being distributed over a network, such as the Internet, for testing hardware and software. A plurality of users operating computers interface to the automated testing system via user interfaces, which preferably are graphical user interfaces. Each user interface displays test parameter choices to the user from which the user may select test parameters relating to a test to be performed. The user interfaces generate data packets in response to selections by the users and output the data packets onto the network. The data packets output from the user interfaces comprise information relating to test parameters selected by the user, commands indicating that performance of a test is being requested, and an address of the location to which the packet is being sent. The data packets are routed to one or more dispatcher machines located on the network which are designated by the addresses contained in the data packets. Each of the dispatcher machines maintains a list of tests to be performed. The dispatcher machine designated by the address in the data packet receives the data packet and updates the list of tests to be performed. A plurality of test machines are in communication with the dispatcher machines via the network. When a test machine is available, the available test machine generates availability data packets which indicate that the test machine is available to perform a test. Each of the availability data packets contains an address of a dispatcher machine. These availability data packets are sent over the network and routed to the dispatcher machine designated by the address contained in the availability data packet.
摘要:
The present invention comprises a testing system for testing X Servers. The testing system comprises a test harness that communicates with an X Server being tested to obtain the test results therefrom, an archive database for storing test archives to be used by the test harness for testing the X Server, a test result storage database for storing results of an X Server test, and a viewing tool that presents the user with a result file which the user analyzes to determine the X Server defect. Preferably, the test harness is object-oriented code that has a polymorphic and hierarchical structure. The basic units of the test harness are objects, such as display connections, screens, graphics contexts, pixmaps, colormaps and windows. Within the test context, each object encodes a unique hierarchy that indicates its dependencies on other test harness objects. These objects encapsulate Xlib routines and hide much of the detail of Xlib programming from the test writer, thus facilitating the test writer in writing tests. Once a test has been written, the test is run and the results of the test, if they are correct, are stored as an archive file in the test archive storage database for later use. When a test is run on an X Server, the test harness captures the image rendered to the screen by the X Server. The test harness then searches the archive database in a predetermined manner to obtain the appropriate test archive. The test archive is then compared to the test results. If the test failed, then a defect exists in the X Server.
摘要:
The present invention provides a method and apparatus for automatically installing an operating system on a computer via a serial port of the computer. An installer machine running an installation program connects to the computer to be installed via a serial port of the computer to form an ASCII connection with the computer. Once the connection is made, the installation program sends commands to the boot ROM of the computer to institute the installation process. The computer program then waits for configuration questions to be asked by the boot ROM of the computer and sends the appropriate answers to the questions. Preferably, the installer is connected to the machines to be installed via a multiplexer/demultiplexer device which is connected to the serial ports of the machines to be installed. Thus, the installer is capable of installing operating systems on a plurality of machines by selecting the port number of the multiplexer/demultiplexer device to which the machine to be installed is connected. The installer receives requests to install operating systems on one or more of the machines. The requests indicate which machine is to be installed and the type of operating system to be installed. The installer then sends a command to a machine to be installed which causes the machine to go into its boot ROM. The installer selects a script needed for installing the paraticular type of operating system. The installer then sends a series of installation commands to the computer in response to the series of questions output to the installer by the boot ROM of the computer. Preferably, the installer is incorporated into an automated testing system to allow operating systems to be automatically installed on a plurality of test machines over a network. The automated testing system is capable of being distributed over a network, such as the Internet, and is used for testing hardware and software.