Web App Test Script Generation via Bounded Screen Transition Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveautomation of screen transition testVSAvoidtime required for specification reconstruction
Core Design Contradiction:
Extent of automationVSLoss of time

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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.

Inventive Principle:
Principle #16Partial or excessive action

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

Engineering Contradiction:
Improvecompleteness of specification reconstructionVSAvoidunnecessary information in test scripts
Core Design Contradiction:
ReliabilityVSLoss of information

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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.

Inventive Principle:
Principle #3Local quality

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

Engineering Contradiction:
Improveaccuracy of screen transition testVSAvoidtesting efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

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.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12222845B2Apparatus, method, and program for generating a test script for a web application based on screen transitions
Publication Date: 2025.02.11 NIPPON TELEGRAPH & TELEPHONE CORP
  • US12222845B2 patent drawing
  • US12222845B2 patent drawing
  • US12222845B2 patent drawing

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.