Automated Graphics Testing via Test Format Library

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

VSEngineering Contradiction Analysis

1Reliability

If visual inspection is used to test graphical output, then testing can be performed, but it is time-consuming and unreliable

Engineering Contradiction:
Improvetesting reliabilityVSAvoidtesting time
Core Design Contradiction:
ReliabilityVSLoss of time

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.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

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.

Inventive Principle:
Principle #26Copying

2Measurement precision

If visual inspection is used to test graphical output, then testing can be performed, but small details are easily overlooked

Engineering Contradiction:
Improvedetection precisionVSAvoidinspection time
Core Design Contradiction:
Measurement precisionVSLoss of time

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.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If visual inspection is used to test graphical output, then testing can be performed, but quality control varies between testers

Engineering Contradiction:
Improvequality control consistencyVSAvoidtesting system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

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.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Productivity

If automated comparison is implemented, then testing speed increases, but system complexity increases

Engineering Contradiction:
Improvetesting speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7417632B2Automatic testing of graphics programs
Publication Date: 2008.08.26 SAP SE
  • US7417632B2 patent drawing
  • US7417632B2 patent drawing
  • US7417632B2 patent drawing

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.