Abstract: Disclosed herein are a method and system for automatic generation of a test script. The method may include acquiring a plurality of test steps from a database, the plurality of test steps being associated with a test case and including one or more words in natural language. The method may also include identifying, using natural language processing on the plurality of test steps, one or more actions to be performed in a testing process. The method may include generating, based on the identified one or more actions, the test script to perform the plurality of test steps. The method may further include identifying, by performing the natural language processing on the plurality of test steps, an expected test result associated with each test step. The method may additionally include generating, a validation script based on the expected test result associated with each of the plurality of test steps. FIG.1
Claims:WE CLAIM
1. A method for automatic generation of a test script, the method comprising:
acquiring, by a system, a plurality of test steps from a database, the plurality of test steps being associated with a test case and including one or more words in natural language;
identifying, by the system, one or more actions to be performed in a testing process based on the plurality of test steps by using natural language processing;
generating, by the system, the test script based on the identified one or more actions, wherein the test script is executable by one or more processors to perform the plurality of test steps;
identifying, by the system, an expected test result associated with each of the plurality of test steps by performing the natural language processing on the plurality of test steps; and
generating, by the system, a validation script based on the expected test result associated with each of the plurality of test steps, wherein the validation script is executable by the one or more processors to validate whether the expected test result occurred.
2. The method of claim 1, further comprising:
executing, by the system, the test script and the validation script on an application under test.
3. The method of claim 2, further comprising:
determining whether a user interface associated with the application under test is modified; and
updating the test script and the validation script based on the determination.
4. The method of claim 1, wherein identifying the one or more actions to be performed in the testing process includes parsing the one or more words included in the plurality of test steps to identify one or more noun phrases and one or more verb phrases in the plurality of test steps.
5. The method of claim 1, wherein the test script is generated in a test automation framework.
6. The method of claim 1, wherein the natural language processing uses a text processing library.
7. The method of claim 1, wherein the validation script is generated in a test automation framework.
8. The method of claim 1, further comprising providing a user interface for a user to view the test script and set a folder location for storing the test script.
9. A system for automatic generation of a test script, the system comprising:
one or more hardware processors; and
a memory storing instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to perform operations comprising:
acquiring a plurality of test steps from a database, the plurality of test steps being associated with a test case and including one or more words in natural language;
identifying one or more actions to be performed in a testing process based on the plurality of test steps by using natural language processing;
generating the test script based on the identified one or more actions, wherein the test script is executable by the one or more hardware processors to perform the plurality of test steps;
identifying an expected test result associated with each of the plurality of test steps by performing natural language processing on the plurality of test steps; and
generating a validation script based on the expected test result associated with each of the plurality of test steps, wherein the validation script is executable by the one or more hardware processors to validate whether the expected test result occurred.
10. The system of claim 9, wherein the memory stores instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to further perform operations comprising:
executing the test script and validation script on an application under test.
11. The system of claim 10, wherein the memory stores instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to further perform operations comprising:
determining whether a user interface associated with the application under test is modified; and
updating the test script and validation script based on the determination.
12. The system of claim 9, wherein the memory stores instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to identify the one or more actions to be performed in the testing process by further performing operations comprising:
parsing the one or more words included in the plurality of test steps to identify one or more noun phrases and one or more verb phrases in the plurality of test steps.
13. The system of claim 9, wherein the test script is generated in a test automation framework.
14. The system of claim 9, wherein the natural language processing uses a text processing library.
15. The system of claim 9, wherein the validation script is generated in a test automation framework.
16. The system of claim 9, wherein the memory stores instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to further perform operations comprising:
providing a user interface for a user to view the test script and set a folder location for storing the test script.
Dated this 16th day of March, 2017
R Ramya Rao
Of K&S Partners
Agent for the Applicant
, Description:TECHNICAL FIELD
This disclosure relates generally to development of software applications, and more particularly, to method and system for automatic generation of test script for testing of software applications.
| # | Name | Date |
|---|---|---|
| 1 | Power of Attorney [16-03-2017(online)].pdf | 2017-03-16 |
| 2 | Form 5 [16-03-2017(online)].pdf | 2017-03-16 |
| 3 | Form 3 [16-03-2017(online)].pdf | 2017-03-16 |
| 4 | Form 18 [16-03-2017(online)].pdf_150.pdf | 2017-03-16 |
| 5 | Form 18 [16-03-2017(online)].pdf | 2017-03-16 |
| 6 | Form 1 [16-03-2017(online)].pdf | 2017-03-16 |
| 7 | Drawing [16-03-2017(online)].pdf | 2017-03-16 |
| 8 | Description(Complete) [16-03-2017(online)].pdf_149.pdf | 2017-03-16 |
| 9 | Description(Complete) [16-03-2017(online)].pdf | 2017-03-16 |
| 10 | REQUEST FOR CERTIFIED COPY [20-03-2017(online)].pdf | 2017-03-20 |
| 11 | PROOF OF RIGHT [19-06-2017(online)].pdf | 2017-06-19 |
| 12 | Correspondence by Agent_Form30 And Form1_21-06-2017.pdf | 2017-06-21 |
| 13 | 201741009022-RELEVANT DOCUMENTS [22-02-2021(online)].pdf | 2021-02-22 |
| 14 | 201741009022-PETITION UNDER RULE 137 [22-02-2021(online)].pdf | 2021-02-22 |
| 15 | 201741009022-OTHERS [22-02-2021(online)].pdf | 2021-02-22 |
| 16 | 201741009022-Information under section 8(2) [22-02-2021(online)].pdf | 2021-02-22 |
| 17 | 201741009022-FORM 3 [22-02-2021(online)].pdf | 2021-02-22 |
| 18 | 201741009022-FER_SER_REPLY [22-02-2021(online)].pdf | 2021-02-22 |
| 19 | 201741009022-DRAWING [22-02-2021(online)].pdf | 2021-02-22 |
| 20 | 201741009022-CORRESPONDENCE [22-02-2021(online)].pdf | 2021-02-22 |
| 21 | 201741009022-COMPLETE SPECIFICATION [22-02-2021(online)].pdf | 2021-02-22 |
| 22 | 201741009022-CLAIMS [22-02-2021(online)].pdf | 2021-02-22 |
| 23 | 201741009022-ABSTRACT [22-02-2021(online)].pdf | 2021-02-22 |
| 24 | 201741009022-FER.pdf | 2021-10-17 |
| 25 | 201741009022-PA [08-07-2022(online)].pdf | 2022-07-08 |
| 26 | 201741009022-ASSIGNMENT DOCUMENTS [08-07-2022(online)].pdf | 2022-07-08 |
| 27 | 201741009022-8(i)-Substitution-Change Of Applicant - Form 6 [08-07-2022(online)].pdf | 2022-07-08 |
| 28 | 201741009022-US(14)-HearingNotice-(HearingDate-10-11-2022).pdf | 2022-10-21 |
| 29 | 201741009022-Correspondence to notify the Controller [28-10-2022(online)].pdf | 2022-10-28 |
| 1 | SearchStrategy201741009022E_22-05-2020.pdf |