IP Library Granted Patent US 10,810,113
Granted Patent B2
US 10,810,113 · App. 15/725,103 · Granted Oct 20, 2020

Method and apparatus for creating reference images for an automated test of software with a graphical user interface

Inventor: Jonathan Gillaspie (Boulder, CO)
Assignee: Eggplant Limited
G06F11/368G06F11/3664G06K9/00684G06K9/2081G06K9/4604G06K9/4652G06K9/52G06K9/6215G06T7/13G06T7/60G06T7/90
View Patent ↗
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 10,810,113
App. No.
15/725,103
Granted
Oct 20, 2020
Kind
B2
Abstract

Some embodiments are directed to a method comprising automatically obtaining one or more reference data items representative of one or more graphical user interface (GUI) objects from a GUI of a system under test by, for each of the one or more reference data items: identifying one or more correlations between two or more pixels of the GUI of the system under test to determine a group of pixels corresponding to a GUI object; determining image boundaries of the GUI object based on at least one of the determined group of pixels and any identified correlations; generating a reference data item representative of the GUI object identified by the determined image boundaries; and storing the reference data item in a database. The method also comprises receiving a user input representative of a selection of a desired reference data item from the database and updating a test description for an automated computer test with the selected reference data item.

Claims (48)

1. A method of updating a test description for an automated test, the method comprising:

automatically generating a database comprising a plurality of reference images each representative of one or more graphical user interface (GUI) objects selected from a graphical user interface (GUI) of a system under test by, for each of the plurality of reference images:

identifying one or more correlations between two or more pixels of the GUI of the system under test to determine a group of pixels corresponding to a GUI object;

determining image boundaries of the GUI object based on at least one of the determined group of pixels and any identified correlations;

generating a reference image representative of the GUI object identified by the determined image boundaries; and

storing the reference image in the database;

receiving a user input representative of a selection of a desired reference image from the database; and

updating the test description for an automated computer test with the selected reference image.

2. The method according to claim 1 , wherein the generating step comprises:

capturing the reference image delimited by the determined image boundaries.

3. The method according to claim 1 , wherein each of the one or more reference images is representative of an expected graphical configuration of an associated GUI object.

4. The method according to claim 1 , wherein the one or more correlations are selected from the group consisting of: color correlations; positional correlations; temporal correlations; and empirical correlations.

5. The method according to claim 4 , wherein the color correlations comprise correlations between color registers of two or more pixels.

6. The method according to claim 5 , wherein two or more pixels are determined to be correlated if a difference between values of the color registers for the two or more pixels falls within a predetermined range.

7. The method according to claim 6 , wherein two or more pixels are determined to be correlated if the values of the color registers for those pixels are the same.

8. The method according to claim 4 , wherein the positional correlations comprise at least one of geometric correlations and pattern-based correlations between two or more pixels.

9. The method according to claim 8 , wherein geometric correlations are selected from the group consisting of: pixels forming a straight line; pixels forming a rectangle; pixels forming a square; and pixels forming a circle.

10. The method according to claim 4 , wherein the temporal correlations comprise two or more pixels changing within a pre-defined time period of each other.

11. The method according to claim 10 , wherein the temporal correlations comprise two or more pixels changing simultaneously.

12. The method according to claim 1 , wherein, prior to the identifying step, the method comprises:

generating a model of the GUI of the system under test to identify the one or more correlations between the two or more pixels of the GUI of the system under test.

13. The method according to claim 12 , wherein the model comprises a direct copy of the GUI of the system under test.

14. The method according to claim 13 , wherein the model comprises a transformation of the GUI of the system under test.

15. The method according to claim 14 , wherein the transformation comprises at least one of the group consisting of: a dimensional scaling of the GUI of the system under test; a color transform; a mathematical transform; and a reduced form of the GUI of the system under test.

16. The method according to claim 15 , wherein a reduced form of the GUI of the system under test comprises at least one of the group consisting of: removal of text and removal of borders.

17. The method according to claim 12 , wherein the step of generating the model is performed on a test computer system, wherein the automated computer test is configured, when executed, to cause the test computer system to communicate with the system under test.

18. The method according to claim 12 , wherein the step of generating the model comprises dynamically modelling the two or more pixels of the GUI of the system under test.

19. The method according to claim 1 , further comprising:

utilizing the updated test description in the automated computer test.

20. A non-transitory computer readable medium comprising instructions configured when executed to cause a processor to:

automatically generate a database comprising a plurality of reference images each representative of one or more graphical user interface (GUI) objects selected from a GUI of a system under test by, for each of the plurality of reference images:

identifying one or more correlations between two or more pixels of the GUI of the system under test to determine a group of pixels corresponding to a GUI obj ect;

determining image boundaries of the GUI object based on at least one of the determined group of pixels and any identified correlations;

generating a reference image representative of the GUI object identified by the determined image boundaries; and

storing the reference image in a database;

receive a user input representative of a selection of a desired reference image from the database; and

update the test description for an automated computer test with the selected reference image.

21. A computer system comprising:

a processing device; and

a non-transitory computer-readable medium comprising instructions configured to cause,

when executed, the processing device to:

automatically generate a database comprising a plurality of reference images each representative of one or more graphical user interface (GUI) objects selected from a GUI of a system under test by, for each of the plurality of reference images:

identifying one or more correlations between two or more pixels of the GUI of the system under test to determine a group of pixels corresponding to a GUI object;

determining image boundaries of the GUI object based on at least one of the determined group of pixels and any identified correlations;

generating a reference image representative of the GUI object identified by the determined image boundaries; and

storing the reference image in a database;

receive a user input representative of a selection of a desired reference image from the database; and

update the test description for an automated computer test with the selected reference image.

Assignments (6)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 2, 2021
From: KEYSIGHT TECHNOLOGIES UK LIMITED
To: EGGPLANT LIMITED
Reel/Frame 055108/0484 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 7, 2021
From: EGGPLANT LIMITED
To: KEYSIGHT TECHNOLOGIES UK LIMITED
Reel/Frame 054847/0455 →
RELEASE OF SECURITY INTEREST Recorded Dec 18, 2020
From: SILICON VALLEY BANK
To: EGGPLANT LIMITED (F/K/A TESTPLANT EUROPE LIMITED)
Reel/Frame 054688/0627 →
CHANGE OF NAME Recorded Aug 7, 2020
From: TESTPLANT EUROPE LIMITED
To: EGGPLANT LIMITED
Reel/Frame 053435/0274 →
SECURITY INTEREST Recorded Jun 28, 2018
From: TESTPLANT EUROPE LIMITED
To: SILICON VALLEY BANK
Reel/Frame 046231/0968 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 4, 2017
From: GILLASPIE, JONATHAN
To: TESTPLANT EUROPE LIMITED
Reel/Frame 043783/0987 →
Continuity (2)
Continuation 14811479 · Jul 28, 2015
Related Publication 20180039559A1 · Feb 8, 2018