System and method for web page rendering test automation suite
First Claim
1. A computer-executable application embodied in a non-transitory medium for operation by a computer processor for implementing a method of testing visual elements in a rendered web page, the method comprising:
- defining, with the computer processor, a gold image at a first point within a web application;
taking a screen shot of an actual image at the first point during execution of the web application with the computer processor; and
comparing, with the computer processor, the gold image to the actual image and generating a difference image based on the comparison;
wherein the difference image comprises;
a first region highlighting a first difference between the gold image and the actual image within an area common to both images; and
a second region highlighting a second difference between the gold image and the actual image which is not within an area common to both images.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems are provided for testing visual elements in a rendered web page. The method includes defining a gold image at a first point within a web application, taking a screen shot of an actual image at the first point during execution of the web application, and comparing the gold image to the actual image and generating a difference image based on the comparison. The difference image may include a first region highlighting a first difference between the gold image and the actual image within an area common to both images, and a second region highlighting a second difference between the gold image and the actual image which is not within an area common to both images.
126 Citations
20 Claims
-
1. A computer-executable application embodied in a non-transitory medium for operation by a computer processor for implementing a method of testing visual elements in a rendered web page, the method comprising:
-
defining, with the computer processor, a gold image at a first point within a web application; taking a screen shot of an actual image at the first point during execution of the web application with the computer processor; and comparing, with the computer processor, the gold image to the actual image and generating a difference image based on the comparison; wherein the difference image comprises; a first region highlighting a first difference between the gold image and the actual image within an area common to both images; and a second region highlighting a second difference between the gold image and the actual image which is not within an area common to both images. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-executable method of testing a block of code used for rendering a web page, comprising:
-
defining, with a processor of a computing system programmed to perform the computer-executable method, a gold image at a predetermined point within the code block; taking, with the processor of the computing system, a test image of a rendered web page at the predetermined point; comparing, with the processor of the computing system, the test image to the gold image; producing, with the processor of the computing system, a DIFF file comprising at least one difference between the test image and the gold image based on the comparison; and displaying a DIFF image based on the DIFF image file; wherein displaying the DIFF image comprises; displaying the elements common to the gold image and the test image using a first visualization; and displaying the at least one difference in a second visualization different from the first visualization. - View Dependent Claims (16, 17)
-
-
18. Computer code embodied in a non-transitory medium for operation by a processing system for performing the steps of:
-
defining a gold image comprising a subset of web elements associated with a web page to be rendered; taking a screen shot of the rendered web page; comparing the screen shot to the gold image to obtain common elements between the gold image and the screen shot; and displaying the common elements between the gold image and the screen shot in a first color and simultaneously displaying the differences between the gold image and the screen shot in a second color. - View Dependent Claims (19, 20)
-
Specification