Test script generation method and device, storage medium and equipment

The invention discloses a test script generation method and device, a storage medium and equipment, and the method comprises the steps: determining an operated object and an operation behavior in an original test script under a first operation system, and according to the attribute of the operated o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAO LINWEI, ZHANG YIRAN, SHAN DAN, LIU NAN, WANG CHENGYUAN, SI DANHUA
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 test script generation method and device, a storage medium and equipment, and the method comprises the steps: determining an operated object and an operation behavior in an original test script under a first operation system, and according to the attribute of the operated object, in a tested page corresponding to the original test script in a second operation system, generating a test script according to the operation behavior, and determining an object matched with the attribute of the operated object as a specified object. And according to the determined specified object and the operation behavior, generating a target test script under the second operation system. According to the method, the test script under one operating system is automatically converted into the test script under the other operating system, so that a tester is prevented from repeatedly writing scripts, and time and resources are saved. 本说明书公开了一种测试脚本生成方法、装置、存储介质及设备,本方法在第一操作系统下的原始测试脚本中确定被操作对象以及操作行为,根据被操作对象的属性,在第二