Patent ID: 8392144

Claim:
A non-transitory computer readable medium containing a keyboard test program stored therein for generating method for generating a keyboard test program to test plural keys of a keyboard device, said plural keys comprising a first key and a second key, said keyboard test program executed by a computer device to perform a method comprising the steps of: receiving a first key number; receiving a first key identification code corresponding to said first key; assigning said first key number to said first key, so that said first key number and said first key identification code are written into a conditional expression format to generate a first key conditional expression; receiving a second key identification code corresponding to said second key; assigning a second key number following said first key number to said second key, so that said second key number and said second key identification code are written into said conditional expression format to generate a second key conditional expression; and combining said first key conditional expression, said second key conditional expression, a keyboard test program header and a keyboard test program trailer together, thereby generating said keyboard test program.