IP Library Granted Patent US 10,157,121
Granted Patent B2
US 10,157,121 · App. 15/429,395 · Granted Dec 18, 2018

Method of, and apparatus for, testing computer hardware and software

Inventors: Antony Edwards (London, GB); Giles Thomas Hall (London, GB)
Assignee: TESTPLANT EUROPE LTD
G06F11/3664G06F11/3612G06F11/3684
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,157,121
App. No.
15/429,395
Granted
Dec 18, 2018
Kind
B2
Abstract

A method for generating an automated test configured to test a system under test. The system under test includes a plurality of operational states and executable actions. The method includes: providing a model of the system under test, the model including a plurality of model states and selectable model actions, wherein one or more of the model states are representative of operational states of the system under test and each model action is associated with one or more executable actions on the system under test; and generating an automated test. The automated test is generated by selecting a sequence of model actions; and defining, based on the selected sequence of model actions, an automated test configured to execute a sequence of executable actions on the system under test. The selection of model actions is dependent upon the previous selection of model actions in the current and/or previous automated tests.

Claims (44)

1. A method for generating an automated test configured, when executed, to test a system under test comprising one or more computer programs being executed on one or more computer devices, the system under test comprising a plurality of operational states and one or more executable actions, the method comprising the steps of:

a) utilising a model of the system under test, the model comprising a plurality of model states and one or more selectable model actions, wherein one or more of the model states are representative of operational states of the system under test and each model action is associated with one or more executable actions on the system under test; and

b) generating an automated test by:

c) selecting a sequence of model actions; and

d) defining, based on said selected sequence of model actions, an automated test configured, in use, to execute sequence of executable actions on the system under test, wherein the selection of one or more model actions in step c) is dependent upon the previous selection of model actions in the current and/or one or more previous automated tests, wherein a plurality of model actions are available in a current model state and the selection of a given model action in step c) is dependent upon the number of times that the given model action has been previously selected in the current and/or one or more previous automated tests relative to the number of times each of the one or more other available model actions in the current model state have been selected and wherein each model action is assigned a coverage parameter in dependence upon the number of times that model action has been previously selected in the current and one or more previous automated tests.

2. A method according to claim 1 , wherein in step c) each selection of a model action comprises selecting a model action from one or more available model actions in the current model state.

3. A method according to claim 1 , wherein step c) further comprises:

e) defining a current model state;

f) selecting, using the model, a model action from one or more model actions selectable in the current model state;

g) updating the model based on the selection of the model action;

h) repeating steps c) and d) to define a sequence of selected model actions.

4. A method according to claim 3 , wherein the coverage parameter for each action is updated in step g).

5. A method according to claim 3 , wherein one or more model actions are further assigned a weight value, wherein the selection of a model action from a plurality of available model actions is dependent upon the weight value.

6. A method according to claim 1 , wherein one or more model actions comprise at least one data parameter, wherein the or each data parameter comprises a variable to be input to an executable action of the system under test.

7. A method according to claim 6 , wherein a data parameter may comprise one or more of the following: one or more numerical value; a numerical range; a set; a character string; or a true/false variable.

8. A method according to claim 6 , wherein one or more data parameters may comprise a plurality of different values.

9. A method according to claim 8 , wherein a value of the data parameter is selected from a plurality of possible values when the respective model action is selected.

10. A method according to claim 9 , wherein the value of the data parameter is selected based on one or more of: a random variable; a weighting; or a variable factor.

11. A method according to claim 10 , wherein the variable factor for a given value is dependent upon the number of times the value has been previously selected in the current and/or one or more previous automated tests.

12. A method according to claim 1 , wherein one or more model actions are associated with one or more test description sections, wherein each test description section comprises one or more operation commands defining operations to be executed, in use, on the one or more executable actions of the system under test associated with the respective model action.

13. A method according to claim 1 , wherein the test description sections comprise one or more validation commands operable, in use, to determine whether the one or more operation commands have been executed correctly.

14. A method according to claim 1 , further comprising:

i) providing a database, the database being updated when a model action is selected.

15. A method according to claim 1 , further comprising:

j) generating an automated test; and

k) executing the automated test on the system under test.

16. A non-transitory computer readable medium comprising instructions configured when executed to perform a method for generating an automated test configured, when executed, to test a system under test comprising one or more computer programs being executed on one or more computer devices, the system under test comprising a plurality of operational states and one or more executable actions, the method comprising the steps of:

a) utilising a model of the system under test, the model comprising a plurality of model states and one or more selectable model actions, wherein one or more of the model states are representative of operational states of the system under test and each model action is associated with one or more executable actions on the system under test; and

b) generating an automated test by:

c) selecting a sequence of model actions; and

d) defining, based on said selected sequence of model actions, an automated test configured, in use, to execute sequence of executable actions on the system under test,

wherein the selection of one or more model actions in step c) is dependent upon the previous selection of model actions in the current and/or one or more previous automated tests, wherein a plurality of model actions are available in a current model state and the selection of a given model action in step c) is dependent upon the number of times that model action has been previously selected in the current and/or one or more previous automated tests relative to the number of times each of the one or more other available model actions in the current model state have been selected and wherein each model action is assigned a coverage parameter in dependence upon the number of times that model action has been previously selected in the current and one or more previous automated tests.

17. Computing apparatus for generating an automated test configured, when executed, to test a system under test comprising one or more computer programs being executed on one or more computer devices, the system under test comprising a plurality of operational states and one or more executable actions, the computing apparatus including memory being configured to:

a) utilise a model of the system under test, the model comprising a plurality of model states and one or more selectable model actions, wherein one or more of the model states are representative of operational states of the system under test and each model action is associated with one or more executable actions on the system under test; and

b) generate an automated test by:

c) selecting a sequence of model actions; and

d) defining, based on said selected sequence of model actions, an automated test configured, in use, to execute sequence of executable actions on the system under test,

wherein the selection of one or more model actions in step c) is dependent upon the previous selection of model actions in the current and/or one or more previous automated tests, wherein a plurality of model actions are available in a current model state and the selection of a given model action in step c) is dependent upon the number of times that model action has been previously selected in the current and/or one or more previous automated tests relative to the number of times each of the one or more other available model actions in the current model state have been selected and wherein each model action is assigned a coverage parameter in dependence upon the number of times that model action has been previously selected in the current and one or more previous automated tests.

18. Computing apparatus according to claim 17 , further comprising a database, the database being updated when a model action is selected.

19. Computing apparatus according to claim 17 , further configured to execute the automated test on the system under test.

20. Computing apparatus operable to test a system under test comprising one or more computer programs being executed on one or more computer devices, the system under test comprising a plurality of operational states and one or more executable actions, the test program being configured to utilise a model of the system under test, the model comprising a plurality of model states and one or more selectable model actions, wherein one or more of the model states are representative of operational states of the system under test and each model action is associated with one or more executable actions on the system under test, wherein the computing apparatus including memory is configured to generate an automated test by:

a) selecting a sequence of model actions; and

b) defining, based on said selected sequence of model actions, an automated test configured, in use, to execute sequence of executable actions on the system under test, wherein the selection of one or more model actions in step a) is dependent upon the previous selection of model actions in the current and/or one or more previous automated tests, wherein a plurality of model actions are available in a current model state and the selection of a given model action in step c) is dependent upon the number of times that model action has been previously selected in the current and/or one or more previous automated tests relative to the number of times each of the one or more other available model actions in the current model state have been selected and wherein each model action is assigned a coverage parameter in dependence upon the number of times that model action has been previously selected in the current and one or more previous automated tests; and wherein the computing apparatus is further configured to:

c) execute the automated test on the system under test.

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 Mar 16, 2017
From: EDWARDS, ANTONY; HALL, GILES THOMAS
To: TESTPLANT EUROPE LTD
Reel/Frame 041599/0799 →
Priority Claims (1)
GB 1602422.6 · Feb 10, 2016 · national
Continuity (1)
Related Publication 20170228307A1 · Aug 10, 2017
Cited By (1)
US 12,287,728