posted this on June 08, 2011 13:50
This guide explains how to use Data Sets within Janova.
The same set of acceptance criteria that will be used for multiple Scenarios.
Create a new Scenario within a Feature in the application you are working on.
Check the Data Sets checkbox just below the Scenario Name header.
Edit the Data Set Names and complete the Variable columns as needed. Variable column names can be changed as necessary by clicking on the column header.
To rename a Variable column simply hover over the column and the popup will appear. You cannot delete a column if it is reference in the Scenario steps. PLEASE NOTE: Once a column is renamed the page must be refreshed in order for the the new variable name to be recognized in the Scenario steps however the changes will NOT be automatically made.
Once finished defining the Data Sets click on the View Steps arrow.
Begin adding steps to build the Scenario. This example uses the Google Search functionality and validation of results.
The first variable, Search, will be for the search box field.
The second variable, Expected Result, will be for the results of the search.
Once the Scenario is completed click Done Adding Steps.
Queue the Scenario.
The pink boxes above the Scenario badge displays that Data Sets are in use for this particular job.
In the Completed test page expand the results to view the final test run with corresponding variable inserted.