Method and system for testing web pages
A test method and page technology, applied in the field of WEB page test methods and systems, can solve problems such as high difficulty and low efficiency of automated test process, achieve the effect of reducing the requirements for programming skills and improving test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 The method flow chart of an embodiment of the method for testing a WEB page provided by the present invention. Corresponding test cases can be generated through the interface configuration of human-computer interaction to further realize the testing process.
[0025] refer to figure 1 , in step S110, the test content data of the WEB page to be tested is obtained, and the test content data is used to configure the test case.
[0026] Usually the test content of WEB pages includes the following types: assertion, action and others such as loop, log output, WEB page screenshot, etc. And for each type of test content can be divided into multiple sub-types. For example, in assertion test content: it usually involves equality verification, and its subtypes mainly include: URL, DOM element non-existence, Boolean expression, check state, DOM existence, page title and value, etc.; action test content includes The main subtypes of are: mouse click, single selection an...
Embodiment 2
[0038] figure 2 The method flowchart of another embodiment of the testing method of the WEB page that the present invention provides, can be regarded as figure 1 A specific implementation of the illustrated embodiment.
[0039] refer to figure 2 , in step S210, the test content data of the WEB page to be tested is obtained, and the test content data is used to configure the test case. The processing of step S210 is the same as the processing of step S110 described above.
[0040] Specifically, in order to facilitate the operation of testers, this embodiment utilizes a WEB page to configure a test interface to acquire test content data of a test WEB page.
[0041] image 3 An example of the WEB page configuration test interface is shown. refer to image 3 , corresponding to the content contained in the above test content data, the WEB page configuration test interface correspondingly includes the input box option of the "step setting" part. In the "step setting" sectio...
Embodiment 3
[0061] Figure 6 The structure schematic diagram of an embodiment of the testing system of the WEB page that the present invention provides, can be used for carrying out such as figure 1 The method steps of the illustrated embodiment.
[0062] refer to Figure 6 , the WEB page test system specifically includes an acquisition module 610 , an extraction module 620 , a generation module 630 and a test module 640 .
[0063] Obtaining module 610, is used for obtaining the test content data of WEB page to be tested, and this test content data is used for disposing test case;
[0064] Extraction module 620, for extracting the test case standard template matching with the test content data in the test case standard template library;
[0065] Generating module 630, for generating the test case for testing the test content of the WEB page according to the test content data and the extracted test case standard template matched therewith;
[0066] The testing module 640 is configured ...
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