Automated Graphics Testing via Test Format Library
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Automated testing of graphical outputs in software development is time-consuming and unreliable due to the need for visual inspection of large graphic images, which can lead to overlooked details and variability among testers.
Innovation Solution
An automated system that uses a processor, non-volatile storage, and a test format library to divert graphics commands for comparison with reference graphics, generating reports that highlight discrepancies, allowing for simultaneous drawing and testing of graphics in multiple formats like SVG and JPEG.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If visual inspection is used to test graphical output, then testing can be performed, but it is time-consuming and unreliable
Solution Approach 1:
The patent replaces the mechanical/visual inspection system with an automated computer-based comparison system. The system automatically generates graphical output, converts it to a test format, compares it bit-by-bit with reference graphics, and generates test reports without human visual inspection, thereby eliminating time consumption and improving reliability.
Solution Approach 2:
The patent creates a reference graphic copy that serves as the standard for comparison. The system generates a test graphic, converts it to a test format, and compares it against the reference graphic copy to automatically detect discrepancies, enabling reliable and time-efficient testing.
2Measurement precision
If visual inspection is used to test graphical output, then testing can be performed, but small details are easily overlooked
Solution Approach 1:
The patent replaces human visual inspection with automated bit-by-bit comparison of graphical data. The system compares every pixel and detail between the test graphic and reference graphic at the data level, ensuring that even the smallest details are detected without time loss, as the comparison is performed computationally rather than visually.
3Reliability
If visual inspection is used to test graphical output, then testing can be performed, but quality control varies between testers
Solution Approach 1:
The patent replaces the human-based testing system with an automated computer system that performs consistent bit-by-bit comparison. The system eliminates variability between testers by using algorithmic comparison that is identical every time, ensuring consistent quality control. The system includes components for graphic generation, format conversion, comparison, and report generation, providing a complete automated solution.
4Productivity
If automated comparison is implemented, then testing speed increases, but system complexity increases
Solution Approach 1:
The patent introduces a test format library as an intermediary component that bridges the graphics program and the comparison system. This library handles the conversion of graphics to a testable format, simplifying the overall system architecture. The system includes a processor, storage for reference graphics, and the test format library, providing a manageable structure for automated testing.
Data Source
AI summary
A method and system to automatically test graphical output. A graphical output is generated in a format that permits automatic comparison with a reference graphic. The reference graphic is created and retained in the test format. The test format reference graphic is compared with the test format output graphic. The results of the comparison are used to generate a report of the discrepancies between the reference graphic and the output graphic.


