Web application test case generation method based on user interface state flow graph
A test case generation and user interface technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve the problems of low test efficiency, repeated searches of the same sub-path, high cost of Web application testing, etc., and achieve scale reduction , The effect of reducing the cost of testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0041] In this embodiment, a depth-first dynamic search technique is used to generate a user interface state flow graph (SFG) as a Web application test model, and a test case is generated by reversely traversing the SFG graph. A complete path in the SFG graph corresponds to a test case of the Web application. The implementation steps are as follows:
[0042] 1. Generate SFG diagram
[0043] 1) Initially load the entry address of the web application to generate the initial state index of SFG;
[0044] 2) Analyze the DOM elements related to the clickable event in the index object, and extract the clickable event set {e 1 ,e 5}, select one of the unclicked events e 1 , simulating its triggering, generating a new state s 1 , update the SFG graph;
[0045] 3) Use the depth-first strategy to dynamically search for new states, update the SFG graph, and backtrack until there are no clickable events in the current state. as from s 1 Departure choose e 2 Simulate trigger, genera...
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