Interface test case generation method and device, storage medium and electronic equipment

The invention discloses an interface test case generation method and device, a storage medium and electronic equipment, and can be applied to the financial field or other fields. The method comprises the following steps: when an interface test case of a front-end product needs to be generated, obtai...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CAO YANSONG, MA LINGTONG, XU XUEMEI
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 an interface test case generation method and device, a storage medium and electronic equipment, and can be applied to the financial field or other fields. The method comprises the following steps: when an interface test case of a front-end product needs to be generated, obtaining a front-end source code corresponding to the front-end product; analyzing the front-end source code according to a preset element resource library to obtain a plurality of interface elements corresponding to the front-end source code and an element attribute corresponding to each interface element; and determining a test item set in a plurality of preset test items, and generating an interface test case of the front-end product according to each interface element, the element attribute corresponding to each interface element, the test item set and a preset interface test case template. By applying the method, the interface test case of the front-end product can be automatically generated based on source code a