Scheme for test automation
AssigneeSeta Lab, Inc.
InventorsJungok Kim, Sujung Moon
Life of this patent
Estimating the term…
Abstract
A method performed on a test automation platform by a computing device is disclosed. The disclosed method comprises: a step of generating the markup language document from a test script (the test script is created in a script language so as to include the definition of a user-defined function for use in testing a device under test (DUT) and a markup language document includes a script element for inserting the definition of the user-defined function into the markup language document); and a step of running a program engine (the program engine is an existing component of the test automation platform and includes an interpreter for the script language) in order to process the created markup language document.
Claims17
A method performed by a computing device on a test automation platform, the method comprising:
- generating a markup language document from a test script, the test script being created in a script language to include a definition of a user-defined function for use in testing a device under test (DUT), the markup language document including a script element for inserting the definition into the markup language document;
- running a program engine for processing the generated markup language document, the program engine being an off-the-shelf component of the test automation platform and including an interpreter for the script language;
- and
- executing the generated markup language document,
- wherein the generating of the markup language document from the test script includes:
- determining, based on the test script, whether a name of the user-defined function is the same as a predetermined name;
- and
- generating an additional element enabling the user-defined function to be executed, in response to the determination that the name of the user-defined function is the same as the predetermined name, and incorporating the additional element into the markup language document,
- wherein the user-defined function includes a first script statement for calling a predefined function available to the test script according to an external application programming interface (API) for the test automation platform,
- wherein when the predefined function provided is declared in the markup language document, the predefined function is interpreted and then executed while the test automation platform interprets and then executes the markup language document, and
- wherein the definition of the user-defined function and the declaration of the predefined function are partitioned to be separate from each other within a same script element by an inserted comment.
A device for test automation, the device comprising:
- a processor;
- and
- a computer-readable storage medium having computer executable instructions stored thereon for allowing the processor to perform operations so as to implement a test automation platform, when executed by the processor, the operations including:
- generating a markup language document from a test script, the test script being created in a script language to include a definition of a user-defined function for use in testing a device under test (DUT), the markup language document including a script element for inserting the definition into the markup language document;
- running a program engine for processing the generated markup language document, the program engine being an off-the-shelf component of the test automation platform and including an interpreter for the script language;
- and
- executing the generated markup language document,
- wherein the generating of the markup language document from the test script includes:
- determining, based on the test script, whether a name of the user-defined function is the same as a predetermined name;
- and
- generating an additional element enabling the user-defined function to be executed, in response to the determination that the name of the user-defined function is the same as the predetermined name, and incorporating the additional element into the markup language document,
- wherein the user-defined function includes a first script statement for calling a predefined function available to the test script according to an external application programming interface (API) for the test automation platform,
- wherein when the predefined function provided is declared in the markup language document, the predefined function is interpreted and then executed while the test automation platform interprets and then executes the markup language document, and
- wherein the definition of the user-defined function and the declaration of the predefined function are partitioned to be separate from each other within a same script element by an inserted comment.
Dependencies are inferred from the claim text.