Software Test Manual Generation from Operation Logs and Screen Images
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing software testing methods struggle with unclear identification of screen elements, making it difficult for users to understand the execution content of software tests, particularly in transitions involving forms, buttons, and links, as element names are automatically named based on attribute values, requiring visual execution and script following.
Innovation Solution
A test apparatus that acquires user operation logs to generate page objects defining test procedures and user operations, creates a manual with operation content information and screen images, and outputs this data to facilitate easier understanding of software tests.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If automatic naming of screen elements is used based on attribute values, then test script generation is automated, but element identification becomes unclear and unexplanatory
Solution Approach 1:
The patent introduces a mapping relationship as an intermediary between the automatic element identification and the user-friendly explanation. The system maintains the automated generation of test scripts while adding a layer of mapping that connects technical element identifiers to human-readable descriptions, thereby resolving the contradiction between automation and clarity.
Solution Approach 2:
The patent creates a copy of the element identification process that preserves both the automated functionality and the explanatory information. By generating test scripts with mapped element descriptions, the system produces a version of the test script that is both automatically generated and easily understandable, eliminating the need to choose between automation and clarity.
2Loss of information
If users visually follow operation sequences or character strings to understand test procedures, then complete understanding is achieved, but the process becomes time-consuming and difficult
Solution Approach 1:
The patent segments the test procedure into discrete, visually presented steps with associated screenshots. Instead of requiring users to read through lengthy character strings or follow complex sequences, the information is divided into manageable segments that can be quickly understood through visual inspection, significantly reducing the time required to comprehend test procedures.
Solution Approach 2:
The patent utilizes visual presentation with screenshots and highlighted elements to make test procedures more easily distinguishable and understandable. By presenting information visually rather than textually, the system enables users to quickly grasp test procedures without time-consuming reading, addressing the contradiction between complete understanding and time efficiency.
Data Source
AI summary
A test apparatus includes circuitry configured to acquire log information according to a first user operation; generate, for each screen of a target page of a software test, a page object defining one or more methods, based on the log information, each of the methods indicating a test procedure and a second user operation for an operation target that is to be performed on the screen of the target page; generate, based on the methods defined by the page object, a manual of the software test, the manual including (i) operation content information indicating a content of the second user operation, (ii) the test procedure, and (iii) an image indicating the screen of the target page, the image being used for identifying the operation target as the second user operation; and output data of the manual.


