发明名称 Testing device and testing method thereof
摘要 A testing device and a testing method thereof are provided. The testing device is connected to a terminal device running a graphical user interface (GUI). The testing device runs a testing program to start a recording procedure to execute the following steps: detecting a plurality of actions generated in response to operations on the terminal device; detecting a foreground application of the GUI; reading a plurality of pieces of object information of the foreground application; and determining the actions to record an object property operation of the foreground application and a call command. The testing device further stops the recording procedure to generate and store a script file and a reference log file. The script file includes the object property operation and the call command.
申请公布号 US9317413(B2) 申请公布日期 2016.04.19
申请号 US201414156312 申请日期 2014.01.15
申请人 Institute For Information Industry 发明人 Lin Ching-Wen
分类号 G06F9/44;G06F3/00;G06F17/40;G06F11/36 主分类号 G06F9/44
代理机构 Skaar Ulbrich Macari, P.A. 代理人 Skaar Ulbrich Macari, P.A.
主权项 1. A testing device, comprising: a transceiver connected to a terminal device, being configured to run a graphical user interface (GUI); a storage, being configured to store a testing program; and a processor electrically connected to the transceiver and the storage, being configured to run the testing program to start a recording procedure for executing the following steps of: detecting a plurality of actions generated in response to operations on the terminal device;detecting a foreground application of the GUI;reading a plurality of pieces of object information of the foreground application;determining that a first action of the actions is to execute a coordinate command, and recording an object property operation of the foreground application which corresponds to the coordinate command according to the object information; anddetermining that a second action of the actions is to execute a call command which switches the foreground application from a first program to a second program, and recording the call command; wherein the processor is further configured to stop the recording procedure to generate and store a script file and a reference log file into the storage, and the script file comprises the object property operation and the call command; wherein when the transceiver is disconnected from the terminal device and connected to another terminal device, the processor further runs the testing program to start a playback procedure for executing the following steps: analyzing the script file;reading the pieces of object information of the foreground application of another GUI run by the another terminal device;generating the coordinate command according to the pieces of object information and the object property operation;executing the coordinate command and the call command;generating a testing log file; andcomparing the reference log file with the testing log file to generate a testing result.
地址 Taipei TW
您可能感兴趣的专利