Library/Technical Support/Janova 101

How to use Data Sets (Scenario Outlines)

Jackson Ridenour
posted this on June 08, 2011 13:50

Synopsis:

This guide explains how to use Data Sets within Janova.

Applicable to:

The same set of acceptance criteria that will be used for multiple Scenarios.

Prerequisite:

None.

How to: 

  1. Create a new Scenario within a Feature in the application you are working on.
  2. Check the Data Sets checkbox just below the Scenario Name header.
     
    Data_Sets_1.png
  3. Click Save.
  4. 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.
     
    Data_Sets_2.png
     
    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.

    Data_Set_-_column_name_change.png
       
      Data_Sets_3.png
  5. Once finished defining the Data Sets click on the View Steps arrow.
  6. Begin adding steps to build the Scenario.  This example uses the Google Search functionality and validation of results.
  7. The first variable, Search, will be for the search box field.
     
    Data_Sets_4.png
  8. The second variable, Expected Result, will be for the results of the search.
     
    Data_Sets_5.png
  9. Once the Scenario is completed click Done Adding Steps.
  10. Queue the Scenario.
  11. The pink boxes above the Scenario badge displays that Data Sets are in use for this particular job.
     
    Data_set_-_test_queue.png
  12. In the Completed test page expand the results to view the final test run with corresponding variable inserted.
     
    Data_set_-_test_completed.png
 
Topic is closed for comments