Visual regression testing tool

US10146753B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10146753-B2
Application numberUS-201615218861-A
CountryUS
Kind codeB2
Filing dateJul 25, 2016
Priority dateJul 25, 2016
Publication dateDec 4, 2018
Grant dateDec 4, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques are disclosed for performing visual regression testing for a software application. In one embodiment, a regression testing tool identifies a first collection of web pages from a first version of the application, and captures an image of each identified web page. The regression testing tool identifies, for one or more of the identified web pages, a corresponding web page in a second collection of web pages from a second version of the application, and captures an image of the corresponding web pages. The regression testing tool identifies differences in pixel values for images in the first collection and images in the second collection to determine differences between the image of at least one web page in the first collection and the image of the corresponding web page. The regression testing tool generates an image providing a visualization of the one or more differences.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for performing visual regression testing of an application, comprising: identifying a first collection of web pages associated with a first version of the application by traversing web links from an initial web page of the first collection; capturing an image of each web page identified by traversing the web links from the initial web page of the first collection; identifying, for one or more of the web pages in the first collection, a corresponding web page in a second collection of web pages associated with a second version of the application; capturing an image of the corresponding web pages in the second collection; identifying differences in pixel values for images in the first collection and pixel values for images in the second collection to determine one or more differences between the image of at least one web page in the first collection and the image of the corresponding web page in the second collection; and upon determining that an amount of differences in pixel values for the image of the at least one web page in the first collection and the image of the corresponding web page in the second collection exceeds a defined threshold value, generating an image providing a visualization of the one or more differences. 2. The computer-implemented method of claim 1 , wherein the image of the at least one web page in the first collection includes content generated from output of a test harness interacting with the first version of the application and wherein the image of the corresponding web page in the second collection includes content generated from output of the test harness interacting with the second version of the application. 3. The computer-implemented method of claim 1 , wherein generating the image comprises superimposing the image of the corresponding web page in the second collection on the image of the web page in the first collection. 4. The computer-implemented method of claim 3 , wherein the visualization of the one or more differences displays the one or more differences in color, shading or grayscale. 5. The computer-implemented method of claim 1 , wherein the second collection of web pages associated with the second version of the application are identified by traversing web links from an initial web page of the second collection. 6. The computer-implemented method of claim 5 , wherein the web links from the first collection and second collection are identified by parsing hypertext markup language (HTML) content of one or more web pages in the first collection and second collection for one or more attributes that have a uniform resource locator (URL) as a value. 7. The computer-implemented method of claim 1 , wherein each corresponding web page in the second collection is identified by matching a uniform resource locator (URL) for the web page in the second collection to a URL for one of the web pages in the first collection. 8. The computer-implemented method of claim 1 , wherein the first version of the application is a version of an online interactive accounting service exposed to users over a data communications network, and wherein the second version of the application is a version of the online interactive accounting service exposed that has not been exposed to users. 9. The computer-implemented method of claim 1 , wherein identifying the differences in pixel values for images in the first collection and pixel values for images in the second collection comprises refraining from identifying differences in pixel values for a predetermined region of each image in the first collection and pixel values for the predetermined region of each image in the second collection. 10. A non-transitory computer-readable storage medium storing instructions, which when executed on a processor, perform an operation for visual regression testing of an application, the operation comprising: identifying a first collection of web pages associated with a first version of the application by traversing web links from an initial web page of the first collection; capturing an image of each web page identified by traversing the web links from the initial web page of the first collection; identifying, for one or more of the web pages in the first collection, a corresponding web page in a second collection of web pages associated with a second version of the application; capturing an image of the corresponding web pages in the second collection; identifying differences in pixel values for images in the first collection and pixel values for images in the second collection to determine one or more differences between the image of at least one web page in the first collection and the image of the corresponding web page in the second collection; and upon determining that an amount of differences in pixel values for the image of the at least one web page in the first collection and the image of the corresponding web page in the second collection exceeds a defined threshold value, generating an image providing a visualization of the one or more differences. 11. The non-transitory computer-readable storage medium of claim 10 , wherein the image of the at least one web page in the first collection includes content generated from output of a test harness interacting with the first version of the application and wherein the image of the corresponding web page in the second collection includes content generated from output of the test harness interacting with the second version of the application. 12. The non-transitory computer-readable storage medium of claim 10 , wherein the visualization of the one or more differences displays the one or more differences in color, shading or grayscale. 13. The non-transitory computer-readable storage medium of claim 10 , wherein the second collection of web pages associated with the second version of the application are identified by traversing web links from an initial web page of the second collection, and wherein the web links from the first collection and second collection are identified by parsing hypertext markup language (HTML) content of one or more web pages in the first collection and second collection for one or more attributes that have a uniform resource locator (URL) as a value. 14. The non-transitory computer-readable storage medium of claim 10 , wherein each corresponding web page in the second collection is identified by matching a uniform resource locator (URL) for the web page in the second collection to a URL for one of the web pages in the first collection. 15. The non-transitory computer-readable storage medium of claim 10 , wherein identifying the differences in pixel values for images in the first collection and pixel values for images in the second collection comprises refraining from identifying differences in pixel values for a predetermined region of each image in the first collection and pixel values for the predetermined region of each image in the second collection. 16. A system, comprising: a processor; and a memory containing a program which, when executed on the processor, performs an operation for visual regression testing of an application, the operation comprising: identifying a first collection of web pages associated with a first version of the application by traversing web links from an initial web page of the first collection; capturing an image of each web page identified by traversing the web links from the initial web page of the first collection; identifying, for one or more of the web pages in the first collection, a corresponding web page in a second collection of web p

Assignees

Inventors

Classifications

  • Creating or editing images; Combining images with text · CPC title

  • Still image; Photographic image · CPC title

  • Image acquisition · CPC title

  • Determination of colour characteristics · CPC title

  • for test version control, e.g. updating test cases to a new software version · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10146753B2 cover?
Techniques are disclosed for performing visual regression testing for a software application. In one embodiment, a regression testing tool identifies a first collection of web pages from a first version of the application, and captures an image of each identified web page. The regression testing tool identifies, for one or more of the identified web pages, a corresponding web page in a second c…
Who is the assignee on this patent?
Intuit Inc
What technology area does this patent fall under?
Primary CPC classification G06F17/2247. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 04 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).