Page code testing method and device
A technology of page testing and page code, applied in the field of system testing, can solve the problems of delaying the work progress of web page code, increasing labor costs, consuming hardware resources, etc., achieving the effect of saving hardware resources and labor costs, and improving test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 1 The flow chart of the test method for the page code provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method may include:
[0051] S101. Construct a test case, wherein the test case includes: constructed or recorded background module response data, recorded page test operation and page area reference image.
[0052] In order to realize the test automation of the web page code, it is necessary to be able to automate the test cases that are executed repeatedly. The present invention utilizes constructing or recording the response data of the background module, recording the page test operation, and intercepting the reference image of the page area to form an automatically executable test case, thereby realizing the test automation of the web page code.
[0053] The following describes how to obtain the constructed or recorded background module response data.
[0054] If the background module is not ready yet, you need to constru...
Embodiment 2
[0099] Figure 6 A schematic diagram of a test device for the page code provided in Embodiment 2 of the present invention, such as Figure 6 As shown, the device includes: a construction unit 10, a test unit 20, wherein the construction unit 10 further includes: a response data subunit 11, a test operation recording subunit 12 and a first screenshot subunit 13, and the test unit 20 further includes: The test operates the playback subunit 21 and the second screenshot subunit 22 .
[0100] The construction unit 10 is configured to construct test cases, wherein the test cases include: constructed or recorded background module response data, recorded page test operations and page area reference images.
[0101] The construction unit 10 further includes: a response data subunit 11 , a test operation recording subunit 12 and a first screenshot subunit 13 .
[0102] The response data subunit 11 is used for constructing or recording background module response data.
[0103] For bac...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap