Natural language processing (NLP)-based cross format pre-compiler for test automation
AssigneeBank of America Corporation
InventorsDilip Venugopal, Ajay Kumar Pulipati, Vishal Murugesan
Life of this patent
Estimating the term…
Abstract
Various aspects of the disclosure relate to test automation systems with pre-compilers to validate various steps associated with a test script. An artificial intelligence (AI)-based pre-compiler may use natural language processing (NLP) to validate various steps associated with a test script associated with an application. Other aspects of this disclosure relate to automated encryption and mocking of test input data associated with test scripts.
Claims20
A system for pre-compilation and execution of test scripts in a test automation pipeline, the system comprising:
- a user computing device configured to submit, via a source code collaboration system and to a test automation platform, a test script associated with an application, wherein the test script associated with the application comprises an ordered sequence of a plurality of steps for testing the application;
- and
- the test automation platform communicatively coupled to the user computing device, the test automation platform comprising:
- at least one processor;
- and
- a memory storing computer-readable instructions that, when executed by the at least one processor, cause the test automation platform to:
- receive, from the user computing device, the test script associated with the application;
- evaluate, prior to compilation of the test script associated with the application and using a natural language processing (NLP)-based evaluation module, the test script associated with the application, wherein the evaluating comprises:
- determining whether the plurality of steps of the test script associated with the application are in a valid order, and
- determining whether any steps are missing from the plurality of steps of the test script associated with the application;
- based on a successful evaluation of the test script associated with the application:
- add the test script associated with the application to a source code repository corresponding to the test automation pipeline;
- and
- compile the test script associated with the application in the source code repository corresponding to the test automation pipeline;
- execute, based on a trigger and for testing the application, the test script associated with the application;
- and
- send, based on the execution of the test script associated with the application, a test report for testing the application, wherein the test report is based on a comparison between:
- an expected outcome for testing the application based on the execution of the test script associated with the application, and
- an actual outcome for testing the application based on the execution of the test script associated with the application.
A system for pre-compilation of test scripts in a test automation pipeline, the system comprising:
- a user computing device configured to submit, via a source code collaboration system and to a test automation platform, a test script associated with an application, wherein the test script associated with the application comprises an ordered sequence of a plurality of steps for testing the application;
- and
- the test automation platform communicatively coupled to the user computing device, the test automation platform comprising:
- at least one processor;
- and
- a memory storing computer-readable instructions that, when executed by the at least one processor, cause the test automation platform to:
- receive, from the user computing device, the test script associated with the application;
- evaluate, prior to compilation of the test script associated with the application and using a natural language processing (NLP)-based evaluation module, the test script associated with the application, wherein the evaluating comprises:
- predicting, based on one or more previous steps of the plurality of steps of the test script associated with the application, a predicted next step of the plurality of steps of the test script associated with the application;
- comparing the predicted next step of the plurality of steps of the test script associated with the application with a step of the plurality of steps of the test script associated with the application following the one or more previous steps of the plurality of steps of the test script associated with the application;
- and
- determining, based on the predicted next step of the plurality of steps of the test script associated with the application not being the same as the step of the plurality of steps of the test script associated with the application following the one or more previous steps of the plurality of steps of the test script associated with the application, a pre-compilation error for the test script associated with the application;
- send a notification to the user computing device, wherein the notification indicates the pre-compilation error for the test script associated with the application;
- and
- in response to rectifying the pre-compilation error for the test script associated with the application, add the test script associated with the application to a source code repository corresponding to the test automation pipeline, wherein adding the test script associated with the application to the source code repository corresponding to the test automation pipeline comprises replacing the step of the plurality of steps of the test script associated with the application following the one or more previous steps of the plurality of steps of the test script associated with the application with the predicted next step of the plurality of steps of the test script associated with the application.
A method for pre-compilation and execution of test scripts in a test automation pipeline, the method comprising:
- receiving, from a user computing device, the test script associated with an application, wherein the test script associated with the application comprises an ordered sequence of a plurality of steps for testing the application;
- evaluating, prior to compilation of the test script associated with the application and using a natural language processing (NLP)-based evaluation module, the test script associated with the application, wherein the evaluating comprises:
- determining whether the plurality of steps of the test script associated with the application are in a valid order, and
- determining whether any steps are missing from the plurality of steps of the test script associated with the application;
- based on a successful evaluation of the test script associated with the application:
- adding the test script associated with the application to a source code repository corresponding to the test automation pipeline;
- and
- compiling the test script associated with the application in the source code repository corresponding to the test automation pipeline;
- executing, based on a trigger and for testing the application, the test script associated with the application;
- and
- sending, based on the execution of the test script associated with the application, a test report for testing the application, wherein the test report is based on a comparison between:
- an expected outcome for testing the application based on the execution of the test script associated with the application, and
- an actual outcome for testing the application based on the execution of the test script associated with the application.
Dependencies are inferred from the claim text.