×

Systems and methods for testing a software application

  • US 9,111,030 B1
  • Filed: 10/05/2009
  • Issued: 08/18/2015
  • Est. Priority Date: 10/03/2008
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×