# US 11,120,213 B2 · Intelligent verification of presentation of a user interface

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,120,213 B2
- Document ID: US11120213B2
- Status: Granted
- Kind: B2
- Application number: 15/879,897
- Filed: 2018-01-25
- Published: 2019-07-25
- Granted: 2021-09-14
- Earliest claimed: 2018-01-25
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Lucy Shang; Daniel Ni; Zhenjun Zhuo; Zohar Hirshfeld; Jim Peng
- Web page: https://patentgrep.com/patent/US11120213B2

## CPC

- G06F 40/197: Version control (for software G06F8/71)
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 40/106: Display of layout of documents; Previewing
- G06F 40/226: Validation
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Various examples for performing an intelligent verification of a user interface to be rendered or otherwise presented, for instance, in a display of a client device are described. A web server can simulate, for at least one of a plurality of geographic locations, a rendering of a web page using hypertext markup language (HTML) for various geographic locations, where the rendering of the web page is simulated using a corresponding language. The web server can identify an anomaly in at least a portion of the web page as rendered based on a user interface verification rule stored in a data store. The web server can perform a remedial action based at least in part on a type of the anomaly identified.

## Claims

### Claim 1

A system for performing an intelligent verification of a display of a user interface, comprising:
at least one computing device comprising at least one processor; and
program instructions in the at least one computing device that, when executed by the at least one processor of the at least one computing device, cause the at least one computing device to:
for at least one of a plurality of geographic locations, simulate a rendering of a web page using hypertext markup language (HTML) for the at least one of the plurality of geographic locations, wherein rendering of the web page comprises geographic location spoofing for a virtual machine to render the web page corresponding to a spoofed geographic location of the of the virtual machine, wherein the rendering of the web page is simulated to include translated content using a language corresponding to the spoofed geographic location;
identify an anomaly that causes the translated content to expand beyond an intended region of the web page as rendered, wherein the anomaly is identified based in least in part on an inconsistency between an actual size of the translated content of the web page as rendered, and a size of the intended region that is indicated by a user interface verification rule stored in a data store corresponding to the spoofed geographic location, wherein the user interface verification rule defines an intended size of an amount of text or a container in the web page as rendered, the anomaly comprises the amount of text or the container in the web page as rendered not matching the intended size, and the anomaly is identified based at least in part on a pixel analysis of the amount of text or the container in the web page as rendered;
in response to the anomaly being identified in the web page, determine a remedial action based at least in part on a type of the anomaly identified; and
perform the remedial action on the at least one computing device.

### Claim 2 (depends on 1)

The system of claim 1, further comprising program instructions executable in the at least one computing device that, when executed by the at least one computing device, cause the at least one computing device to:
translate text stored in the data store to be dynamically included in the web page from a first language to a second language using a machine-translation service; and
including the text as translated to the second language in the web page as rendered.

### Claim 3 (depends on 1)

The system of claim 1, wherein:
the user interface verification rule defines a proper display of a date or a time corresponding to the at least one of the plurality of geographic locations;
the anomaly comprises an improper display of the date or time in the web page as rendered determined based at least in part on the at least one of the plurality of geographic locations; and
the anomaly is identified based at least in part on a regular expression matching of the date or the time as rendered as compared to the date or the time as stored in a data store.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the user interface verification rule defines a proper display of a monetary amount corresponding to the at least one of the plurality of geographic locations;
the anomaly comprises an improper display of the monetary amount in the web page as rendered; and
the anomaly is identified based at least in part on a regular expression matching of the monetary amount as rendered as compared to the monetary amount as stored in a data store.

### Claim 5 (depends on 1)

The system of claim 1, wherein the user interface verification rule is associated with a particular content category of the translated content.

### Claim 6 (depends on 1)

The system of claim 1, wherein:
the user interface verification rule defines an intended display of an amount of text in the web page as rendered;
the anomaly comprises the amount of text not matching the intended display; and
the anomaly is identified based at least in part on a string comparison performed between the amount of text identified from the web page as rendered and the amount of text as stored in the data store.

### Claim 7 (depends on 1)

The system of claim 1, wherein the rendering of the web page is simulated in the virtual machine, wherein the virtual machine is configured to comprise one of a plurality of web browser applications, one of a plurality of operating systems, a display resolution, and at least one language preference.

### Claim 8

A non-transitory computer-readable medium for performing an intelligent verification of a display of a user interface embodying program instructions in a client device that, when executed by the client device, cause the client device to:
for at least one of a plurality of geographic locations, simulate a rendering of a web page using hypertext markup language (HTML) for the at least one of the plurality of geographic locations, wherein rendering of the web page comprises geographic location spoofing for a virtual machine to render the web page corresponding to a spoofed geographic location of the of the virtual machine, wherein the rendering of the web page is simulated to include translated content using a language corresponding to the spoofed geographic location;
identify an anomaly that causes the translated content to expand beyond an intended region of the web page as rendered, wherein the anomaly is identified based in least in part on an inconsistency between an actual size of the translated content of the web page as rendered, and a size of the intended region that is indicated by a user interface verification rule stored in a data store corresponding to the spoofed geographic location, wherein the user interface verification rule defines an intended size of an amount of text or a container in the web page as rendered, the anomaly comprises the amount of text or the container in the web page as rendered not matching the intended size, and the anomaly is identified based at least in part on a pixel analysis of the amount of text or the container in the web page as rendered;
in response to the anomaly being identified in the web page, determine a remedial action based at least in part on a type of the anomaly identified; and
perform the remedial action on the at least one computing device.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, further comprising program instructions executable in the at least one computing device that, when executed by the at least one computing device, cause the at least one computing device to:
translate text stored in the data store to be dynamically included in the web page from a first language to a second language using a machine-translation service; and
including the text as translated to the second language in the web page as rendered.

### Claim 10 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein:
the user interface verification rule defines a proper display of a date or a time corresponding to the at least one of the plurality of geographic locations;
the anomaly comprises an improper display of the date or time in the web page as rendered determined based at least in part on the at least one of the plurality of geographic locations; and
the anomaly is identified based at least in part on a regular expression matching of the date or the time as rendered as compared to the date or the time as stored in a data store.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein:
the user interface verification rule defines a proper display of a monetary amount corresponding to the at least one of the plurality of geographic locations;
the anomaly comprises an improper display of the monetary amount in the web page as rendered; and
the anomaly is identified based at least in part on a regular expression matching of the monetary amount as rendered as compared to the monetary amount as stored in a data store.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the user interface verification rule is associated with a particular content category of the translated content.

### Claim 13 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein:
the user interface verification rule defines an intended display of an amount of text in the web page as rendered;
the anomaly comprises the amount of text not matching the intended display; and
the anomaly is identified based at least in part on a string comparison performed between the amount of text identified from the web page as rendered and the amount of text as stored in the data store.

### Claim 14 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the rendering of the web page is simulated in the virtual machine, wherein the virtual machine is configured to comprise one of a plurality of web browser applications, one of a plurality of operating systems, a display resolution, and at least one language preference.

### Claim 15

A computer-implemented method for performing an intelligent verification of a display of a user interface, comprising:
simulating, for at least one of a plurality of geographic locations, a rendering of a web page using hypertext markup language (HTML) for the at least one of the plurality of geographic locations, wherein rendering of the web page comprises geographic location spoofing for a virtual machine to render the web page corresponding to a spoofed geographic location of the of the virtual machine, wherein the rendering of the web page is simulated to include translated content using a language corresponding to the spoofed geographic location;
identifying an anomaly that causes the translated content to expand beyond an intended region of the web page as rendered, wherein the anomaly is identified based in least in part on an inconsistency between an actual size of the translated content of the web page as rendered, and a size of the intended region that is indicated by a user interface verification rule stored in a data store corresponding to the spoofed geographic location, wherein the user interface verification rule defines a proper display of a date or a time corresponding to the at least one of the plurality of geographic locations, the anomaly comprises an improper display of the date or time in the web page as rendered determined based at least in part on the at least one of the plurality of geographic locations, and the anomaly is identified based at least in part on a regular expression matching of the date or the time as rendered as compared to the date or the time as stored in a data store;
in response to the anomaly being identified in the web page, determining a remedial action based at least in part on a type of the anomaly identified; and
performing the remedial action on the at least one computing device.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising:
translating text stored in the data store to be dynamically included in the web page from a first language to a second language using a machine-translation service; and
including the text as translated to the second language in the web page as rendered.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein the user interface verification rule is associated with a particular content category of the translated content.

### Claim 18 (depends on 15)

The computer-implemented method of claim 15, wherein:
the user interface verification rule defines a proper display of a monetary amount corresponding to the at least one of the plurality of geographic locations;
the anomaly comprises an improper display of the monetary amount in the web page as rendered; and
the anomaly is identified based at least in part on a regular expression matching of the monetary amount as rendered as compared to the monetary amount as stored in a data store.

### Claim 19 (depends on 15)

The computer-implemented method of claim 15, wherein:
the user interface verification rule defines an intended size of an amount of text or a container in the web page as rendered;
the anomaly comprises the amount of text or the container in the web page as rendered not matching the intended size; and
the anomaly is identified based at least in part on a pixel analysis of the amount of text or the container in the web page as rendered.

### Claim 20 (depends on 15)

The computer-implemented method of claim 15, wherein the rendering of the web page is simulated in the virtual machine, wherein the virtual machine is configured to comprise one of a plurality of web browser applications, one of a plurality of operating systems, a display resolution, and at least one language preference.
