A method for creating a general form file conforming to a general form that is applicable to K kinds of instruments, wherein the general form file is for being read and processed by test software which supports N kinds of communication interfaces of the K kinds of instruments, M kinds of communication protocols, and multiple commands executable by the K kinds of instruments, wherein the general form file is applicable to a target instrument of the K kinds of instruments, a target interface of the N kinds of communication interfaces, a target protocol of the M kinds of communication protocols, and a target function of the target instrument, each of the N, the K, and the M is an integer greater than one, the general form includes a part for interface setting, a part for communication protocol setting, and a function list part, the method comprises:
- filling in an instrument filed of the general form with a name of the target instrument, choosing the target interface from an interface menu of the general form, and determining at least one role of the target instrument with a role menu of the general form, and thereby accomplishing the part for interface setting of the general form of the general form file, wherein communication setting required by the interface menu is accessible by a user interface of the test software;
- when a protocol menu of the general form includes the target protocol, choosing the target protocol from the protocol menu and thereby accomplishing the part for communication protocol setting of the general form of the general form file, wherein the protocol menu is accessible by the user interface;
- and when the protocol menu does not include the target protocol, adding the target protocol to a protocol page of the general form file and then choosing the target protocol from the protocol menu;
- and
- choosing at least one of one or more command(s) executable by the target instrument from a command menu of the general form and thereby accomplishing the function list part of the general form of the general form file, wherein the command menu is accessible by the user interface and the function list part of the general form file is associated with the target function.