Modular plug-and-play system for continuous model driven testing
First Claim
1. A method for testing an application running on an electronic device, the method comprising:
- parsing, by a test processor, a state model of the application representing relationships among a plurality of nodes, each node representing an application state;
parsing, by the test processor, a test implementation file including a plurality of commands for manipulating at least one of the application and the electronic device, each of the plurality of commands associated with respective ones of the plurality of nodes;
traversing, by the test processor, the state model of the application by selecting for testing an application node in accordance with the node relationships in the state model;
selecting, by the test processor, one or more of the plurality of commands for testing the application based on at least one criterion;
executing, by the test processor, the one or more selected commands, andupon disconnection and reconnection of the electronic device with the test processor, (a) detecting, by the test processor, that a connection session with the electronic device was terminated, and (b) resuming, by the test processor, traversing of the state model of the application from one of a predetermined application node and an application node for which the one or more selected commands were executing prior to the detection.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for testing an application running on an electronic device includes parsing, by a test processor, a state model of the application representing relationships among a plurality nodes, each node representing an application state. The method further includes parsing, by the test processor, a test implementation file including a plurality of commands for manipulating at least one of the application and the electronic device, each of the plurality of commands associated with respective ones of the plurality of nodes, traversing, by the test processor, the state model of the application by selecting for testing an application node in accordance with the node relationships in the state model. The method also includes selecting, by the test processor, one or more of the plurality of commands for testing the application based on at least one criteria, and executing, by the test processor, the one or more selected commands.
-
Citations
16 Claims
-
1. A method for testing an application running on an electronic device, the method comprising:
-
parsing, by a test processor, a state model of the application representing relationships among a plurality of nodes, each node representing an application state; parsing, by the test processor, a test implementation file including a plurality of commands for manipulating at least one of the application and the electronic device, each of the plurality of commands associated with respective ones of the plurality of nodes; traversing, by the test processor, the state model of the application by selecting for testing an application node in accordance with the node relationships in the state model; selecting, by the test processor, one or more of the plurality of commands for testing the application based on at least one criterion; executing, by the test processor, the one or more selected commands, and upon disconnection and reconnection of the electronic device with the test processor, (a) detecting, by the test processor, that a connection session with the electronic device was terminated, and (b) resuming, by the test processor, traversing of the state model of the application from one of a predetermined application node and an application node for which the one or more selected commands were executing prior to the detection. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for testing an application running on an electronic device comprising:
-
a test processor; and memory coupled to the test processor and having stored thereon computer readable instructions executed by the test processor, the instructions comprising; parsing, by the test processor, a state model of the application representing relationships among a plurality of nodes, each node representing an application state; parsing, by the test processor, a test implementation file including a plurality of commands for manipulating at least one of the application and the electronic device, each of the plurality of commands associated with respective ones of the plurality of nodes; traversing, by the test processor, the state model of the application by selecting for testing an application node in accordance with the node relationships in the state model; selecting, by the test processor, one or more of the plurality of commands for testing the application based on at least one criterion; executing, by the test processor, the one or more selected commands; and upon disconnection and reconnection of the electronic device with the test processor, (a) detecting, by the test processor, that a connection session with the electronic device was terminated, and (b) resuming, by the test processor, traversing of the state model of the application, from one of a predetermined application node and an application node for which the one or more selected commands were executing prior to the detection. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification