Web App Test Script Generation via Bounded Screen Transition Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The reverse-based testing technique for automatically generating test scripts for web applications requires excessive time for specification reconstruction and generates unnecessary information, impairing the efficiency of automatic test script generation.
Innovation Solution
An analysis apparatus that executes a script to transition a web application screen to a reference screen and performs screen transition analysis within a preset upper limit of screen transitions, thereby limiting unnecessary specification reconstruction.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If reverse-based testing technique is used to automatically generate test scripts, then automation of screen transition test is achieved, but time required for specification reconstruction increases
Solution Approach 1:
The patent extracts and removes unnecessary specification information from the reconstructed specifications by comparing against the actual web application structure. This eliminates redundant data while preserving essential test script generation capabilities, thereby reducing specification reconstruction time without compromising automation.
Solution Approach 2:
The patent performs partial specification reconstruction by focusing only on the necessary screen transitions and elements required for testing, rather than exhaustively analyzing all possible specifications. This selective approach reduces time consumption while maintaining effective test script generation.
2Reliability
If exhaustive screen transition test is performed by automatically operating all screen elements, then complete specification reconstruction is achieved, but unnecessary information is mixed in with generated test scripts
Solution Approach 1:
The patent extracts only the necessary specification information required for screen transition testing by comparing reconstructed specifications against the actual web application structure. This removes unnecessary information while retaining essential test cases, achieving both completeness and precision.
Solution Approach 2:
The patent applies different quality standards to different parts of the specification reconstruction process. Essential screen transition paths are analyzed in detail while less critical areas are handled more selectively, ensuring high reliability where needed and reducing noise elsewhere.
3Manufacturing precision
If manual operations are performed for client side interactions, then accurate screen transition test is achieved, but enormous amount of time is required
Solution Approach 1:
The patent enables the testing system to automatically perform client-side interactions by generating test scripts that simulate user operations. The system serves itself by automating what was previously manual work, maintaining testing accuracy while dramatically improving productivity through script-based execution.
Data Source
AI summary
An apparatus and a method relate to generating a test scenario for testing a web application. The disclosure includes executing a script that causes a transition of a screen to a reference screen of the web application. From the reference screen, the disclosure dynamically performs a screen transition analysis for subsequent screens that are transitioned from previous screens of the web application. The subsequent screens for the dynamically performing the screen transition analysis are within a boundary according to a predetermined number of hops from the reference screen. The screen transition analysis includes automatically generating a test scenario and input data for causing screen transitions in the web application. Based on the screen transitions, the screen transition analysis generates screen transition data diagram for testing the web application.


