The invention discloses an application test method and apparatus, relates to the technical field of software testing, and mainly aims to solve the problems that during manual testing of an application, developed in a wechat applet, of an existing insurance type electronic commercial product, due to input of a large amount of data such as identity numbers, ages, insurance fees, insurance products and the like, manual testing of pure manpower cannot meet the iterative speed of the electronic commercial product, a large amount of manpower resources are wasted, and the test effect is reduced. According to the main technical scheme, whether attributes of a user interface (UI) component elements exist in a health insurance application or not is judged in a test environment, wherein the UI component elements are objects for executing different UI component programs in the health insurance application according to a business process; and if the attributes exist, a triggering event of the UI components corresponding to the attributes runs according to preset test codes, and a running result is returned. The application test method and apparatus are mainly used for application testing.