System and method for software testing with extensible markup language and extensible stylesheet language
AssigneeCypress Semiconductor Corporation
InventorDoug Anderson
Life of this patent
Estimating the term…
Abstract
A system and method for using Extensible Markup Language (XML) as a scripting language to drive testing of a software program. XML is used to define a markup language in a script that provides commands that are interpreted by a test control processor. The test control processor includes an XML processor for processing the script. Using the script, the test control processor submits instructions to a software program and extracts the behavior of the software program. The software program behavior is tested by submitting multiple sets of instructions and comparing the results. Information regarding the software program behavior and test results is written to an output log file by the test control processor.
Claims21
A computer implemented system for automatically testing software comprising:
- a script formatted in a version of Extensible Markup Language (XML);
- an XML processor for processing said script and producing a set of instructions for execution by a software program;
- and,
- an output log file for logging results from the execution of said instructions, wherein said instructions comprise instructions for testing said software program, wherein said software program comprises a Component Object Model (COM) interface for providing an interface for receiving said set of instructions.
A method for testing a software program comprising:
- accessing a script formatted in a version of Extensible Markup Language (XML);
- interpreting said script with a test control processor to produce a set of instructions;
- controlling the execution of a software program using said set of instructions;
- extracting a behavior of said software program, according to an output rendered thereby;
- and,
- recording said output in an output file,
- wherein said software program comprises an integrated development environment (IDE).
A computer readable medium containing executable instructions which, when executed in a processing system, causes the system to perform a method comprising:
- accessing a script formatted in a version of Extensible Markup Language (XML);
- interpreting said script with a test control processor to produce a set of instructions;
- controlling the execution of a software program using said set of instructions;
- extracting a behavior of said software program according to an output rendered thereby;
- and,
- recording said output in an output file,
- wherein said controlling the execution of said software program of said method comprises using a Component Object Model (COM) automation interface.
A computer controlled method for testing comprising:
- accessing a script formatted in a version of Extensible Markup Language (XML) format;
- interpreting said script with a processor to produce a set of instructions;
- applying said set of instructions to an application integrated development environment (IDE) to cause said integrated development environment to execute internal routines which produce information;
- capturing said information into an output file;
- comparing said output file to an expected output file based on said script;
- and
- generating a result of said comparing.
Dependencies are inferred from the claim text.