IP Library Granted Patent US 10,423,521
Granted Patent B2
US 10,423,521 · App. 15/686,020 · Granted Sep 24, 2019

Automatically executing stateless transactions with data dependency in test cases

Inventors: Tuhin Kanti Sharma (San Mateo, CA); Michael Bartoli (San Francisco, CA); Christopher Tammariello (San Mateo, CA); Ashish Patel (Fremont, CA)
Assignee: salesforce.com, inc.
G06F11/3684G06F11/3688
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,423,521
App. No.
15/686,020
Granted
Sep 24, 2019
Kind
B2
Abstract

A test case data set that includes test step data sets is received. The test step data sets include a first test step data set that specifies a dependency data field. Test step objects to be used to execute test steps in a test case are generated based on the test step data sets. The test steps include a first test step to be executed using a first test step object generated based on the first test step data set. The first test step object is used to execute the first test step. The first test step as executed populates values in the dependency data field. The values in the dependency data field are accessed and used in a second test step in the test steps while the second test step is being executed using a second test step object in the test step objects.

Claims (38)

1. A method, comprising:

receiving a test case data set that includes test step data sets, the test step data sets comprising a first test step data set that specifies a dependency data field;

generating, based at least in part on the test step data sets in the test case data set, test step objects to be used to execute test steps in a test case, the test steps comprising a first test step to be executed using a first test step object in the test step objects, the first test step object being generated based at least in part on the first test step data set that specifies the dependency data field;

using the first test step object to execute the first test step, the first test step as executed populating one or more values in the dependency data field;

causing the one or more values in the dependency data field to be accessed and used in a second test step in the test steps while the second test step is being executed using a second test step object in the test step objects.

2. The method as recited in claim 1 , wherein the first test step executes one or more first API calls, wherein the second test step executes one or more second API calls, and wherein the one or more first API calls are independent of the one or more second API calls.

3. The method as recited in claim 2 , wherein the one or more first API calls do not invoke the one or more second API calls, and wherein the one or more first API calls do not directly pass any input data to the one or more second API calls.

4. The method as recited in claim 1 , wherein the test case is represented by a test case object generated based on the test case data set.

5. The method as recited in claim 1 , wherein the test case is represented by a test case object generated based on expanding a test case generic object, and wherein the test case generic object is generated based on the test case data set.

6. The method as recited in claim 1 , wherein the test step data sets comprises a test step data set that specifies one or more values for a replaceable overridable data field, and wherein the one or more values for the replaceable overridable data field are used to perform one or more corresponding operations respectively based on the one or more values for the replaceable overridable data field.

7. The method as recited in claim 1 , wherein the test case data set comprises a set of test step common data set with data elements common to all test step in the test steps.

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

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

receiving a test case data set that includes test step data sets, the test step data sets comprising a first test step data set that specifies a dependency data field;

generating, based at least in part on the test step data sets in the test case data set, test step objects to be used to execute test steps in a test case, the test steps comprising a first test step to be executed using a first test step object in the test step objects, the first test step object being generated based at least in part on the first test step data set that specifies the dependency data field;

using the first test step object to execute the first test step, the first test step as executed populating one or more values in the dependency data field;

causing the one or more values in the dependency data field to be accessed and used in a second test step in the test steps while the second test step is being executed using a second test step object in the test step objects.

10. The medium as recited in claim 9 , wherein the first test step executes one or more first API calls, wherein the second test step executes one or more second API calls, and wherein the one or more first API calls are independent of the one or more second API calls.

11. The medium as recited in claim 10 , wherein the one or more first API calls do not invoke the one or more second API calls, and wherein the one or more first API calls do not directly pass any input data to the one or more second API calls.

12. The medium as recited in claim 9 , wherein the test case is represented by a test case object generated based on the test case data set.

13. The medium as recited in claim 9 , wherein the test case is represented by a test case object generated based on expanding a test case generic object, and wherein the test case generic object is generated based on the test case data set.

14. The medium as recited in claim 9 , wherein the test step data sets comprises a test step data set that specifies one or more values for a replaceable overridable data field, and wherein the one or more values for the replaceable overridable data field are used to perform one or more corresponding operations respectively based on the one or more values for the replaceable overridable data field.

15. The medium as recited in claim 9 , wherein the test case data set comprises a set of test step common data set with data elements common to all test step in the test steps.

16. The medium as recited in claim 9 , wherein the method is performed by a test agent, wherein the test case data set is generated by a test user interacting with a test master, and wherein the test case data set is sent by the test master to the test agent, in a request for executing a test that includes the test case.

17. 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 a test case data set that includes test step data sets, the test step data sets comprising a first test step data set that specifies a dependency data field;

generating, based at least in part on the test step data sets in the test case data set, test step objects to be used to execute test steps in a test case, the test steps comprising a first test step to be executed using a first test step object in the test step objects, the first test step object being generated based at least in part on the first test step data set that specifies the dependency data field;

using the first test step object to execute the first test step, the first test step as executed populating one or more values in the dependency data field;

causing the one or more values in the dependency data field to be accessed and used in a second test step in the test steps while the second test step is being executed using a second test step object in the test step objects.

18. The system as recited in claim 17 , wherein the first test step executes one or more first API calls, wherein the second test step executes one or more second API calls, and wherein the one or more first API calls are independent of the one or more second API calls.

19. The system as recited in claim 18 , wherein the one or more first API calls do not invoke the one or more second API calls, and wherein the one or more first API calls do not directly pass any input data to the one or more second API calls.

20. The system as recited in claim 17 , wherein the test case is represented by a test case object generated based on the test case data set.

21. The system as recited in claim 17 , wherein the test case is represented by a test case object generated based on expanding a test case generic object, and wherein the test case generic object is generated based on the test case data set.

22. The system as recited in claim 17 , wherein the test step data sets comprises a test step data set that specifies one or more values for a replaceable overridable data field, and wherein the one or more values for the replaceable overridable data field are used to perform one or more corresponding operations respectively based on the one or more values for the replaceable overridable data field.

23. The system as recited in claim 17 , wherein the test case data set comprises a set of test step common data set with data elements common to all test step in the test steps.

24. The system as recited in claim 17 , wherein the method is performed by a test agent, wherein the test case data set is generated by a test user interacting with a test master, and wherein the test case data set is sent by the test master to the test agent, in a request for executing a test that includes the test case.

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: SHARMA, TUHIN KANTI; BARTOLI, MICHAEL; TAMMARIELLO, CHRISTOPHER; PATEL, ASHISH
To: SALESFORCE.COM, INC.
Reel/Frame 043404/0440 →
Continuity (1)
Related Publication 20190065349A1 · Feb 28, 2019