Front-end page testing method and device, storage medium and electronic equipment

By parsing the front-end page configuration file to obtain interface information, generate test cases and execute them, it solves the problems of poor front-end form testing performance and heavy workload, and achieves more efficient test coverage and automated testing efficiency.

CN118606576APending Publication Date: 2024-09-06HILLSTONE NETWORKS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410383139.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-09-06

Smart Images

  • Figure CN118606576A
    Figure CN118606576A
Patent Text Reader

Abstract

The invention discloses a front-end page testing method and device, a storage medium and electronic equipment. The method comprises the following steps: analyzing a configuration file of a front-end page to obtain open application program interface configuration information of a to-be-tested page component; description information of a request parameter of a to-be-tested interface is determined in the open application program interface configuration information, and the to-be-tested interface is an interactive interface of the to-be-tested page component; associated interface environment data and test data are generated based on the description information of the request parameters, and the test data comprise execution action information and expected response information of the to-be-tested page component; and generating a test case according to the associated interface environment data and the test data, and executing the test case to obtain a test result of the to-be-tested page component. Through the method and the device, the problems of poor test performance and large test workload of a test mode of a front-end form in related technologies are solved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Cited By

  • Test data generation method and device and electronic equipment

    CN119829424A