Input Value Setting Assistance for Web Test Script Accuracy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for automatically generating test scripts for screen transitions in Web applications are inefficient, particularly when specific input values are required, as they rely on manual preparation and guessing of input forms, leading to inaccuracies and increased time consumption.
Innovation Solution
An input value setting assistance device that displays screen images and sets coordinates for input fields, allowing users to visually identify and set values for each input form through a marked interface, reducing the need for manual guessing and increasing accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual operations are performed for screen transition testing, then test coverage is complete, but time consumption is excessive
Solution Approach 1:
The system automatically generates test scripts by analyzing the Web application structure itself, without requiring external test script writers. The crawler autonomously navigates screens, identifies input forms, and creates corresponding test cases, enabling the system to serve its own testing needs
Solution Approach 2:
Manual mechanical operations (clicking, typing) are replaced by an automated crawler that programmatically navigates the Web application, identifies input forms through HTML analysis, and generates test scripts, substituting human manual work with automated software agents
2Productivity
If test scripts are automatically generated using reverse-based test technique, then generation speed is improved, but accuracy of input value identification deteriorates
Solution Approach 1:
A setting assistance screen is introduced as an intermediary between the automated script generation and the actual test execution. This screen allows testers to visually confirm and manually adjust input form identifications before finalizing test scripts, serving as a verification layer that improves accuracy without completely abandoning automation
Solution Approach 2:
The system provides feedback to testers through the setting assistance screen, displaying identified input forms and their locations for verification. Testers can review and correct identifications, and this feedback loop ensures that the automated generation process produces accurate results by allowing human validation of machine-generated identifications
3Measurement precision
If testers manually find and set input values for each input form, then accuracy is maintained, but operation complexity increases
Solution Approach 1:
The setting assistance screen serves as an intermediary tool that simplifies the manual process. Instead of requiring testers to navigate through complex code or use multiple tools to identify input forms, the system provides a unified interface where input forms are automatically identified and displayed with their locations, reducing operational complexity while maintaining accuracy
Solution Approach 2:
The system creates a visual copy or representation of the Web application screen with input forms marked, allowing testers to see exactly where input values should be set without manually searching through HTML code or using browser developer tools, thereby simplifying the operation while maintaining precision
Data Source
AI summary
An input value setting assistance device includes: an acquisition unit that displays a first screen including a plurality of input fields, and acquires an image of the first screen and a coordinate value regarding each of the input fields included is the first screen; and an assistance unit that displays a second screen including the image acquired by the acquisition unit regarding the first screen and setting fields for setting values for each of the input fields of the first screen and, when one of the setting fields is selected, displays a prescribed mark based on the coordinate value acquired by the acquisition unit for the input field related to the setting field. Thereby, the setting work of each of the input values prepared in advance for each of the input fields included is the screen can be effectively assisted.


