Automated Framework For Dynamically Creating Test Scripts for Software Testing
First Claim
1. A computer program product, comprising a storage medium having a computer readable program code embodied therein, said computer readable program code being adapted to execute a method for dynamically creating test scripts for software testing, said method comprising:
- selecting one or more reference scripts to create a selected script set;
selecting one or more parameters for use with said selected script set to create a selected parameter set;
generating permutations of said selected script set based upon said selected script set and said selected parameter set;
generating permutation test scripts for each of the generated permutations, wherein a plurality of the generated permutation test scripts, include test code, a dynamic variable, and variable values for the dynamic variable amongst the plurality of the generated permutation test scripts; and
executing at least one of the plurality of generated permutation test scripts.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product and method for dynamically creating test scripts for software testing. The method includes selecting one or more reference scripts to create a selected script set, selecting one or more parameters to create a selected parameter set, generating permutations of the selected script set based upon the selected script set and the selected parameter set, and generating permutation test scripts for each of the generated permutations which include test code, a dynamic variable, and varying values for the dynamic variable amongst the permutation test scripts. Depending upon the scope of the parameters, the generation of permutations uses variations of an n-ary Cartesian product to determine the permutations and varying content of the generated permutation test scripts.
43 Citations
19 Claims
-
1. A computer program product, comprising a storage medium having a computer readable program code embodied therein, said computer readable program code being adapted to execute a method for dynamically creating test scripts for software testing, said method comprising:
-
selecting one or more reference scripts to create a selected script set; selecting one or more parameters for use with said selected script set to create a selected parameter set; generating permutations of said selected script set based upon said selected script set and said selected parameter set; generating permutation test scripts for each of the generated permutations, wherein a plurality of the generated permutation test scripts, include test code, a dynamic variable, and variable values for the dynamic variable amongst the plurality of the generated permutation test scripts; and executing at least one of the plurality of generated permutation test scripts. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product, comprising a storage medium having a computer readable program code embodied therein, said computer readable program code being adapted to execute a method for dynamically creating test scripts for software testing, said method comprising:
-
selecting one or more reference scripts from scripts stored in a script repository to create a selected script set; selecting one or more parameters for use with said selected script set to create a selected parameter set; using a formula to generate permutations of said selected script set based upon said selected script set and said selected parameter set, wherein said formula includes at least an n-ary Cartesian product based upon the selected script set and the selected parameter set; using a relational algebra operation to generate a plurality of permutation test scripts including test code, a dynamic variable, and variable values for the dynamic variable amongst the plurality of the generated permutation test scripts; executing at least one of said permutation test scripts; aggregating results of said executed permutation test scripts to create an aggregated result set; and displaying said aggregated result set to a user. - View Dependent Claims (10, 11)
-
-
12. A method for dynamically creating test scripts for software testing, said method comprising:
-
selecting one or more reference scripts to create a selected script set; selecting one or more parameters for use with said selected script set to create a selected parameter set; generating permutations of said selected script set based upon said selected script set and said selected parameter set; generating permutation test scripts for each of the generated permutations, wherein a plurality of the generated permutation test scripts, include test code, a dynamic variable, and variable values for the dynamic variable amongst the plurality of the generated permutation test scripts; and executing at least one of the plurality of generated permutation test scripts. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
Specification