Method and device for regression testing of Web application programs
A regression test and web application technology, applied in the Internet field, can solve problems such as heavy test burden, achieve the effect of reducing maintenance cost, high coverage rate, and improving test speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Such as figure 1 As shown, the regression testing device 100 (or called Context Tester) of the Web application includes: an acquisition unit 102, which is used to acquire the web page address (URL, unified resource) corresponding to each function in the first Web application and the second Web application. The locator is exactly the URL input in the browser address bar), wherein the first web application and the second web application are different versions of the same web application; the request unit 104 is connected to the acquisition unit 102 for Under the same test environment, use the obtained web page address to request the first Web application program and the second Web application program simultaneously; the comparison unit 106 is connected to the request unit 104, and is used to respond to the first result returned by the first Web application program in response to the request The object is compared with the second result object returned by the second Web ap...
Embodiment 2
[0087] Such as figure 2 As shown, the present application provides a web application regression testing device 20 , which is set in the server 10 .
[0088] The regression testing device 20 of Web application program comprises following parts: URL collector 201, result object collector 202, report plug-in 203, test unit 204 and URL resource storehouse 207, the connection relation of above-mentioned each parts is as follows figure 2 shown.
[0089] The URL collector 201 is used to collect the online log 101 and the test log 102 of the Web application; the URL resource library 207 is used to store the URL resources collected by the URL collector 201; the result object collector 202 is used to collect two The result objects of different versions of the Web application; the test unit 204 is used to traverse and compare the result objects, and output difference data; the report plug-in 203 is used to convert the difference data generated by the test unit 204 into a final report....
Embodiment 3
[0106] exist Figure 1-Figure 2 On the basis of the computing system shown, the present application also provides a regression testing method of a Web application. Such as image 3 As shown, the regression testing method for web applications includes the following steps:
[0107] S302. Obtain web page addresses corresponding to functions in the first web application and the second web application, wherein the first web application and the second web application are different versions of the same web application; figure 1 The acquisition unit 102 shown to perform S302;
[0108] S304, use the obtained web page address to request the first web application program and the second web application program simultaneously under the same test environment, for example, use web page address A to request the first web application program, and use web page address B to request the second web application program Web application, alternatively, use the web page address C to simultaneously ...
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