The invention relates to the technical field of
software testing, and discloses an interface
anomaly detection method and
electronic equipment. The method comprises the following steps: respectively collecting a visual frame, a UI hierarchical tree, a log text and a resource index; respectively encoding the visual
frame sequence, the UI hierarchical tree, the log text and the resource index through a multi-
modal model to obtain encoding features; for any two
modes in the visual mode, the structural mode, the
text mode and the index mode, calculating attention weights between the two
modes through a multi-mode model according to coding features corresponding to the two
modes, and determining multi-mode representation after the two modes are fused according to the attention weights so as to obtain multi-mode representation of all pairwise mode combinations; determining a consistency energy value through a multi-
modal model according to the multi-
modal representation of all the pairwise modal combinations; and if the consistency energy value is greater than a first threshold value, determining that the to-be-tested
software has interface abnormity. According to the method and the device, the interface abnormity can be accurately detected in real time.