System and method for generating source code-based test cases
First Claim
1. A method executed by one or more computers for generating source code-based test cases for a remote application requiring a plurality of users'"'"' actions, the method comprising:
- storing a table including the users'"'"' action required by the remote application and corresponding source code fragments, respectively, the user'"'"'s actions representing actual steps a user would take when interacting with the remote application;
recording a user'"'"'s actions in the remote application by a test tool, when the user is interacting with the remote application;
accessing the table to locate corresponding source code fragments for the recorded user'"'"'s actions;
retrieving the corresponding source code fragments to generate source code-based test cases, which emulate said recorded user'"'"'s actions in the remote application;
compiling the source code-based test cases; and
executing the compiled source code-based test cases outside of the test tool to test the remote application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for generating source code-based test cases for a remote application. The method and system include storing a table including mapping between user-inputs and a corresponding source code fragment; recording user'"'"'s actions in the remote application by a test tool; accessing the table to locate corresponding source code fragments for the recorded user'"'"'s actions; retrieving the corresponding source code fragments to generate source code-based test cases; compiling the source code-based test cases; and executing the compiled source code-based test cases outside of the test tool.
56 Citations
13 Claims
-
1. A method executed by one or more computers for generating source code-based test cases for a remote application requiring a plurality of users'"'"' actions, the method comprising:
-
storing a table including the users'"'"' action required by the remote application and corresponding source code fragments, respectively, the user'"'"'s actions representing actual steps a user would take when interacting with the remote application; recording a user'"'"'s actions in the remote application by a test tool, when the user is interacting with the remote application; accessing the table to locate corresponding source code fragments for the recorded user'"'"'s actions; retrieving the corresponding source code fragments to generate source code-based test cases, which emulate said recorded user'"'"'s actions in the remote application; compiling the source code-based test cases; and executing the compiled source code-based test cases outside of the test tool to test the remote application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for generating source code-based test cases for a remote application requiring a plurality of users'"'"' actions, comprising:
-
a memory for storing a table including the users'"'"' action required by the remote application and corresponding source code fragments, respectively, the user'"'"'s actions representing actual steps a user would take when interacting with the remote application; a first computer for executing a test tool for recording user'"'"'s actions in the remote application, when the user is interacting with the remote application; a second computer for accessing the table to locate corresponding source code fragments for the recorded user'"'"'s actions, for retrieving the corresponding source code fragments to generate source code-based test cases, which emulate said recorded user'"'"'s actions in the remote application, and for compiling the source code-based test cases; and a third computer for executing the compiled source code-based test cases outside of the test tool. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification