Patent ID: 8457921

Claim:
An electronic device tester for testing an electronic device comprising: a data storage storing a test program comprising a plurality of test items, each test item comprising a plurality of test instructions; and a processing unit, comprising: a program encapsulation module for encapsulating the test instructions of the test program in a plurality of script files in different manners, and recording a name of each script file for the test program, wherein the different manners comprise a first manner, a second manner, and a third manner; in the first manner, the encapsulation module encapsulates each test instruction in a separate script file; in the second manner, the encapsulation module encapsulates a number of test instructions in one script file; in the third manner, the encapsulation module encapsulates the test instructions of each test item together in one script file; a script file selection module for selecting desired script files of the test program; a test program implementation module for calling the selected script files according to the name of each selected script file to implement the test program, and causing the test results to be displayed to a user.