Web page front-end testing methods and web page front-end testing device
A test method and web front-end technology, applied in the Internet field, can solve the problems of complex maintenance of front-end unit test cases, improve maintainability and test efficiency, and reduce high coupling
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0030] Please refer to image 3 , is a webpage front-end testing method provided by a preferred embodiment of the present invention, and is applied to a client 401 and a webpage server 100 connected to each other through communication. The webpage front-end testing method comprises the following steps:
[0031]Step S101, the client 401 generates access request data in response to a test instruction.
[0032] In this embodiment, the client 401 acquires data for loading web pages and data for implementing various front-end website services from the web server 100 through the access request data. The access request data includes a test identifier for identifying a function to be tested that needs to be tested and a file to be tested corresponding to the function to be tested. It should be noted that the corresponding relationship between the function to be tested and the file to be tested can be preset. The access request data also includes the webpage address corresponding to...
no. 2 example
[0062] Such as Figure 6 Shown is a webpage front-end testing method provided by a preferred embodiment of the present invention, the method is applied to the webpage server 100, and the webpage front-end testing method includes the following steps:
[0063] Step S201, receiving the access request data sent by the client 401, wherein the access request data includes a test identifier for identifying a function to be tested that needs to be tested.
[0064] In this embodiment, the access request data is parsed, and the test identification of the function to be tested that needs to be tested is obtained from the access request data. The test identification includes the identification of the file to be tested and the identification of the function to be tested. The identifier of the file to be tested may be the name of the file to be tested, for example, the name of the file to be tested may be demo.js; the identifier of the function to be tested may be the name of the function ...
no. 3 example
[0075] Please refer to Figure 7 , is the webpage front-end testing device 200 applied to the webpage server 100 provided by the preferred embodiment of the present invention. The webpage front-end testing device 200 includes: a receiving module 201 , an acquiring module 202 , a generating module 203 and a sending module 204 .
[0076] The receiving module 201 is configured to receive the access request data sent by the client 401, wherein the access request data includes a test identifier for identifying a function to be tested that needs to be tested.
[0077] In the embodiment of the present invention, step S201 may be executed by the receiving module 201 .
[0078] The obtaining module 202 is used to obtain the test case corresponding to the function to be tested according to the test identification; and is also used to obtain the data to be fed back according to the access request data, wherein the data to be fed back includes information related to the function to be te...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com