IP Library Granted Patent US 8,930,766
Granted Patent B2
US 8,930,766 · App. 13/630,530 · Granted Jan 6, 2015

Testing mobile applications

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 8,930,766
App. No.
13/630,530
Granted
Jan 6, 2015
Kind
B2
Abstract

The present disclosure involves systems, software, and computer implemented methods for identifying test cases. One example process includes operations for identifying a mobile application to perform testing upon. A test environment and at least one risk situation associated with the mobile application are identified. For each of the at least one identified risk situations, at least one risk situation-relevant context parameter is identified. A standard operations path is created, as is at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters. The corresponding operations path-variant is analyzed to identify a set of test cases for the context parameter, for each of the at least one identified context parameters.

Claims (80)

1. A computer-implemented method performed by one or more processors for identifying test cases, the method comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein the standard operations path includes a set of standard states and standard state transitions for the mobile application, wherein a standard state is not associated with a risk situation; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters.

2. The method of claim 1 , further comprising executing a test case and recording a result of the test case execution.

3. The method of claim 1 , wherein the identified test environment comprises one or more of a particular operating system and a particular mobile device type.

4. The method of claim 1 , wherein each operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter transitioning from a first context parameter value to a second context parameter value during execution of the particular operations path-variant, wherein the context parameter has the first context parameter value during execution of the standard operations path.

5. The method of claim 4 , wherein an operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter having a third context parameter value.

6. The method of claim 1 , wherein analyzing the corresponding operations path-variant comprises identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states.

7. The method of claim 6 , wherein identifying a set of test cases for the context parameter comprises selecting a set of possible paths such that each state transition in the operations path-variant is included in at least one selected possible path.

8. The method of claim 1 , wherein the risk situations comprise an inability to retrieve data, a lack of connectivity, backend data changed by another entity since data retrieval, and an inability to write data.

9. The method of claim 1 , wherein the context parameters include mobile device state context parameters, connectivity state context parameters, middleware state context parameters, and backend state context parameters.

10. The method of claim 9 :

wherein the mobile device state context parameters include at least one of airplane mode, language, push input received, application start state, device restarted, battery status, application cache status, offline data cache status, and memory status;

wherein the connectivity state context parameters include at least one of connectivity type, connectivity strength, and connectivity reliability; and

wherein the backend state context parameters include at least one of user existence status, user data access status, object existence status, object locked status, object details status, and object list entries status.

11. A system comprising:

one or more computers associated with an enterprise portal; and

a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters, wherein analyzing the corresponding operations path-variant comprises identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states.

12. The system of claim 11 , the operations further comprising executing a test case and recording a result of the test case execution.

13. The system of claim 11 , wherein the identified test environment comprises one or more of a particular operating system and a particular mobile device type.

14. The system of claim 11 , wherein identifying a set of test cases for the context parameter comprises selecting a set of possible paths such that each state transition in the operations path-variant is included in at least one selected possible path.

15. A computer-implemented method performed by one or more processors for identifying test cases, the method comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein each operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter transitioning from a first context parameter value to a second context parameter value during execution of the particular operations path-variant, wherein the context parameter has the first context parameter value during execution of the standard operations path; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters.

16. The method of claim 15 , further comprising executing a test case and recording a result of the test case execution.

17. The method of claim 15 , wherein the identified test environment comprises one or more of a particular operating system and a particular mobile device type.

18. The method of claim 15 , wherein analyzing the corresponding operations path-variant comprises identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states.

19. A computer-implemented method performed by one or more processors for identifying test cases, the method comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path, wherein the standard operations path includes a set of standard states and standard state transitions for the mobile application and wherein a standard state is not associated with a risk situation;

creating, for the mobile application, at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein each operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter transitioning from a first context parameter value to a second context parameter value during execution of the particular operations path-variant and wherein the context parameter has the first context parameter value during execution of the standard operations path; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters, including:

identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states; and

selecting a set of possible paths such that each state transition in the operations path-variant is included in at least one selected possible path.

20. A system comprising:

one or more computers associated with an enterprise portal; and

a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein the standard operations path includes a set of standard states and standard state transitions for the mobile application, wherein a standard state is not associated with a risk situation; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters.

21. A computer-implemented method performed by one or more processors for identifying test cases, the method comprising

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters, wherein analyzing the corresponding operations path-variant comprises identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states.

22. A system comprising:

one or more computers associated with an enterprise portal; and

a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path and at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein each operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter transitioning from a first context parameter value to a second context parameter value during execution of the particular operations path-variant, wherein the context parameter has the first context parameter value during execution of the standard operations path; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters.

23. A system comprising:

one or more computers associated with an enterprise portal; and

a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:

identifying a mobile application to perform testing upon;

identifying a test environment and at least one risk situation associated with the mobile application;

for each of the at least one identified risk situations, identifying at least one risk situation-relevant context parameter;

creating, for the mobile application, a standard operations path, wherein the standard operations path includes a set of standard states and standard state transitions for the mobile application and wherein a standard state is not associated with a risk situation;

creating, for the mobile application, at least one operations path-variant for each of the at least one identified risk situation-relevant context parameters, wherein each operations path-variant includes a set of exception states and exception state transitions that can occur in response to the corresponding context parameter transitioning from a first context parameter value to a second context parameter value during execution of the particular operations path-variant and wherein the context parameter has the first context parameter value during execution of the standard operations path; and

analyzing the corresponding operations path-variant to identify a set of test cases for the context parameter for each of the at least one identified context parameters, including:

identifying possible paths through the operations path-variant, where each possible path includes a set of standard and/or exception states; and

selecting a set of possible paths such that each state transition in the operations path-variant is included in at least one selected possible path.

Assignments (2)
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2013
From: GRIESINGER, REGINA; BEHRENS, MARCUS; MECKE, CHRISTOPH
To: SAP AG
Reel/Frame 029717/0567 →