QT interface program automatic detection method and device

The invention discloses a QT interface program automatic detection method, which comprises the steps: triggering an event generation process through a timer, and generating a random event instruction;obtaining all operation controls and filtering the operation controls to obtain a filtering control;...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LU SHENGQIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a QT interface program automatic detection method, which comprises the steps: triggering an event generation process through a timer, and generating a random event instruction;obtaining all operation controls and filtering the operation controls to obtain a filtering control; according to the random event instruction, randomly obtaining one control in the filtering controls to obtain a random control; judging an event type which can be generated by the random control, and generating a corresponding random event according to the event type; and sending the random control and the random event to a QT window system for detection to obtain a detection result of the QT interface program. According to the QT interface program automatic detection method provided by the embodiment of the invention, the QT interface program can be automatically detected under the condition of not influencing the operation of other programs, and the detection reliability and accuracy canbe effectively improved.