Generating test scripts for testing a network-based application
AssigneeInternational Business Machines Corporation
InventorAng Yi
Life of this patent
Estimating the term…
Abstract
There is provided a computer-implemented method of testing an application. The method, responsive to first mark data being included in second mark data, obtains second temporary test scripts for testing at least one test case of the second version of the application, wherein the second temporary test scripts being recorded with the second mark data. The method obtains a second correspondence between increased test data and increased data in the second mark data compared with the first mark data. The method substitutes the test data and the increased test data for the second mark data in the second temporary test scripts based on both the first and second correspondences to obtain second test scripts for testing the at least one test case of the second version of the application.
Claims20
A computer-implemented method of testing an application, the method comprising:
- responsive to first mark data being included in second mark data, wherein the second mark data is used for testing a second version of the application, obtaining second temporary test scripts for testing at least one test case of the second version of the application, wherein the second temporary test scripts being recorded with the second mark data;
- obtaining a second correspondence between increased test data and increased data in the second mark data compared with the first mark data;
- and
- substituting the test data and the increased test data for the second mark data in the second temporary test scripts based on both the first and second correspondences to obtain second test scripts for testing the at least one test case of the second version of the application.
A computer system for testing an application, comprising:
- at least one processor, a memory coupled to the at least one processor, computer program instructions stored in the memory and executed by the at least one processor, to perform steps of:
- responsive to first mark data being included in second mark data, wherein the second mark data is used for testing a second version of the application, obtaining second temporary test scripts for testing at least one test case of the second version of the application, wherein the second temporary test scripts being recorded with the second mark data;
- obtaining a second correspondence between increased test data and increased data in the second mark data compared with the first mark data;
- and
- substituting the test data and the increased test data for the second mark data in the second temporary test scripts based on both the first and second correspondences to obtain second test scripts for testing the at least one test case of the second version of the application.
A computer program product for testing an application, comprising a computer readable storage medium, the computer readable storage medium storing program instructions thereon, the program instructions executed by at least one processor, causing the at least one processor to:
- responsive to first mark data being included in second mark data, wherein the second mark data is used for testing a second version of the application, obtain second temporary test scripts for testing at least one test case of the second version of the application, wherein the second temporary test scripts being recorded with the second mark data;
- obtain a second correspondence between increased test data and increased data in the second mark data compared with the first mark data;
- and
- substitute the test data and the increased test data for the second mark data in the second temporary test scripts based on both the first and second correspondences to obtain second test scripts for testing the at least one test case of the second version of the application.
Dependencies are inferred from the claim text.