System and method for creating and restoring a test environment
AssigneeInternational Business Machines Corporation
InventorsRobert Balfe, Toan Do
Life of this patent
Estimating the term…
Abstract
A system and method for creating a test environment on a computer system using an application programming interface (API) is provided. The system and method further let an operator restore the tested computer system to its pre-test configuration after testing is completed. The system and method use an XML based syntax for defining the environment on the computer system. In addition, test parameters and data are defined by the XML syntax. When testing is completed, the XML syntax is used to restore the computer system to its pre-test configuration.
Claims20
A method for performing testing on a computer system using an application programming interface, said method comprising the steps of:
- defining a plurality of elements to produce a plurality of defined elements, said plurality of defined elements associated with an environment operatively associated with said application programming interface;
- saving said plurality of defined elements to an extensible markup language (XML);
- creating a set of elements from said plurality of defined elements, said set of elements operatively associated with said environment;
- and
- performing said testing on said system using said set of elements.
A system for performing software testing using an application programming interface, said system comprising:
- a memory for storing elements associated with an environment, said environment operatively associated with said application programming interface for facilitating said software testing on said system;
- and
- a processor communicatively associated with said memory, said processor executing machine-readable instructions for causing said elements to be converted to an extensible markup language for use in performing said software testing.
A method for restoring an operating environment on a computer system, the method comprising the steps of:
- starting an operating system on said computer;
- accessing an environment creation menu for creating a testing environment on said computer, said testing environment operatively communicating with an application programming interface for facilitating testing of said computer;
- accessing an environment creation tool using said environment creation menu, said environment creation tool being accessible by way of a dynamic link library file;
- and
- accessing a cleaner file containing machine-readable instructions for restoring said operating environment after said testing is complete.
Dependencies are inferred from the claim text.