Apply the core concepts learnt so far to build your first DesignWise model from Parameters to Scenarios.
First, click the “New Test Model” button in the top left of your home page
Next, follow the prompts…
-
Add a model name.
-
Depending upon where you would you like your new model to be saved, as appropriate:
-
- Select an existing project from the drop down menu,
- Create a new project, or alternatively…
- Use the default “None (private).”
-
-
Optionally, (if you already have a set of test inputs created in Excel or a mind map), select Choose File to import the file.
-
Click the Create.
Enter Parameters and Values
All DesignWise models have Parameters and Values which are entered on the “Parameters” screen. To enter them, follow these steps.
-
Click New Parameter
-
Type or Select a Parameter Name. (Parameter Values may be edited on this screen, as well.)
-
Click on Create, “rinse and repeat” until you are ready to click on the Scenarios button.
If you are wondering which Parameters and Values to enter into your model, do not be discouraged! It is a little tricky for almost all new users. You might find these 3 sources of information helpful to get started:
- View some sample models to get ideas about typical kinds of inputs that go into DesignWise.
- “Start with a Verb and Noun” and ask “reporter questions” (who, what, when, where, why, how how many).
- Check out the “How can I best identify variation in the system I’m testing?” help file.
Also keep in mind that you usually should not include Parameters for every single field in your System Under Test. You’ll need to think about how the System Under Test works to appropriately identify a good set of test inputs for your model. Include Parameters and Values if they should (or logically might) impact how your System Under Test operates (either by themselves or when they interact with other Values in your System Under Test). For example:
- If the system works exactly the same whether someone’s name is Jim Green or Susan Smith, you may well want to leave “First Name” and “Last Name” out of your DesignWise variation ideas.
- If the gender of users would impact how the system works, you would probably want to include “Gender” as a Parameter (with male and female as the sample Values).
Click Scenarios and wait a moment for your scientifically-prioritized suite to appear
- The default coverage strength is 2-way (“pairwise,” or “all pairs”).
For more information, please see the help documentation about “what is pairwise testing?”. You can also select different coverage strengths (3-way combinatorial testing coverage, 4-way, 5-way, and 6-way).
- DesignWise generates the smallest possible number of scenarios* to meet your coverage objectives.
*We used the word “scenarios” fairly loosely here. They are actually sets of optimized test conditions at this point. The first set of test conditions should be executed in your first test script, and so on.
You can then export this set as CSV and assign it to the Ranorex script as the data source.
You can also use the other features of DesignWise (including Forced Interactions and Scripting) to transform these “bare bones” test scenarios into comprehensive, fully-stepped-out test scripts with detailed tester instructions, Expected Results, and requirements traceability notes. These detailed test scripts can even be automatically formatted for importing into, e.g., customized versions of Xray or TestRail that your company uses.