# US 2021/0286709 A1 · Screen test apparatus and computer readable medium

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

- Number: US 2021/0286709 A1
- Document ID: US20210286709A1
- Status: Published application
- Kind: A1
- Application number: 16/606,491
- Filed: 2017-05-15
- Published: 2021-09-16
- Earliest claimed: 2017-05-15
- Assignees: Mitsubishi Electric Corporation
- Applicants: Mitsubishi Electric Corporation
- Inventors: Naotaka TANIYA; Kouji MIYAZAKI; Mariko UENO; Hironobu ABE
- Web page: https://patentgrep.com/patent/US20210286709A1

## CPC

- G06F 11/2221: {to test input/output devices or peripheral units}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 11/3692: {for test results analysis}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Definition data is data that defines a rule for determining that an object is displayed properly for each type of object to be displayed on a screen of an application. Image data is data that records a screen of the application during execution of the application. An anomaly detection unit of a screen test apparatus extracts at least one type of object from the image data. The anomaly detection unit refers to the definition data to determine whether a rule corresponding to a type of an extracted object is followed, so as to detect an anomaly in the screen of the application recorded in the image data.

## Claims

### Claim 1

A screen test apparatus comprising:
processing circuitry to:
acquire, from a memory, definition data that defines, for each type of object to be displayed on a screen of an application, a rule for determining that an object is displayed; properly,
acquire, from the memory, image data that records a screen of the application during execution of the application, and
extract at least one type of object from the acquired image data by extracting an element that marks presence of the at least one type of object by image recognition and then cutting out an area in a vicinity of the element from the image data, and refer to the acquired definition data to determine whether a rule corresponding to a type of an extracted object is followed, so as to detect an anomaly in the screen of the application recorded in the image data.

### Claim 2 (depends on 1)

The screen test apparatus according to claim 1,
wherein the processing circuitry acquires, as the image data, data that records a screen of the application of each terminal when the application is executed on terminals that differ in at least one of screen size and screen resolution, and
detects an anomaly in the screen of the application of each terminal recorded in the image data.

### Claim 3 (depends on 1)

The screen test apparatus according to claim 1,
wherein the processing circuitry acquires, as the image data, data that records a screen of each type of the application during execution of different types of the application, and
detects an anomaly in the screen of each type of the application recorded in the image data.

### Claim 4 (depends on 1)

The screen test apparatus according to claim 1,
wherein the processing circuitry refers to element data that defines, for each type of object to be displayed on the screen of the application, at least one of elements which are a character and a graphic displayed adjacent to or in a vicinity of an object, and extracts the at least one type of object from a side of or inside an extracted element in the image data.

### Claim 5 (depends on 1)

The screen test apparatus according to claim 1,
wherein the processing circuitry acquires, as the definition data, data that defines a corresponding rule and also defines a model to be a basis for determining that the corresponding rule is followed or a recognition method for determining that the corresponding rule is followed for at least one type of object, and
when a model or a recognition method corresponding to the type of the extracted object is defined in the definition data, determines whether a rule corresponding to the type of the extracted object is followed using the model concerned or the recognition method concerned.

### Claim 6 (depends on 1)

The screen test apparatus according claim 1,
wherein the processing circuitry acquires, as the definition data, data that defines a corresponding rule and records a template image of a modeled object for at least one type of object, and
wherein when a template image corresponding to the type of the extracted object is recorded in the definition data, unit processing circuitry determines whether a rule corresponding to the type of the extracted object is followed by performing template matching using the template image concerned.

### Claim 7 (depends on 1)

The screen test apparatus according to claim 1,
wherein when processing circuitry has determined that the rule corresponding to the type of the extracted object is not followed, the processing circuitry outputs a determination result, and accepts from a user an input of a judgment result as to whether the determination result that has been output is correct.

### Claim 8 (depends on 7)

The screen test apparatus according to claim 7,
wherein when a judgment result indicating that the determination result that has been output is incorrect is input from the user, the processing circuitry accepts a modification of a rule defined in the definition data from the user, and causes the modification to be reflected in the definition data.

### Claim 9

A non-transitory computer readable medium storing a screen test program that causes a computer to execute:
a definition acquisition process to acquire, from a memory, definition data that defines, for each type of object to be displayed on a screen of an application, a rule for determining that an object is displayed properly;
an image acquisition process to acquire, from the memory, image data that records a screen of the application during execution of the application; and
an anomaly detection process to extract at least one type of object from the image data acquired by the image acquisition process by extracting an element that marks presence of the at least one type of object by image recognition and then cutting out an area in a vicinity of the element from the image data, and refer to the definition data acquired by the definition acquisition process to determine whether a rule corresponding to a type of an extracted object is followed, so as to detect an anomaly in the screen of the application recorded in the image data.
