Methods for automatically verifying the performance of a virtual robot
First Claim
1. In an automated interface program designed to interact and communicate with users, said program executing actions when a category among a predefined set of categories is activated, a method is disclosed for automatically verifying the performance of said program, the steps of said method comprising:
- (a) defining conditions within categories in the program, each said condition comprising at least one response which could be given if said condition is satisfied;
(b) defining within the program at least one example statement associated with a category, wherein the at least one example statement is indicative of user input to activate the category;
(c) executing said program under said at least one example statement;
(d) determining whether the associated condition is satisfied under said at least one example statement; and
(e) determining whether the response associated with said condition is given under said at least one example statement.
12 Assignments
0 Petitions
Accused Products
Abstract
In an automated interface program designed to interact and communicate with users, said program executing actions when a category among a predefined set of categories is activated, a method is disclosed for automatically verifying the performance of said program, the steps of said method comprising: specifying inputs under which the program should be tested; associating said inputs with conditions within categories in the program, each said condition comprising at least one response which could be given if said condition is satisfied; executing said program under at least one said input; determining whether the associated condition is satisfied upon said input; and determining whether the response associated with said condition is given upon said input. In another aspect of the present invention, the test inputs are embedded within the script itself, and specifically, within categories that can be automatically listed upon compilation of the script. Such list of test inputs can then be automatically executed to test the program. The execution of a test input can be used to check whether the test input activated the category in which the test input is embedded. The response given upon execution of a test input can then determine whether other categories are erroneously activated; or whether inputs, other than the test input, erroneously activate the category associated with the test input.
-
Citations
9 Claims
-
1. In an automated interface program designed to interact and communicate with users, said program executing actions when a category among a predefined set of categories is activated, a method is disclosed for automatically verifying the performance of said program, the steps of said method comprising:
-
(a) defining conditions within categories in the program, each said condition comprising at least one response which could be given if said condition is satisfied;
(b) defining within the program at least one example statement associated with a category, wherein the at least one example statement is indicative of user input to activate the category;
(c) executing said program under said at least one example statement;
(d) determining whether the associated condition is satisfied under said at least one example statement; and
(e) determining whether the response associated with said condition is given under said at least one example statement.
-
-
2. A method of verifying the performance of an automated interface program designed to interact and communicate with users providing user input, the method comprising:
-
(a) defining a plurality of categories, each category having a condition and a response associated with the category, wherein the response is initiated when a user input meets the condition to activate the category;
(b) selecting an example statement from a set of example statements defined within the program, wherein each example statement is indicative of a user input;
(c) executing the program using the selected example statement as the user input;
(d) determining whether a category is activated by the selected example statement;
(e) determining whether a response is produced by the selected example statement; and
(f) verifying the program based on the determinations of (d) and (e). - View Dependent Claims (3, 4, 5)
identifying a correct output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement, and a response associated with the category activated by the selected example statement is the only response produced.
-
-
4. The method of claim 2, wherein verifying the program comprises:
-
identifying an error output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement, and a response associated with a category other than the category activated by the selected example statement is produced.
-
-
5. The method of claim 2, wherein verifying the program comprises:
-
identifying an error output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement; and
no response is produced.
-
-
6. A computer-readable storage medium containing computer executable code to verify the performance of an automated interface program designed to interact and communicate with users providing user input by instructing a computer to operate as follows:
-
(a) defining a plurality of categories, each category having a condition and a response associated with the category, wherein the response is initiated when a user input meets the condition to activate the category;
(b) selecting an example statement from a set of example statements defined within the program, wherein each example statement is indicative of a user input;
(c) executing the program using the selected example statement as the user input;
(d) determining whether a category is activated by the selected example statement;
(e) determining whether a response is produced by the selected example statement; and
(f) verifying the program based on the determinations of (d) and (e). - View Dependent Claims (7, 8, 9)
identifying a correct output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement, and a response associated with the category activated by the selected example statement is the only response produced.
-
-
8. The computer-readable storage medium of claim 6, wherein verifying the program comprises:
-
identifying an error output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement, and a response associated with a category other than the category activated by the selected example statement is produced.
-
-
9. The computer-readable storage medium of claim 6, wherein verifying the program comprises:
-
identifying an error output state if;
a category activated by the selected example statement includes an example statement that matches the selected example statement; and
no response is produced.
-
Specification