Test automation method for software programs
AssigneeSap SE
InventorChunyue Li
Life of this patent
Estimating the term…
Abstract
A method for testing a software program creates test data by simulating data exchange messages between a server and a client and stores test data in Comma Separated Value (CSV) files. Data repository files stored in the CSV format can be edited by common tools, like a spreadsheet program, and can be maintained easily. The test automation method provides a data capturer tool so that the data repository could be created based on any existing test environment. The test automation method converts data repository files and simulates messages in order to load data to a mobile infrastructure system and set up data fixtures. The test automation method could be integrated in a build process so that data repository and test cases are validated against any program changes periodically.
Claims19
A method for testing a mobile infrastructure based software program, comprising:
- obtaining data representing a pre-existing application environment, the data being in a first format;
- performing test logic for the software program with the obtained data according to at least one requirement defined in at least one test case;
- comparing results from performing the test logic with expected results;
- storing results of the comparison;
- storing the data of the first format in a test data repository in a second format;
- converting data from the test data repository from the second format to the first format;
- and
- creating simulation messages with the converted data to simulate data exchange messages between a mobile device and mobile infrastructure.
A system for testing a mobile infrastructure based software program, comprising:
- a test data capturer for capturing data representing a pre-existing application environment in a first format and exporting the captured data in a second format;
- a test data repository for storing test data from the test data capturer in the second format;
- and
- a test automation controller for creating a simulation message to simulate a data exchange message between a mobile device and the mobile infrastructure and to trigger procession of the mobile infrastructure to generate the data representing the pre-existing application environment.
A method for testing a mobile infrastructure based software program, comprising:
- creating a simulation message to simulate a data exchange message between a mobile device and the mobile infrastructure;
- triggering processing of the mobile infrastructure by the simulation message to generate data representing a pre-existing application environment, the data being in a first format;
- storing the data in a second format;
- converting the stored data to the first format;
- and
- testing the software program with the converted data to create real time running test data.
Dependencies are inferred from the claim text.