Patent ID: 9183115
Filing Date: 2015-11-10
Classification: G06F

Abstract:
1. A testing method, for testing a function of a program in an electronic apparatus, the program associating the function to an icon on an user interface, the method comprising: a) searching for a location of the function in the program, detecting a hardware status corresponding to the function, stopping testing the function when an error occurs in the hardware status, and not displaying a corresponding icon when the error occurs in the hardware status, wherein the location comprises a position of the icon on the user interface; b) sending a command according to the location to perform the function; and c) determining whether an error occurs in the function according to a response of the function in response to the command; wherein, the command comprises a sub-command representing a user behavior of moving to the icon on the user interface; wherein, step (a) further comprises: wherein, step (b) further comprises determining a function corresponding to the user interface, and stopping sending the command when the function is not a function of the user interface.