# US 11,249,890 B2 · Software defect creation

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

- Number: US 11,249,890 B2
- Document ID: US11249890B2
- Status: Granted
- Kind: B2
- Application number: 16/910,653
- Filed: 2020-06-24
- Published: 2021-12-30
- Granted: 2022-02-15
- Earliest claimed: 2020-06-24
- Assignees: Webomates LLC
- Applicants: Webomates LLC
- Inventors: Aseem Bakshi
- Web page: https://patentgrep.com/patent/US11249890B2

## CPC

- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/366: {using diagnostics (G06F11/0703 takes precedence)}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3692: {for test results analysis}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 20/00: Machine learning
- G06F 2201/865: Monitoring of software
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and a method for creating a defect identified during a test case run. A bug is detected during an execution of the test case on a functionality of a software. The bug is detected by comparing an actual output of the functionality with an expected output of the functionality. A setup, indicating actions performed on the software, associated with the bug is identified. Further, a video snippet is generated from a video recording of the test case being executed. The video snippet depicts an execution of the bug caused due to the setup. Furthermore, the setup is analysed using AI and ML techniques to determine an exact location of the bug. Further, a screen, from the video snippet, indicating the exact location of the bug is automatically highlighted. In addition, a defect comprising a recommendation to resolve the bug is created.

## Claims

### Claim 1

A method for creating a defect identified during a test case run, the method comprising:
executing, by a processor, a test case on a functionality of a software;
detecting, by the processor, a bug during the execution of the test case, wherein the bug is detected by comparing an actual output of the functionality with an expected output of the functionality;
identifying, by the processor, a setup associated with the bug, wherein the setup indicates actions performed on the software;
generating, by the processor, a video snippet from a video recording of the test case being executed, wherein the video snippet depicts an execution of the bug caused due to the setup;
determining, by the processor, an exact location of the bug from the video snippet upon analysis of the setup using Artificial Intelligence and Machine Learning techniques;
automatically highlighting, by the processor, a screen from the video snippet pertaining to the exact location of the bug; and
creating, by the processor, a defect corresponding to the bug, wherein the defect comprises a recommendation to resolve the bug present in the highlighted screen of the video snippet, wherein the setup is identified upon analysis of software trace logs associated to the functionality, automation logs, a browser HAR file, a latency variance, a comparison of historical logs with current logs, a screenshot comparison, and release notes for new features of the software.

### Claim 2 (depends on 1)

The method of claim 1, further comprises attaching the software trace logs to the defect for resolving the bug from the software.

### Claim 3 (depends on 1)

The method of claim 1, wherein the defect comprises a merged video associated to the bug, wherein the merged video is created using a plurality of the video snippets corresponding to the setup and the defect.

### Claim 4 (depends on 1)

The method of claim 1, wherein the test case comprises at least one of an automation test case, a manual test case, and a crowd source test case.

### Claim 5 (depends on 1)

The method of claim 1, further comprises displaying a textual comment on the screen highlighted on the video snippet in a real time, wherein the textual comment describes a cause of the bug.

### Claim 6 (depends on 1)

The method of claim 1, further comprises displaying a highlight on the video snippet in a real time, wherein the highlight shows the bug.

### Claim 7

A system for creating a defect identified during a test case run, the system comprising:
a memory; and
a processor coupled to the memory, wherein the processor is configured to execute program instructions stored in the memory for:
executing a test case on a functionality of a software;
detecting a bug during the execution of the test case, wherein the bug is detected by comparing an actual output of the functionality with an expected output of the functionality;
identifying a setup associated with the bug, wherein the setup indicates actions performed on the software;
generating a video snippet from a video recording of the test case being executed, wherein the video snippet depicts an execution of the bug caused due to the setup;
determining an exact location of the bug from the video snippet upon analysis of the setup using Artificial Intelligence and Machine Learning techniques;
automatically highlighting a screen from the video snippet pertaining to the exact location of the bug; and
creating a defect corresponding to the bug, wherein the defect comprises a recommendation to resolve the bug present in the highlighted screen of the video snippet, wherein the setup is identified upon analysis of software trace logs associated to the functionality of the bug, automation logs, a browser HAR file, a latency variance, a comparison of historical logs with current logs, a screenshot comparison, and release notes for new features of the software.

### Claim 8 (depends on 7)

The system of claim 7, further comprises attaching the software trace logs to the defect for resolving the bug from the software.

### Claim 9 (depends on 7)

The system of claim 7, wherein the defect comprises a merged video associated to the bug, wherein the merged video is created using a plurality of the video snippets corresponding to the setup and the defect.

### Claim 10 (depends on 7)

The system of claim 7, wherein the test case comprises at least one of an automation test case, a manual test case, and a crowd source test case.

### Claim 11 (depends on 7)

The system of claim 7, further comprises displaying a textual comment on the screen highlighted on the video snippet in a real time, wherein the textual comment describes a cause of the bug.

### Claim 12 (depends on 7)

The system of claim 7, further comprises displaying a highlight on the video snippet in a real time, wherein the highlight shows the bug.

### Claim 13

A non-transitory computer program product having embodied thereon a computer program for creating a defect identified during a test case run, the computer program product storing instructions, the instructions comprising instructions for:
executing a test case on a functionality of a software;
detecting a bug during the execution of the test case, wherein the bug is detected by comparing an actual output of the functionality with an expected output of the functionality;
identifying a setup associated with the bug, wherein the setup indicates actions performed on the software;
generating a video snippet from a video recording of the test case being executed, wherein the video snippet depicts an execution of the bug caused due to the setup;
determining an exact location of the bug from the video snippet upon analysis of the setup using Artificial Intelligence and Machine Learning techniques;
automatically highlighting a screen from the video snippet pertaining to the exact location of the bug; and
creating a defect corresponding to the bug, wherein the defect comprises a recommendation to resolve the bug present in the highlighted screen of the video snippet, wherein the setup is identified upon analysis of software trace logs associated to the functionality of the bug, automation logs, a browser HAR file, a latency variance, a comparison of historical logs with current logs, a screenshot comparison, and release notes for new features of the software.
