Method, device and equipment for automatically testing JSAPI (Java Server Application Program Interface) of mobile terminal and medium

The invention discloses an automatic test method, device and equipment for a JSAPI interface of a mobile terminal and a medium. The method comprises the following steps: executing a first preset script to trigger and obtain a JSAPI interface test case set; initially starting a webpage view control,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHAO SHENGQI
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 automatic test method, device and equipment for a JSAPI interface of a mobile terminal and a medium. The method comprises the following steps: executing a first preset script to trigger and obtain a JSAPI interface test case set; initially starting a webpage view control, and initially loading a test page in the webpage view control; executing a second preset script to automatically test each JSAPI interface test case in the JSAPI interface test case set in the test page to obtain a test result corresponding to each JSAPI interface test case; and sending a test result corresponding to each JSAPI interface test case to a receiving end corresponding to the continuous integration/continuous deployment assembly line. According to the embodiment of the invention, the automatic test of the JSAPI interface test case is realized based on the webpage view control, and the problem of test omission is avoided through the automatic test of the JSAPI interface test case, so that the test efficie