Generating reusable test components out of remote application programming interface
First Claim
1. A computer-implemented method for generating reusable test components to test software applications including executing instructions recorded on a non-transitory computer-readable storage media using at least one processor, the method comprising:
- accessing an object model relating to at least part of a software application; and
generating at least one test component applicable to test the software application, comprising;
analyzing the object model including retrieving at least two method signatures,generating a meta-description from the object model and storing the meta description in at least one descriptor according to a meta model, wherein the descriptor includes one or more input parameters,generating the test component and a corresponding component implementation based on the descriptor including combining two of the at least two method signatures in the test component, wherein;
the test component defines a facade to the corresponding component implementation and the test component uses one or more of the input parameters to find a child object of an object targeted by the test component, andthe component implementation is stored in at least one shared library, andgenerating a test scenario for the software application by composing generated test components, wherein the test components are reusable for use in different test scenarios.
2 Assignments
0 Petitions
Accused Products
Abstract
In an aspect, the present application relates to a computer-implemented method, computer system, and computer program product for (automatically) generating reusable test components to test software applications. The computer-implemented method for generating reusable test components to test software applications may comprise: accessing an object model relating to at least part of a software application; and generating at least one test component applicable to test the software application, comprising: analyzing the object model, generating a meta-description from the object model and store the meta information in at least one descriptor according to a meta model, and generating the test component and a corresponding component implementation based on the descriptor.
-
Citations
17 Claims
-
1. A computer-implemented method for generating reusable test components to test software applications including executing instructions recorded on a non-transitory computer-readable storage media using at least one processor, the method comprising:
-
accessing an object model relating to at least part of a software application; and generating at least one test component applicable to test the software application, comprising; analyzing the object model including retrieving at least two method signatures, generating a meta-description from the object model and storing the meta description in at least one descriptor according to a meta model, wherein the descriptor includes one or more input parameters, generating the test component and a corresponding component implementation based on the descriptor including combining two of the at least two method signatures in the test component, wherein; the test component defines a facade to the corresponding component implementation and the test component uses one or more of the input parameters to find a child object of an object targeted by the test component, and the component implementation is stored in at least one shared library, and generating a test scenario for the software application by composing generated test components, wherein the test components are reusable for use in different test scenarios. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product comprising computer-readable instructions tangibly embodied on a non-transitory storage media that, when executed, cause at least one processor to perform the actions of:
-
accessing an object model relating to at least part of a software application; and generating at least one test component applicable to test the software application, comprising; analyzing the object model including retrieving at least two method signatures, generating a meta-description from the object model and storing the meta description in at least one descriptor according to a meta model, wherein the descriptor includes one or more input parameters, generating the test component and a corresponding component implementation based on the descriptor including combining two of the at least two method signatures in the test component, wherein; the test component defines a facade to the corresponding component implementation and the test component uses one or more of the input parameters to find a child object of an object targeted by the test component, and the component implementation is stored in at least one shared library, and generating a test scenario for the software application by composing generated test components including user-selected test components from a user interface having a component selection area, wherein the test components are reusable for use in different test scenarios. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system for generating reusable test components to test software applications, the system comprising:
-
a processor; and a test automation tool with a generator, the generator being operable to; access an object model relating to at least a part of a software application; and generate at least one test component applicable to test the software application by; analyzing the object model including retrieving at least two method signatures, generating a meta-description from the object model and storing the meta-description in at least one descriptor according to a meta model, wherein the descriptor includes one or more input parameters, generating the test component and a corresponding component implementation based on the descriptor including combining two of the at least two method signatures in the test component, wherein; the test component defines a facade to the corresponding component implementation and the test component uses one or more of the input parameters to find a child object of an object targeted by the test component, and the component implementation is stored in at least one shared library, and generating a test scenario for the software application by composing generated test components including user-selected test components from a user interface having a component selection area, wherein the test components are reusable for use in different test scenarios. - View Dependent Claims (14, 15, 16, 17)
-
Specification