# US 2022/0292011 A1 · Automated application testing of mutable interfaces

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

- Number: US 2022/0292011 A1
- Document ID: US20220292011A1
- Status: Published application
- Kind: A1
- Application number: 17/201,320
- Filed: 2021-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Micro Focus LLC
- Applicants: Micro Focus LLC
- Inventors: Peng-Ji Yin; Xiao-Fei Yu; Shuhui Fu; Yi-Bin Guo
- Web page: https://patentgrep.com/patent/US20220292011A1

## CPC

- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06T 7/73: using feature-based methods
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/0487: using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F 3/04886: by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06T 7/11: Region-based segmentation
- G06V 10/40: Extraction of image or video features
- G06V 10/462: {Salient features, e.g. scale invariant feature transforms [SIFT]}
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Applications under test (AUT) may be tested by automated testing systems utilizing machine vision to recognize visual elements presented by the AUT and apply inputs to graphical elements, just as a human would. By utilizing the smallest image patch available, processing demands of the testing system are minimized. However, the image patch used to identify a portion of an AUT must be identifiable to the automated system. By selecting image patches that comprise the smallest size, but can be identified in an AUT by an automated system using machine vision, even as the AUT display is resized, reproportioned, noisy, or otherwise altered from the testing platform that was utilized for training.

## Claims

### Claim 1

An application testing system, comprising:
a data storage;
a processor comprising at least one microprocessor executing an application under test (AUT); and
wherein the processor:
captures a first image of the AUT;
selects an image patch, wherein the image patch is a portion of the first image;
visually identifies a number of feature points within the image patch;
extends a boundary of the image patch to add additional feature points to the number of feature points until the number of feature points satisfy a previously determined threshold number of feature points; and
causes the image patch to be stored in a record maintained in the data storage.

### Claim 2 (depends on 1)

The application testing system of claim 1, wherein the processor determines the extent of the extended boundary of the image patch comprising, executing a Scale Invariant Feature Transform (SIFT) algorithm provided with the first image and obtaining therefrom a size of the extended boundary of the image patch.

### Claim 3 (depends on 1)

The application testing system of claim 1, further comprising:
an input device receiving a user input and converting the user input into an input signal wherein the input signal is provided as the input to the AUT; and
wherein the processor further identifies an input target of the input to the AUT as a location of the input to the AUT relative to the image patch.

### Claim 4 (depends on 3)

The application testing system of claim 3, wherein:
the processor further comprises at least one microprocessor executing an automated test of the AUT; and
the processor, in performing the automated test of the AUT:
accesses the image patch and input target from the record;
captures a second image of the AUT;
evaluates the second image of the AUT to determine if a match is present between the image patch and a portion of the second image; and
upon determining the match is present between the image patch and the portion of the second image, providing an automated input to the AUT at the location determined as the translated location of the input target on the image patch to an input location on the portion of the second image.

### Claim 5 (depends on 4)

The application testing system of claim 4, wherein the first image of the AUT differs from the second image of the AUT in at least one of scale, illumination, noise, orientation, or perspective.

### Claim 6 (depends on 4)

The application testing system of claim 4, wherein the match is determined upon determining at least a threshold number of image features of the image patch match image features of the portion of the second image.

### Claim 7 (depends on 4)

The application testing system of claim 4, wherein the match is determined upon determining at least a threshold number of image keypoints of the image patch match image keypoints of the portion of the second image.

### Claim 8 (depends on 4)

The application testing system of claim 4, wherein the image patch comprises a plurality of noncontiguous image patches and a match is present when the portion of the second image matches one of the plurality of noncontiguous image patches.

### Claim 9 (depends on 1)

The application testing system of claim 1, wherein the processor reduces the extended boundary of the image patch, in at least one but less than all directions, upon determining that the reduction maintains the number of feature points.

### Claim 10

A method of application testing, comprising:
capturing a first image of an application under test (AUT);
selecting an image patch, wherein the image patch is a portion of the first image;
visually identifying a number of feature points within the image patch;
extending a boundary of the image patch to add additional feature points to the number of feature points until the number of feature points satisfy a previously determined threshold number of feature points; and
storing the image patch in a record maintained in a data storage.

### Claim 11 (depends on 10)

The method of application testing of claim 10, wherein determining the extent of the extended boundary of the image patch, further comprises executing a Scale Invariant Feature Transform (SIFT) algorithm provided with the first image and obtaining therefrom a size of the extended boundary of the image patch.

### Claim 12 (depends on 10)

The method of application testing of claim 10, further comprising:
receiving a user input to an input device and converting the user input into an input signal wherein the input signal is provided as the input to the AUT; and
identifying an input target of the input to the AUT as a location of the input to the AUT relative to the image patch.

### Claim 13 (depends on 12)

The method of application testing of claim 12, further comprising:
executing an automated test of the AUT, comprising a processor performing:
accessing the image patch and the input target from the record;
capturing a second image of the AUT;
evaluating the second image of the AUT to determine if a match is present between the image patch and a portion of the second image; and
upon determining the match is present between the image patch and the portion of the second image, providing an automated input to the AUT at the location determined as the translated location of the input target on the image patch to an input location on the portion of the second image.

### Claim 14 (depends on 13)

The method of application testing of claim 13, wherein the first image of the AUT differs from the second image of the AUT in at least one of scale, illumination, noise, orientation, or perspective.

### Claim 15 (depends on 13)

The method of application testing system of claim 13, wherein the match is determined upon determining at least a threshold number of image features of the image patch match image features of the portion of the second image.

### Claim 16 (depends on 13)

The method of application testing system of claim 13, wherein the match is determined upon determining at least a threshold number of image keypoints of the image patch matching image keypoints of the portion of the second image.

### Claim 17 (depends on 13)

The method of application testing system of claim 13, wherein the image patch comprises a plurality of noncontiguous image patches and a match is present when the portion of the second image matches one of the plurality of noncontiguous image patches.

### Claim 18 (depends on 10)

The method of application testing system of claim 10, further comprising reducing the extended boundary of the image patch, in at least one but less than all directions, upon determining that the reduction maintains the number of feature points.

### Claim 19

An application testing system, comprising:
means to capture a first image of an application under test (AUT);
means to select an image patch, wherein the image patch is a portion of the first image;
means to visually identify a number of feature points within the image patch;
means to extend a boundary of the image patch to the number of feature points until the number of feature points satisfy a previously determined threshold number of feature points; and
means to store the image patch in a record maintained in a data storage.

### Claim 20 (depends on 19)

The application testing system of claim 19, further comprises means to execute a Scale Invariant Feature Transform (SIFT) algorithm provided with the first image and obtaining therefrom a size of the extended boundary of the image patch.
