Systems and methods for testing a software application
First Claim
1. A computer-implemented method, performed by a processor connected to a communication network and at least one database, for testing a software application, the method comprising:
- storing, in the at least one database using the processor, a control file identifying a test case for testing a software application;
extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing expected results of the software application, a first expected result, the first expected result being of a first format and identified by the control file;
extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing actual results output by the software application, a first actual result, the first actual result being of a second format and identified by the control file;
determining, using the processor, whether the first format and the second format are identical;
translating, using the processor and if the first and second formats are not identical, either the format of the first expected results to the format or the first actual result or the format of the first actual result to the format of the first expected result;
comparing, using the processor the first expected result with the first actual result to determine whether the first actual result matches the first expected result;
generating, using the processor a result file indicating whether the test case passed or failed, the test case having passed when the first actual result matches the first expected result;
determining using the processor, whether the generated result file indicates that the test case passed;
determining, using the processor, whether the first expected result andthe first actual result contains no data when it is determined that the generated result file indicates that the test case passed;
updating, using the processor through the communication network, the result file to indicate that the test case failed if the first expected result and the first actual result contains no data,storing, using the processor through the communication network, the result file in a storage device connected to the at least one database;
storing, using the processor through the communication network, a configuration file defining a variable to have a value;
identifying, using the processor, an instance of the variable in the control file; and
interpreting, using the processor, the instance of the variable in the control file to have the value defined in the configuration file,wherein the configuration file includes a structured query language (“
SQL”
) statement for extracting the first expected result; and
the SQL statement includes the instance of the variable.
4 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, and computer-readable media are disclosed for testing a software application. An exemplary method includes storing a control file identifying a test case for testing a software application. A first expect result may be extracted from a device storing expected results of the software application, the first expected result being identified by the control file. A first actual result may be extracted from a device storing actual results output by the software application, the first actual result being identified by the control file. The first expected result may be compared with the first actual result to determine whether the first actual result matches the first expected result. A result file indicated whether the test case passed or failed s generated, and the test case has passed when the first actual result matches the first expected result. the result file may be stored in a storage device.
-
Citations
19 Claims
-
1. A computer-implemented method, performed by a processor connected to a communication network and at least one database, for testing a software application, the method comprising:
-
storing, in the at least one database using the processor, a control file identifying a test case for testing a software application; extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing expected results of the software application, a first expected result, the first expected result being of a first format and identified by the control file; extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing actual results output by the software application, a first actual result, the first actual result being of a second format and identified by the control file; determining, using the processor, whether the first format and the second format are identical; translating, using the processor and if the first and second formats are not identical, either the format of the first expected results to the format or the first actual result or the format of the first actual result to the format of the first expected result; comparing, using the processor the first expected result with the first actual result to determine whether the first actual result matches the first expected result; generating, using the processor a result file indicating whether the test case passed or failed, the test case having passed when the first actual result matches the first expected result; determining using the processor, whether the generated result file indicates that the test case passed; determining, using the processor, whether the first expected result and the first actual result contains no data when it is determined that the generated result file indicates that the test case passed; updating, using the processor through the communication network, the result file to indicate that the test case failed if the first expected result and the first actual result contains no data, storing, using the processor through the communication network, the result file in a storage device connected to the at least one database; storing, using the processor through the communication network, a configuration file defining a variable to have a value; identifying, using the processor, an instance of the variable in the control file; and interpreting, using the processor, the instance of the variable in the control file to have the value defined in the configuration file, wherein the configuration file includes a structured query language (“
SQL”
) statement for extracting the first expected result; andthe SQL statement includes the instance of the variable. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium comprising instructions for causing a processor connected to a communication network and at least one database to execute a method for testing a software application, the method comprising:
-
storing in the at least one database using the processor, a control file identifying a test case for testing a software application; extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing expected results of the software application, a first expected result, the first expected result being of a first format and being identified by the control file; extracting, using the processor through the communication network from a device connected to the at least one database and configured for storing actual results output by the software application, a first actual result, the first actual result being of a second format and identified by the control file; determining, using the processor, whether the first format and the second format are identical; translating, using the processor and if the first and second formats are not identical, either the format of the first expected results to the format or the first actual result or the format of the first actual result to the format of the first expected result; comparing using the processor the first expected result with the first actual result to determine whether the first actual result matches the first expected result; generating using the processor a result file indicating whether the test case passed or failed, the test case having passed when the first actual result matches the first expected result; determining using the processor, whether the generated result file indicates that the test case passed; determining, using the processor, whether the first expected result and the first actual result contains no data when it is determined that the, generated result file indicates that the test case passed; updating, using the processor through the communication network, the result file to indicate that the test case failed if the first of the first expected result and the first actual result contains no data; storing, using the processor through the communication network, the result file in a storage device connected to the at least one database; storing, using the processor through the communication network, a configuration file defining a variable to have a value; identifying, using the processor, an instance of the variable in the control file; and interrupting, using the processor, the instance of the variable in the control file to have the value defined in the configuration file, wherein the configuration file includes a structured query language (“
SQL”
) statement for extracting the first expected result; andthe SQL statement includes the instance of the variable.
-
-
19. A system for testing a software application, the system comprising:
-
A processor connected to a communication network and at least one database; and at least one memory comprising instructions executable by a processor connected to a communication network and at least one database to; store in the at least one database using the processor, a control file identifying a test case for testing a software application; extract, using the processor through the communication network from a device connected to the at least one database and configured for storing expected results of the software application, a first expected result, the first expected result being of a first format and being identified by the control file; extract, using the processor through the communication network from a device connected to the at least one database and configured for storing actual results output by the software application, a first actual result, the first actual result being of a second format and identified by the control file; determining, using the processor, whether the first format and the second format are identical; translating, using the processor and if the first and second formats are not identical, either the format of the first expected results to the format or the first actual result or the format of the first actual result to the format of the first expected result; compare using the processor the first expected result with the first actual result to determine whether the first actual result matches the first expected result; generate using the processor a result file indicating whether the test case passed or failed, the test case having passed when the first actual result matches the first expected result; determining using the processor, whether the generated result file indicates that the test case passed; determining, using the processor, whether the first expected result and the first actual result contains no data when it is determined that the, generated result file indicates that the test case passed; updating, using the processor through the communication network, the result file to indicate that the test case failed if the first of the first expected result and the first actual result contains no data, storing, using the processor through the communication network, the result file in a storage device connected to the at least one database; store, using the processor through the communication network, a configuration file defining a variable to have a value; identify, using the processor, an instance of the variable in the control file; and interpret, using the processor, the instance of the variable in the control file to have the value defined in the configuration file, wherein the configuration file includes a structured query language (“
SQL”
) statement for extracting the first expected result; andthe SQL statement includes the instance of the variable.
-
Specification