Patent ID: 7624380

Claim:
A processor-implemented method for generating a test script for automatic test execution tools that executes a script where actions to a GUI object for accepting an input operation are described, that searches for the GUI object at the time of execution, and that executes a software test, displayed on a display screen on a computer, comprising the steps of: analyzing data of a specification file from a specification file storage section on a storage medium storing a specification file where functional specifications of software including the GUI object are described according to a standardized description method extracting an input variable and an output variable by the computer through the computer display screen; and generating a test script file including the test script by: searching for a property file based upon a name of the input variable acquiring an object type name mapped by the searched input variable name and expressed using the acquired object type name and input variable name, and which includes the test script for searching the GUI object corresponding to the input variable generating the test script for a data structure without using data pools by using normal expressions with metacharacters for expected values for comparing character strings; obtaining a path set in which a redundancy value smaller than a predetermined value is obtained by subtracting a number of the edges from a total sum of the number of times that all edges have been passed; reducing redundancy by first utilizing a depth-first path such that a terminal node is in agreement with an intermediate node on another path; comparing a value corresponding to the output variable which is displayed on the computer display screen at the time of a test execution, with an expected value corresponding to the output variable by automatic test execution tools on the computer; bringing a schema for the test script and a computer display screen into one-to-one correspondence while utilizing a plurality of test script schemas simultaneously; merging the plurality of test script schemas in sequence; omitting a second test script when a last screen of a first test script is the same as the first screen of a second test script while merging the plurality of test script schemas; and executing the test script on the computer and displaying the test script execution on the computer display screen.