Automating functionality test cases
First Claim
1. A computer implemented method, comprising:
- communicating, between a test case automation tool and a software application, to extract a list of methods to test from the software application;
storing the list of methods in a first extensible markup language (XML) file;
defining a first automated test case in a second XML file for testing the software application, the defining including;
receiving selection input of a set of methods from the list of methods in the first XML file and indicating in the second XML file the set of methods;
receiving parameter values for parameter fields for the set of methods to use in a test case execution and indicating in the second XML file the parameter fields and the selected parameter values;
indicating in the second XML file a specified order of execution of the set of methods, wherein the specified order of execution of the set of methods comprises an order that is different than an order of the set of methods in the software application;
indicating in the second XML file a list of files required for the set of methods; and
in response to indication of the first automated test case, reading the second XML file and executing the set of methods indicated in the second XML file according to the specified order in the second XML file and with the selected parameter values in the second XML file.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer implemented method and system including techniques for developing and executing automated test cases are described herein. In one embodiment, a test case automation tool provides functionality for defining an automated test set and associated test cases within a testing user interface without the use of scripting languages or compiled programming. The definition of each test case may occur within a testing user interface, including displaying and receiving user selection of available methods for testing; displaying user parameter fields and receiving user parameter values in response for testing; abstracting parameter types in the user parameter values; and generating XML-format definitions of the test case. The test case automation tool may then execute the selected methods of the software application using parameters provided in the XML-format definitions, and return testing results of the test case execution.
51 Citations
11 Claims
-
1. A computer implemented method, comprising:
-
communicating, between a test case automation tool and a software application, to extract a list of methods to test from the software application; storing the list of methods in a first extensible markup language (XML) file; defining a first automated test case in a second XML file for testing the software application, the defining including; receiving selection input of a set of methods from the list of methods in the first XML file and indicating in the second XML file the set of methods; receiving parameter values for parameter fields for the set of methods to use in a test case execution and indicating in the second XML file the parameter fields and the selected parameter values; indicating in the second XML file a specified order of execution of the set of methods, wherein the specified order of execution of the set of methods comprises an order that is different than an order of the set of methods in the software application; indicating in the second XML file a list of files required for the set of methods; and in response to indication of the first automated test case, reading the second XML file and executing the set of methods indicated in the second XML file according to the specified order in the second XML file and with the selected parameter values in the second XML file. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory machine readable storage medium, comprising instructions for automated test case generation stored thereon, the instructions to:
-
communicate with a software application to extract a list of methods to test from the software application; store the list of methods in a first extensible markup language (XML) file; define a first automated test case in a second XML file for testing the software application, wherein the instructions to define include instructions to; receive selection input of a set of methods from the list of methods in the first XML file and indicate the set of methods in the second XML file; receive parameter values for parameter fields for the set of methods to use in a test case execution and indicate the parameter values and the parameter fields in the second XML file in association with corresponding ones of the set of methods; indicate a specified order of execution of the set of methods in the second XML file, wherein the specified order of execution of the set of methods comprises an order that is different than an order of the set of methods in the software application; indicate a list of files required for the set of methods in the second XML file; and in response to indication of the first automated test case, read the second XML file and execute the set of methods indicated in the second XML file according to the specified order in the second XML file and with the selected parameter values in the second XML file. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computing system configured for automated test case definition and execution, the computing system comprising:
-
a processor; a memory; and instructions stored in the memory and executable by the processor to cause the computing system to communicate with a software application to extract a list of methods to test from the software application; store the list of methods in a first extensible markup language (XML) file; define a first automated test case in a second XML file for testing the software application, wherein the instructions to define comprise instructions to; receive selection input of a set of methods from the list of methods in the first XML file and indicate the set of methods in the second XML file; receive parameter values for parameter fields for the set of methods to use in a test case execution and indicate the parameter values and the parameter fields in the second XML file in association with corresponding ones of the set of methods; indicate a specified order of execution of the set of methods in the second XML file, wherein the specified order of execution of the set of methods comprises an order that is different than an order of the set of methods in the software application; indicate a list of files required for the set of methods in the second XML file; and in response to indication of the first automated test case, read the second XML file and execute the set of methods indicated in the second XML file according to the specified order in the second XML file and with the selected parameter values in the second XML file.
-
Specification