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 executing of test scripts, 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 comprises an ordered sequence of a plurality of steps for testing the application, and
- input test data associated with the plurality of steps;
- and
- the test automation platform communicatively to the user computing device, the test automation platform comprising:
- at least one processor;
- and
- 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 and the input test data;
- prior to compiling the test script:
- evaluate, using a natural language processing (NLP)-based evaluation module, the plurality of steps associated with the test script;
- determine, based on one or more rules, that a first portion and a second portion of the input test data comprises sensitive information;
- and
- based on the determining that the first portion and the second portion of the input test data comprises sensitive information,
- encrypting the first portion of the input test data, and
- mocking the second portion of the input test data, wherein
- the mocking comprises replacing the second portion of the input test data with mock data;
- add, based on successful evaluation of the test script, the test script and modified input test data to a source code repository, wherein the modified input test data comprises the encrypted first portion of the input test data, and the mocked second portion of the input test data;
- compile the test script in the source code repository;
- execute, based on a trigger and for testing the application, the test script, wherein the modified input test data is used as an input for the application;
- and
- send, based on the execution of the test script, a test report, wherein the test report is based on a comparison between:
- expected outcomes based on the execution of the test script, and
- determined outcomes based on execution of the test script.
A method for pre-compilation and execution of test scripts in a test automation pipeline, the method comprising:
- receiving, from a user computing device,
- a test script associated with an application, wherein the test script comprises an ordered sequence of a plurality of steps for testing the application, and
- input test data associated with the plurality of steps;
- prior to compiling the test script:
- evaluating, using a natural language processing (NLP)-based evaluation module, the plurality of steps associated with the test script;
- determining, based on one or more rules, that at least a portion of the input test data comprises sensitive information;
- and
- encrypting, based on the determining that the input test data comprises sensitive information, the at least the portion of the input test data to generate modified input test data;
- adding, based on successful evaluation of the test script, the test script and the modified input test data to a source code repository;
- compiling the test script in the source code repository;
- executing, based on a trigger and for testing the application, the test script, wherein the modified input test data is used as an input for the application;
- and
- sending, based on the execution of the test script, a test report, wherein the test report is based on a comparison between:
- expected outcomes based on the execution of the test script, and
- determined outcomes based on execution of the test script.
A method for pre-compilation and execution of test scripts in a test automation pipeline, the method comprising:
- receiving, from a user computing device,
- a test script associated with an application, wherein the test script comprises an ordered sequence of a plurality of steps for testing the application, and
- input test data associated with the plurality of steps;
- prior to compiling the test script:
- evaluating, using a natural language processing (NLP)-based evaluation module, the plurality of steps associated with the test script;
- determining, based on one or more rules, that at least a portion of the input test data comprises sensitive information;
- and
- mocking, based on the determining that the input test data comprises sensitive information, the at least the portion of the input test data to generate modified input test data, wherein the mocking comprises replacing the at least the portion of the input test data with mock data;
- adding, based on successful evaluation of the test script, the test script and the modified input test data to a source code repository;
- compiling the test script in the source code repository;
- executing, based on a trigger and for testing the application, the test script, wherein the modified input test data is used as an input for the application;
- and
- sending, based on the execution of the test script, a test report, wherein the test report is based on a comparison between:
- expected outcomes based on the execution of the test script, and
- determined outcomes based on execution of the test script.
Dependencies are inferred from the claim text.