Visual user interface validator
First Claim
1. A method of testing a user interface component, the method comprising:
- retrieving, by one or more server computing systems, client-executable code for rendering a user interface component on a client computing system, the client-executable code configured such that the rendering of at least a portion of the user interface component is capable of being performed by a client-side rendering application executing within the client computing system when the client-executable code is provided to the client computing system;
executing, by the one or more server computing systems during a testing operation, the client-executable code, the executing simulating the rendering of the portion of the user interface component by the client-side rendering application;
storing, by the one or more server computing systems, the rendered portion of the user interface component as a test image, the test image simulating a visual presentation of the portion of the user interface component as the user interface component would appear when rendered by the client-side rendering application at the client computing system;
retrieving, by the one or more server computing systems, an expected image representing an expected visual presentation of the rendered portion of the user interface component;
cropping or masking, by the one or more server computing systems, one or more portions of the test image to produce one or more exempted portions to not be compared with one or more corresponding portions of the expected image;
determining, by the one or more server computing systems, whether the test image matches the expected image; and
when the test image does not match the expected image, providing, by the one or more server computing systems, an indication of an error condition.
1 Assignment
0 Petitions
Accused Products
Abstract
Various embodiments described or referenced herein are directed to different devices, methods, systems, and computer program products for testing a user interface component. A client-side operation for rendering the user interface component may be performed. The rendered user interface component may be stored as a user interface component test image simulating a visual presentation of the user interface component at a client machine. A user interface component expected image may be retrieved from a storage medium accessible to the server. The user interface component expected image may represent an expected visual presentation of the rendered user interface component. A determination may be made as to whether the user interface component test image matches the user interface component expected image. When the user interface component test image does not match the user interface component expected image, an indication of an error condition may be provided.
214 Citations
23 Claims
-
1. A method of testing a user interface component, the method comprising:
-
retrieving, by one or more server computing systems, client-executable code for rendering a user interface component on a client computing system, the client-executable code configured such that the rendering of at least a portion of the user interface component is capable of being performed by a client-side rendering application executing within the client computing system when the client-executable code is provided to the client computing system; executing, by the one or more server computing systems during a testing operation, the client-executable code, the executing simulating the rendering of the portion of the user interface component by the client-side rendering application; storing, by the one or more server computing systems, the rendered portion of the user interface component as a test image, the test image simulating a visual presentation of the portion of the user interface component as the user interface component would appear when rendered by the client-side rendering application at the client computing system; retrieving, by the one or more server computing systems, an expected image representing an expected visual presentation of the rendered portion of the user interface component; cropping or masking, by the one or more server computing systems, one or more portions of the test image to produce one or more exempted portions to not be compared with one or more corresponding portions of the expected image; determining, by the one or more server computing systems, whether the test image matches the expected image; and when the test image does not match the expected image, providing, by the one or more server computing systems, an indication of an error condition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system configured to communicate with one or more client computing systems, the system comprising:
-
a memory device; and a processor system comprising one or more processors, the processor system configured to; retrieve client-executable code for rendering a user interface component on a client computing system, the client-executable code configured such that the rendering of at least a portion of the user interface component is capable of being performed by a client-side rendering application executing within the client computing system when the client-executable code is provided to the client computing system; execute, during a testing operation, the client-executable code, the executing simulating the rendering of the portion of the user interface component by the client-side rendering application; store the rendered portion of the user interface component as a test image, the test image simulating a visual presentation of the portion of the user interface component as the user interface component would appear when rendered by the client-side rendering application at the client computing system; retrieve an expected image representing an expected visual presentation of the rendered portion of the user interface component; crop or mask one or more portions of the test image to produce one or more exempted portions to not be compared with one or more corresponding portions of the expected image; determine whether the test image matches the expected image; and when the test image does not match the expected image, provide an indication of an error condition. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. One or more non-transitory computer readable media having instructions stored thereon for testing a user interface component, the instructions, when executed by one or more processing systems, operable to cause the one or more processing systems to:
-
retrieve client-executable code for rendering a user interface component on a client computing system, the client-executable code configured such that the rendering of at least a portion of the user interface component is capable of being performed by a client-side rendering application executing within the client computing system when the client-executable code is provided to the client computing system; execute, during a testing operation, the client-executable code, the executing simulating the rendering of the portion of the user interface component by the client-side rendering application; store the rendered portion of the user interface component as a test image, the test image simulating a visual presentation of the portion of the user interface component as the user interface component would appear when rendered by the client-side rendering application at the client computing system; retrieve an expected image representing an expected visual presentation of the rendered portion of the user interface component; crop or mask one or more portions of the test image to produce one or more exempted portions to not be compared with one or more corresponding portions of the expected image; determine whether the test image matches the expected image; and when the test image does not match the expected image, provide an indication of an error condition. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification