# US 2022/0035730 A1 · Mobile log heatmap-based auto testcase generation

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

- Number: US 2022/0035730 A1
- Document ID: US20220035730A1
- Status: Published application
- Kind: A1
- Application number: 16/944,417
- Filed: 2020-07-31
- Published: 2022-02-03
- Earliest claimed: 2020-07-31
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Srinivas Dundigalla; Pavan Kumar Chayanam; Sandeep Verma; Jaimish H. Patel
- Web page: https://patentgrep.com/patent/US20220035730A1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- G06F 11/368: {for test version control, e.g. updating test cases to a new software version}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system is provided for mobile log heatmap-based auto testcase generation. In particular, the system may continuously track and log user actions and data flows for applications within the production environment. Based on the logs, the system may generate a navigation network graph through which the system may identify all possible navigation paths that may be taken by the user to access certain functions or screens of the application. Once the paths have been identified, the system may collect and sanitize testing data based on user session and system interaction data in the production environment. The testing data may then be used to drive the development of the next release or version of the application.

## Claims

### Claim 1

A system for mobile log heatmap-based auto testcase generation, the system comprising:
a memory device with computer-readable program code stored thereon;
a communication device; and
a processing device operatively coupled to the memory device and the communication device, wherein the processing device is configured to execute the computer-readable program code to:
continuously log user actions within an application within a production environment;
based on the user actions, identify, using a machine learning mechanism, one or more navigation paths taken by one or more users within the application;
generate a navigation network graph comprising the one or more navigation paths taken by the one or more users within the application;
aggregate, within the product environment, testing data associated with the one or more navigation paths;
based on the one or more navigation paths and the testing data, generate one or more testcases associated with the application; and
provision the one or more testcases and the testing data associated with the one or more testcases to a lower level testing environment.

### Claim 2 (depends on 1)

The system according to claim 1, wherein provisioning the one or more testcases and the testing data associated with the one or more testcases comprises:
detecting sensitive information within the testing data associated with the one or more testcases; and
replacing the sensitive information with synthetic data to generate sanitized testing data.

### Claim 3 (depends on 1)

The system according to claim 1, wherein the computer-readable program code further causes the processing device to:
generate a list of the one or more navigation paths ordered by frequency; and
provision the list to the lower level testing environment.

### Claim 4 (depends on 1)

The system according to claim 1, wherein the computer-readable program code further causes the processing device to:
generate a list of the one or more navigation paths ordered by path length; and
provision the list to the lower level testing environment.

### Claim 5 (depends on 1)

The system according to claim 1, wherein each of the one or more navigation paths comprises one or more screens within the application and one or more path directions between the one or more screens within the application.

### Claim 6 (depends on 5)

The system according to claim 5, wherein the navigation network graph is stored in a graph database, wherein each of the one or more screens within the application are stored as a node within the graph database, wherein each of the one or more path directions are stored as an edge within the graph database.

### Claim 7 (depends on 1)

The system according to claim 1, wherein the testing data associated with the one or more navigation paths comprises user session information and system information.

### Claim 8

A computer program product for mobile log heatmap-based auto testcase generation, the computer program product comprising at least one non-transitory computer readable medium having computer-readable program code portions embodied therein, the computer-readable program code portions comprising executable code portions for:
continuously logging user actions within an application within a production environment;
based on the user actions, identifying, using a machine learning mechanism, one or more navigation paths taken by one or more users within the application;
generating a navigation network graph comprising the one or more navigation paths taken by the one or more users within the application;
aggregating, within the product environment, testing data associated with the one or more navigation paths;
based on the one or more navigation paths and the testing data, generating one or more testcases associated with the application; and
provisioning the one or more testcases and the testing data associated with the one or more testcases to a lower level testing environment.

### Claim 9 (depends on 8)

The computer program product according to claim 8, wherein provisioning the one or more testcases and the testing data associated with the one or more testcases comprises:
detecting sensitive information within the testing data associated with the one or more testcases; and
replacing the sensitive information with synthetic data to generate sanitized testing data.

### Claim 10 (depends on 8)

The computer program product according to claim 8, wherein the computer-readable program code portions further comprise executable code portions for:
generating a list of the one or more navigation paths ordered by frequency; and
provisioning the list to the lower level testing environment.

### Claim 11 (depends on 8)

The computer program product according to claim 8, wherein the computer-readable program code portions further comprise executable code portions for:
generating a list of the one or more navigation paths ordered by path length; and
provisioning the list to the lower level testing environment.

### Claim 12 (depends on 8)

The computer program product according to claim 8, wherein each of the one or more navigation paths comprises one or more screens within the application and one or more path directions between the one or more screens within the application.

### Claim 13 (depends on 12)

The computer program product according to claim 12, wherein the navigation network graph is stored in a graph database, wherein each of the one or more screens within the application are stored as a node within the graph database, wherein each of the one or more path directions are stored as an edge within the graph database.

### Claim 14

A computer-implemented method for mobile log heatmap-based auto testcase generation, wherein the computer-implemented method comprises:
continuously logging user actions within an application within a production environment;
based on the user actions, identifying, using a machine learning mechanism, one or more navigation paths taken by one or more users within the application;
generating a navigation network graph comprising the one or more navigation paths taken by the one or more users within the application;
aggregating, within the product environment, testing data associated with the one or more navigation paths;
based on the one or more navigation paths and the testing data, generating one or more testcases associated with the application; and
provisioning the one or more testcases and the testing data associated with the one or more testcases to a lower level testing environment.

### Claim 15 (depends on 14)

The computer-implemented method according to claim 14, wherein provisioning the one or more testcases and the testing data associated with the one or more testcases comprises:
detecting sensitive information within the testing data associated with the one or more testcases; and
replacing the sensitive information with synthetic data to generate sanitized testing data.

### Claim 16 (depends on 14)

The computer-implemented method according to claim 14, wherein the computer-implemented method further comprises:
generating a list of the one or more navigation paths ordered by frequency; and
provisioning the list to the lower level testing environment.

### Claim 17 (depends on 14)

The computer-implemented method according to claim 14, wherein the computer-implemented method further comprises:
generating a list of the one or more navigation paths ordered by path length; and
provisioning the list to the lower level testing environment.

### Claim 18 (depends on 14)

The computer-implemented method according to claim 14, wherein each of the one or more navigation paths comprises one or more screens within the application and one or more path directions between the one or more screens within the application.

### Claim 19 (depends on 18)

The computer-implemented method according to claim 18, wherein the navigation network graph is stored in a graph database, wherein each of the one or more screens within the application are stored as a node within the graph database, wherein each of the one or more path directions are stored as an edge within the graph database.

### Claim 20 (depends on 14)

The computer-implemented method according to claim 14, wherein the testing data associated with the one or more navigation paths comprises user session information and system information.
