Method and apparatus for generating automated test case scripts from natural language test cases
First Claim
Patent Images
1. A computer-implemented method comprising:
- receiving, with a computing system from a user, a natural language test case for testing a software application, wherein the natural language test case is a test case written in a natural language, the test case comprising at least one of a condition, a variable, or a command that is executed by the software application to determine whether the software application is working according to program specifications, the natural language test case comprising a natural language command, wherein the natural language command is written as a user speaks and is distinct from a computer programming command;
parsing the natural language command of the received natural language test case to locate one or more search terms used to search for a corresponding term associated with an automated testing script command;
causing a search of a testing framework system to be performed for the automated testing script command, wherein the one or more search terms are used to search at least one of an index or a document to locate the corresponding term associated with the automated testing script command, wherein the corresponding term is distinct from the automated testing script command and used to locate the automated testing script command; and
generating an automated test case script that corresponds to the natural language test case based on a result of the search, wherein the automated test case script comprises the automated test script command.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for generating automated test case scripts from natural language test cases is described. The method may include receiving a natural language test case for testing a software application. The method may also include parsing the received natural language test case to locate terms relevant to testing a software application within the natural language test case, selecting one or more of the terms, and causing a search of a testing framework system for automated testing script commands based on the selected terms. The method may also include generating an automated test case script that corresponds to the natural language test case based on results of the search.
120 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, with a computing system from a user, a natural language test case for testing a software application, wherein the natural language test case is a test case written in a natural language, the test case comprising at least one of a condition, a variable, or a command that is executed by the software application to determine whether the software application is working according to program specifications, the natural language test case comprising a natural language command, wherein the natural language command is written as a user speaks and is distinct from a computer programming command; parsing the natural language command of the received natural language test case to locate one or more search terms used to search for a corresponding term associated with an automated testing script command; causing a search of a testing framework system to be performed for the automated testing script command, wherein the one or more search terms are used to search at least one of an index or a document to locate the corresponding term associated with the automated testing script command, wherein the corresponding term is distinct from the automated testing script command and used to locate the automated testing script command; and generating an automated test case script that corresponds to the natural language test case based on a result of the search, wherein the automated test case script comprises the automated test script command. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer readable storage medium including instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
-
receiving from a user a natural language test case for testing a software application, wherein the natural language test case is a test case written in a natural language, the test case comprising at least one of a condition, a variable, or a command that is executed by the software application to determine whether the software application is working according to program specifications, the natural language test case comprising a natural language command, wherein the natural language command is written as a user speaks and is distinct form a computer programming command; parsing the natural language command of the received natural language test case to locate one or more search terms used to search for a corresponding term associated with an automated testing script command; causing a search of a testing framework system to be performed for the automated testing script command, wherein the one or more search terms are used to search at least one of an index or a document to locate the corresponding term associated with the automated testing script command, wherein the corresponding term is distinct from the automated testing script command and used to locate the automated testing script command; and generating an automated test case script that corresponds to the natural language test case based on a result of the search, wherein the automated test case script comprises the automated test script command. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
a memory; and a processing device coupled with the memory to; receive from a user a natural language test case for testing a software application, wherein the natural language test case is a test case written in a natural language, the test case comprising at least one of a condition, a variable, or a command that is executed by the software application to determine whether the software application is working according to program specifications, the natural language test case comprising a natural language command, wherein the natural language command is written as a user speaks and is distinct from a computer programming command; parse the received natural language test case to locate one or more search terms used to search for a corresponding term associated with an automated testing script command; cause a search of a testing framework system to be performed for the automated testing script command, wherein the one or more search terms are used to search at least one of an index or a document to locate the corresponding term associated with the automated testing script command, wherein the corresponding term is distinct from the automated testing script command and used to locate the automated testing script command; and generate an automated test case script that corresponds to the natural language test case based on a result of the search, wherein the automated test case script comprises the automated test script command. - View Dependent Claims (18, 19, 20)
-
Specification