IP Library Granted Patent US 10,558,551
Granted Patent B2
US 10,558,551 · App. 15/685,980 · Granted Feb 11, 2020

Runtime expansion of test cases

Inventors: Ashish Patel (Fremont, CA); Tuhin Kanti Sharma (San Mateo, CA); Christopher Tammariello (San Mateo, CA); Michael Bartoli (San Francisco, CA)
Assignee: salesforce.com, inc.
G06F11/3612
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,558,551
App. No.
15/685,980
Granted
Feb 11, 2020
Kind
B2
Abstract

Test case data is received for individual test cases. The test case data includes sets of test case specific elements. A test case base object is generated to represent a generic test case. The test case base object includes a set of test case specific properties. The test case base object is expanded into individual test case specific objects that represent the individual test cases. Each individual test case specific object is generated by setting the set of test case specific properties to a respective set of test case specific values as indicated in the sets of test case specific elements. The individual test case objects are used to execute the individual test cases against one or more systems under test.

Claims (38)

1. A method, comprising:

receiving test case data, defined by a user, for a plurality of individual test cases, the test case data including a plurality of sets of test case specific elements;

wherein the test case data identifies a set of dependent and independent test steps for each test case in the plurality of individual test cases;

generating, based on the test case data as defined by the user, a test case base object that represents a generic test case, the test case base object including a set of test case specific properties to be populated by test case specific values;

expanding the test case base object into a plurality of individual test case specific objects that represents the plurality of individual test cases, each individual test case specific object in the plurality of individual test case specific objects being generated at least in part by setting the set of test case specific properties in each such individual test case specific object to a respective set of test case specific values as indicated in a respective set of test case specific elements in the plurality of sets of test case specific elements;

using the plurality of individual test case specific objects to execute the plurality of individual test cases against one or more systems under test, each individual test case specific object in the plurality of individual test case specific objects representing a respective test case in the plurality of test cases;

wherein the test case generic object implements at least a test execution method, wherein the test execution method is cloned by the plurality of individual test case specific objects; and wherein the test execution method, when invoked through the plurality of individual test case specific objects, performs same test checks across all test cases in the plurality of individual test cases.

2. The method as recited in claim 1 , wherein the plurality of sets of test case specific elements is represented as a plurality of sets of key-value pairs.

3. The method as recited in claim 1 , wherein the test case base object includes a set of test case common properties each of which is set with one of: a test case common element received with the set of test case common elements in a request for executing the plurality of test cases, or a coded value used in constructing the test case base object.

4. The method as recited in claim 1 , wherein the method is performed by a test agent, wherein the test case data is generated by a test user interacting with a test master, and wherein the test case data is sent by the test master to the test agent, in a request for executing a test that includes the plurality of test cases.

5. The method as recited in claim 1 , wherein the plurality of test cases is used to test whether a plurality of applications in the one or more systems is performing correctly and responsively.

6. The method as recited in claim 1 , wherein the plurality of applications is accessed through different endpoints of one or more web servers in the one or more systems.

7. One or more non-transitory computer readable media storing a program of instructions that is executable by a device to perform:

receiving test case data, defined by a user, for a plurality of individual test cases, the test case data including a plurality of sets of test case specific elements;

wherein the test case data identifies a set of dependent and independent test steps for each test case in the plurality of individual test cases;

generating, based on the test case data as defined by a user, a test case base object that represents a generic test case, the test case base object including a set of test case specific properties to be populated by test case specific values;

expanding the test case base object into a plurality of individual test case specific objects that represents the plurality of individual test cases, each individual test case specific object in the plurality of individual test case specific objects being generated at least in part by setting the set of test case specific properties in each such individual test case specific object to a respective set of test case specific values as indicated in a respective set of test case specific elements in the plurality of sets of test case specific elements;

using the plurality of individual test case specific objects to execute the plurality of individual test cases against one or more systems under test, each individual test case specific object in the plurality of individual test case specific objects representing a respective test case in the plurality of test cases;

wherein the test case generic object implements at least a test execution method, wherein the test execution method is cloned by the plurality of individual test case specific objects; and wherein the test execution method, when invoked through the plurality of individual test case specific objects, performs same test checks across all test cases in the plurality of individual test cases.

8. The medium as recited in claim 7 , wherein the plurality of sets of test case specific elements is represented as a plurality of sets of key-value pairs.

9. The medium as recited in claim 7 , wherein the test case base object includes a set of test case common properties each of which is set with one of: a test case common element received with the set of test case common elements in a request for executing the plurality of test cases, or a coded value used in constructing the test case base object.

10. The medium as recited in claim 7 , wherein the test case data is generated by a test user interacting with a test master, and wherein the test case data is sent by the test master to a test agent, in a request for executing a test that includes the plurality of test cases.

11. The medium as recited in claim 7 , wherein the plurality of test cases is used to test whether a plurality of applications in the one or more systems is performing correctly and responsively.

12. The medium as recited in claim 7 , wherein the plurality of applications is accessed through different endpoints of one or more web servers in the one or more systems.

13. A system, comprising:

one or more computing processors;

one or more non-transitory computer readable media storing a program of instructions that is executable by the one or more computing processors to perform:

receiving test case data, as defined by a user, for a plurality of individual test cases, the test case data including a plurality of sets of test case specific elements;

wherein the test case data identifies a set of dependent and independent test steps for each test case in the plurality of individual test cases;

generating, based on the test case data as defined by the user, a test case base object that represents a generic test case, the test case base object including a set of test case specific properties to be populated by test case specific values;

expanding the test case base object into a plurality of individual test case specific objects that represents the plurality of individual test cases, each individual test case specific object in the plurality of individual test case specific objects being generated at least in part by setting the set of test case specific properties in each such individual test case specific object to a respective set of test case specific values as indicated in a respective set of test case specific elements in the plurality of sets of test case specific elements;

using the plurality of individual test case specific objects to execute the plurality of individual test cases against one or more systems under test, each individual test case specific object in the plurality of individual test case specific objects representing a respective test case in the plurality of test cases;

wherein the test case generic object implements at least a test execution method, wherein the test execution method is cloned by the plurality of individual test case specific objects; and wherein the test execution method, when invoked through the plurality of individual test case specific objects, performs same test checks across all test cases in the plurality of individual test cases.

14. The system as recited in claim 13 , wherein the plurality of sets of test case specific elements is represented as a plurality of sets of key-value pairs.

15. The system as recited in claim 13 , wherein the test case base object includes a set of test case common properties each of which is set with one of: a test case common element received with the set of test case common elements in a request for executing the plurality of test cases, or a coded value used in constructing the test case base object.

16. The system as recited in claim 13 , wherein the test case data is generated by a test user interacting with a test master, and wherein the test case data is sent by the test master to a test agent, in a request for executing a test that includes the plurality of test cases.

17. The system as recited in claim 13 , wherein the plurality of test cases is used to test whether a plurality of applications in the one or more systems is performing correctly and responsively.

18. The system as recited in claim 13 , wherein the plurality of applications is accessed through different endpoints of one or more web servers in the one or more systems.

Assignments (2)
CHANGE OF NAME Recorded Nov 21, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069431/0203 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2017
From: PATEL, ASHISH; SHARMA, TUHIN KANTI; TAMMARIELLO, CHRISTOPHER; BARTOLI, MICHAEL
To: SALESFORCE.COM, INC.
Reel/Frame 043404/0363 →
Continuity (1)
Related Publication 20190065345A1 · Feb 28, 2019