Web Application Test Script Generation with Default Value Filtering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional reverse-based test techniques for web applications require a significant amount of time for specification restoration due to the generation of numerous operation patterns, many of which do not contribute to screen transition specifications, leading to inefficiencies and potential biases in automatic operation.
Innovation Solution
An operation pattern generation apparatus that reduces the number of operation patterns by combining only the default input value with operation elements for input elements with set default values, thereby focusing on essential operations for specification restoration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional reverse-based test techniques generate all possible operation patterns by combining operation elements with input data candidates, then comprehensive test coverage is achieved, but the time required for specification restoration increases significantly
Solution Approach 1:
The patent extracts and identifies default values from input elements on web application screens. By detecting which input elements have default values set, the system separates these from regular input elements, allowing the test script generator to create fewer operation patterns specifically for default value elements while maintaining comprehensive test coverage for non-default elements.
Solution Approach 2:
Instead of generating all possible operation patterns for every input element, the patent applies partial action by generating operation patterns only for non-default input elements. For default value elements, the system performs a reduced set of operations, recognizing that exhaustive testing of default values is less critical since they represent pre-configured states.
2Loss of time
If the number of operation patterns is reduced by combining only default values with operation elements, then specification restoration time is reduced, but test comprehensiveness may be compromised
Solution Approach 1:
The patent applies different testing strategies to different types of input elements based on their local characteristics. Default value input elements receive a simplified testing approach (combining only with operation elements), while non-default input elements receive comprehensive testing (combining with all input data candidates). This local differentiation optimizes the balance between test coverage and execution time.
Data Source
AI summary
An operation pattern generation apparatus has a generating unit which generates, with respect to a test script to be used for a web application, operation patterns related to combinations of operation elements that cause a transition between screens of the web application and input data candidates for input elements to be used to input data on the screens, and with respect to the input element of which a default value of input data is set in advance, the generating unit combines only the default value with the operation elements in order to reduce time required for specification restoration of screen transitions of the web application.


