IP Library Patent Application 18447850
Patent Application
App. No. 18/447,850

DETERMINING INTRODUCTION POINT OF APPLICATION REGRESSIONS THROUGH SCREENSHOT ANALYSIS

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
18/447,850
Abstract

A system for software testing includes a storage device to store screenshots of a user application captured during execution of the user application. The system includes a computer vision device coupled to the storage device. The computer vision device can receive a description of an assertion to be detected within the screenshots. The computer vision device can scan the screenshots to detect presence of the assertion and provide an output indicating presence of the assertion. The screenshot can be stored in a way to associate the screenshot with a software build version or date to indicate a point at which the assertion was introduced into relevant software source code.

Claims (33)

1 . A system for software testing, the system comprising:

a storage device configured to store a plurality of screenshots of a user application captured during execution of the user application; and

a computer vision device coupled to the storage device, the computer vision device configured to:

receive a description of an assertion to be detected within the plurality of screenshots;

scan the plurality of screenshots to detect presence of the assertion; and

provide output indicating presence of the assertion.

2 . The system of claim 1 , wherein the plurality of screenshots are stored in a relational database, the relational database associating the plurality of screenshots with software version information of the respective user application, and wherein the output indicates a first software version at which the assertion was present.

3 . The system of claim 2 , further comprising a user interface component coupled to the computer vision device, wherein the user interface component is configured to display an indication of presence of the assertion and an indication of a software build number.

4 . The system of claim 3 , wherein the computer vision device is configured to receive one or more conditional statements from the user interface component, the one or more conditional statements limiting the scan to at least one of a date range, a software build number range, and an user application state.

5 . The system of claim 4 , wherein the computer vision device includes machine learning circuitry to predict conditions under which subsequent user application errors will occur.

6 . The system of claim 5 , wherein the system is configured to generate additional automated tests based on the predicted conditions.

7 . The system of claim 1 , wherein the assertion is defined using computer vision device natural-language based definitions.

8 . The system of claim 1 , wherein the plurality of screenshots are generated by automated tests of the user application.

9 . A method comprising:

receiving an indication of an assertion to be detected within a plurality of screenshots of a user application during execution of the user application, the assertion being defined using computer vision device natural-language based definitions and the plurality of screenshots being generated by previously-executed automated tests of the user application;

scanning the plurality of screenshots to detect a presence of the assertion; and

providing output indicating presence of the assertion.

10 . The method of claim 9 , further comprising:

accessing plurality of screenshots from a relational database, the relational database associating the plurality of screenshots with software version information of the respective user application, and wherein the output indicates a first software version at which the regression was present.

11 . The method of claim 10 , further comprising displaying an indication of presence of the assertion and an indication of a software build number at which a corresponding error or software bug was introduced into the associated user application.

12 . The method of claim 10 , further comprising receiving one or more conditional statements limiting the scan to at least one of a date range, a software build number range, and a user application state.

13 . The method of claim 12 , further comprising predicting conditions, based on a machine learning model, under which subsequent user application errors will occur.

14 . The method of claim 13 , further comprising generating additional automated tests based on the predicted conditions.

15 . A machine-readable medium including instructions that, when executed on a processor, cause the processor to perform operations including:

receiving an indication of an assertion to be detected within a plurality of screenshots of a user application during execution of the user application, the assertion being defined using computer vision device natural-language based definitions and the plurality of screenshots being generated by previously-executed automated tests of the user application;

scanning the plurality of screenshots to detect a presence of the assertion; and

providing output indicating presence of the assertion.

16 . The machine-readable medium of claim 15 , wherein the operations further comprise:

accessing the plurality of screenshots form a relational database, the relational database associating the plurality of screenshots with software version information of the respective user application, and wherein the output indicates a first software version at which the assertion was present.

17 . The machine-readable medium of claim 16 , wherein the operations further comprise displaying an indication of presence of the assertion and an indication of a software build number at which a corresponding error or software bug was introduced into the associated user application.

18 . The machine-readable medium of claim 16 , wherein the operations further comprise receiving one or more conditional statements limiting the scan to at least one of a date range, a software build number range, and a user application state.

19 . The machine-readable medium of claim 18 , wherein the operations further comprise predicting conditions, based on a machine learning model, under which subsequent user application errors will occur.

20 . The machine-readable medium of claim 19 wherein the operations further comprise generating additional automated tests based on the predicted conditions.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2023
From: LENOVO (UNITED STATES) INC.
To: LENOVO (SINGAPORE) PTE. LTD.
Reel/Frame 065256/0382 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 10, 2023
From: ROBBINS, TIMOTHY; FARDIG, MATTHEW; SMITH, JOSHUA
To: LENOVO (UNITED STATES) INC.
Reel/Frame 064555/0292 →