Method and device for testing non-standard control

The invention discloses a method and device for testing non-standard control. The method comprises the steps of recognizing a non-standard control in a target system; packaging the attribute value obtaining method of the non-standard control into a DLL; and calling the DLL to realize the test of the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YE XUELI, LI BOBO, YANG DANJUN, WEI QUNYUE
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 method and device for testing non-standard control. The method comprises the steps of recognizing a non-standard control in a target system; packaging the attribute value obtaining method of the non-standard control into a DLL; and calling the DLL to realize the test of the non-standard control. The method comprises the following steps: firstly, identifying a non-standardcontrol in a target system, packaging an attribute value acquisition method in the non-standard control into a DLL (Dynamic Link Library), and testing the non-standard control according to the DLL, so that the DLL does not change along with the change of an interface of the target system, and a test script does not need to be continuously adjusted. 本发明公开了一种非标准控件的测试方法及装置,该方法包括:识别目标系统中的非标准控件;将所述非标准控件的属性值获取方法封装为DLL;调用所述DLL实现所述非标准控件的测试。上述的测试方法中,首先识别目标系统中的非标准控件,并将所述非标准控件中的属性值获取方法封装为DLL,依据所述DLL所述非标准控件的测试,所述DLL不会因为所述目标系统界面的变化而变化,因此不需要不断调整测试脚本。