Automated Document Conversion Testing
AssigneeChegg, Inc.
InventorsVincent Le Chevalier, Charles F. Geiger
Life of this patent
Estimating the term…
Abstract
Embodiments of the invention provide a system for automated document conversion testing. For each page in the received documents, the system first converts the page into a source image. The system then converts the document page into a set of markup language page elements and generates a rendered image of the markup language page elements displayed in a web browser on a target software platform. Next, the system determines a correlation factor between the source image and the rendered image. The correlation factor indicates a page fidelity between the original document and its markup language transformation. If the correlation factor exceeds a threshold established for a minimum page fidelity requirement, the markup language conversion is validated.
Claims24
A method of automated document conversion testing, the method comprising:
- converting a received document page into a source image;
- converting the document page into a set of markup language page elements;
- generating a rendered image from the set of markup language page elements displayed in a web browser on a target software platform;
- determining, by a computer, a correlation factor between the source image and the rendered image, wherein the correlation factor indicates a page fidelity between the source image and the rendered image;
- and
- responsive to the correlation factor exceeding a threshold, validating the markup language page elements.
A non-transitory computer-readable storage medium storing executable computer program instructions for automated document conversion testing, the computer program instructions comprising instructions for:
- converting a received document page into a source image;
- converting the document page into a set of markup language page elements;
- generating a rendered image from the set of markup language page elements displayed in a web browser on a target software platform;
- determining a correlation factor between the source image and the rendered image, wherein the correlation factor indicates a page fidelity between the source image and the rendered image;
- and
- responsive to the correlation factor exceeding a threshold, validating the markup language page elements.
A system for automated document conversion testing, the system comprising:
- a processor;
- a first converting module for converting a received document page into a source image;
- a second converting module for converting the document page into a set of markup language page elements;
- an image-generation module for generating a rendered image from the set of markup language page elements displayed in a web browser on a target software platform;
- a determination module for determining a correlation factor between the source image and the rendered image, wherein the correlation factor indicates a page fidelity between the source image and the rendered image;
- and
- a validation module for validating the markup language page elements in response to the correlation factor exceeding a threshold.
Dependencies are inferred from the claim text.