Test case generation method and device

The embodiment of the invention provides a test case generation method and device. When the test case of the to-be-tested software is generated, an object identification list of the to-be-tested software can be acquired firstly. The object identifier list comprises identifiers of at least one operat...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG XIN, RUAN SHAOCHEN, ZHOU RONGLIN, WANG CHENG, LI PEIGANG, YAO KAI, GAO JIANLING
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 embodiment of the invention provides a test case generation method and device. When the test case of the to-be-tested software is generated, an object identification list of the to-be-tested software can be acquired firstly. The object identifier list comprises identifiers of at least one operation object, for example, identifiers of all operation objects in the to-be-tested software can be included. Wherein the identifier of the operation object is generated in the process of establishing the operation object, and the operation object can be uniquely identified. After the object identification list of the to-be-tested software is obtained, the operation behavior corresponding to each operation object in the object identification list, namely the specific behavior performed on the operation object in the testing process, can be obtained. And finally, a test case is generated according to the object identification list and the operation behavior corresponding to each operation object. In this way, the test