You are on page 1of 3

How to use JWRAP Author:Ramesh Ramani Email:Ramesh.ramani@yahoo.

com
Introduction:

JWRAP is the wrapper for Jenny. jenny is a time tested tool for generating regression tests. Any time exhaustive testing loo
due to the combinatorial explosion of features interactions to be tested, consider using jenny. It will cover most of the inte
with far fewer test cases. It can guarantee pair wise testing of all features that can be used together, and it can avoid thos
combinations that cannot.
Jenny can be downloaded from http://burtleburtle.net/bob/math/jenny.html
Advantage of jenny compare to other Tools

Has various option that are available in Commercially available tools Some of Them are:
1.Jenny can not only generate (2 pairs). It can generate 3 (triplets) and 4 (quadruplets).. etc
2.Can seed a Random number to get different set of test case
3.Very importantly we can specify exclude conditions with out affecting the combinations
Why need wrapper:

jenny is one of the best functionally rich freeware. Unfortunately the input that should be provided to the tool and the out
generated from the tool is not very easy to understand. The JWRAP interprets the human understandable table to Jenny un
format and brings back the result in human understandable table.
Installation Procedure
Create a directory with the name "Jenny" under C:
unzip the files under the folder
Note: jenny is a DOS based tool so its advisable to run the tool under c: with directory that does not have space
How to use the excel sheet
Using Template
Use the template that is available in the .zip file
Sheets "INPUT","OPTIONS","RESULT" are must
Once you have filled the input and options sheet use engine to generate the result
To fill the sheets follow the instructions given in the template sheet
Fill the heading of the column in row 1
Fill the values from row 2
Fill the kind of tuple you want to generate in OPTIONS sheet (2-pairs, 3-triplets and 4-quadruplets)
Using Engine
When you open engine excel sheet please enable the Macro
Go to PROCESS sheet
Click on Browse button select the excel template file to process
Click on generate cases button to generate the cases
Using filters
You can specify a filter using specific background color (use fill colors)
use different color for each filter
Fill the same color for the combinations you want to avoid
for simple example please see sample1.xls
you can add 15 filters using 15 different colors

If you want to associate same cell with multiple filters please add the same value again and add second filter please refer s
We can repeat the same values for 5 times.
Don'ts
Don’t rename the sheet name
Don’t edit the macro
Cut option is disabled, protect formulas, please don’t take any other shot cuts to cut values in cells
The file is locked to keep the setting intact, please don’t unlock the sheets
Change History:
27-Mar-2006-Change the function copy and paste to template to avoid switching between the windows
28-Mar-2006- Changed the Tuple from 2-5 to 1-5 so that bare minimal combinations can be achived
04-May-2006-Changed the logic for creating the conditions and dimension (to fix the bug in creating the second condition fo
parameter in the next row
04-May-2006-Added the dynamic wait time mechanisam to help the slow process system to generate the output file
12-june-2006-Removed the color coding in the result screen as it is confusing the users
10-Jan-2007- Changed the array size of color array to 50 from 15 to accommodate more conditions, also changed the for loo
all the combinations to find duplicate values
06-jan-2009- fixed some of the minor bug fixes in selecting multiple colors
Browse
Path for Excel file:

Generate Cases

You might also like