Webpage automated testing method and device
A technology for automated testing and web page testing, applied in the computer field, can solve problems such as low efficiency, and achieve the effect of satisfying personalized and optimizing web page automated testing technology.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0026] figure 2 It is a flow chart of a webpage automation testing method in the first embodiment of the present invention. The method in this embodiment can be executed by a webpage automation testing device, which can be realized by hardware and / or software, and generally can be integrated into In the server that completes the automated testing of the webpage. The method of this embodiment specifically includes the following operations:
[0027] 210. Generate a node structure diagram corresponding to the clickable elements in the webpage to be tested.
[0028] In this embodiment, the webpage testing server generates a node structure diagram corresponding to the dottable elements in the webpage to be tested.
[0029] In this embodiment, the clickable elements in the webpage to be tested specifically include: webpage controls that can be triggered by clicking, touching, or sliding operations on the webpage to be tested, such as button controls, slider controls, or input box...
no. 2 example
[0044] Figure 4 It is a flow chart of a web page automation testing method according to the second embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, it is preferable to optimize the operation to generate a node structure diagram corresponding to the clickable elements in the webpage to be tested as follows: according to the clickable elements in the webpage to be tested elements to generate logical nodes; according to the node attributes of the logical nodes, the logical nodes are hierarchically arranged; according to the association relationship between the logical nodes, the logical nodes after the hierarchical arrangement Points are connected to generate a node structure diagram.
[0045] Preferably, the operations are generated according to the node structure diagram to generate conventional test cases, and webpage test optimization based on the conventional test cases is as follows: gen...
no. 3 example
[0071] Figure 5 It is a flowchart of a web page automation testing method according to the third embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, after performing the web page test based on the conventional test case, the operation further includes: using the web page test result of the conventional test case to test other tests Use the web page test results of the use case for verification.
[0072] Correspondingly, the method of this embodiment includes the following operations:
[0073] 510. Generate a node structure diagram corresponding to the clickable elements in the webpage to be tested.
[0074] 520. Generate a regular test case according to the node structure diagram, and perform a webpage test based on the regular test case.
[0075] 530. Verify the web page test results of other test cases by using the web page test results of the conventional test case.
[0076] In this embo...
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