×

Systems and methods for testing a software application

  • US 10,521,336 B1
  • Filed: 01/04/2019
  • Issued: 12/31/2019
  • 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 network interface and a networked database, for testing a software application, the method comprising:

  • extracting, using the processor through the network interface from the networked database, an expected result of a software application, the expected result being identified by a control file and being generated by SQL query including logic for emulating the expected functionality of the software application,wherein the expected result corresponds to an expected result test case including an expected result test variable corresponding to an entry in a data table in an expected results database, the expected result test variable corresponding to an expected result verification point, andwherein the control file includes SQL commands for performing data preparation steps configured to prepare the data for testing prior to extracting the expected result test case, the data preparation steps including deleting, creating, or modifying data tables in the expected results database;

    extracting, using the processor through the network interface from the networked database, an actual result output by the software application, the actual result being identified by the control file,wherein the actual result corresponds to an actual result test case including an actual result variable corresponding to an entry in a data table in an actual results database, the actual result variable corresponding to an actual result verification point, andwherein the control file includes SQL commands for performing data preparation steps configured to prepare the data for testing prior to extracting the actual result file, the data preparation steps including deleting, creating, or modifying data tables in the actual results database;

    comparing, using the processor, the expected result with the actual result, the expected result test case with the actual result test case, the expected result test variable with the actual result variable, and the expected result verification point with the actual result verification point;

    generating, using the processor, a result file indicating whether the test case passed or failed, the test case having passed when the expected result matches the actual result, the expected result test case matches the actual result test case, the expected result test variable matches the actual result variable, and the expected result verification point matches the actual result verification point; and

    updating, using the processor through the network interface, the result file to indicate that the test case failed if;

    the expected result and the actual result or expected result test variable and the actual result variable do not contain the same amount of data; and

    the expected result does not match a key defined in the control file.

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