Datasets

Once you have created Parameters, you can create Datasets from combinations of Parameters. Datasets are useful when you need to test large amounts of data that pull information from pairings or groups of Parameters.

For example, suppose you are a QA tester who needs to test ordering a variety of phone case models in each available color. If you have created a Parameter for phone case models and another Parameter for colors, you can create a Dataset that automatically generates combinations of these models and colors, rather than needing to create Test Runs for each model and color combination manually. The Datasets feature can save you time when testing a large variety of data and options.

View, sort, and filter Datasets

  • View Datasets. The Datasets tab is where you can view and manage your existing Datasets.

    To access the Datasets tab, access qTest Parameters, and then click the Datasets tab at the top of the screen.

    By default, the most recently created Datasets appear at the top of the Datasets tab. Basic information is listed for each Dataset, including whether the Dataset is active and the Parameters that are included in the Dataset.

  • Sort Datasets. To sort Datasets, click a column heading. Datasets will arrange in descending order. Click the column heading again to arrange the Datasets in ascending order. For example, click the Name column heading twice to arrange Datasets alphabetically from A to Z.

  • Filter Datasets. You can filter Datasets to display only Datasets that match specified criteria. To filter Datasets, select or make entries in the filter fields, and then click Filter. For example, select Project A in the Project filter and Active in the Status filter to display only Datasets that are active and are associated with Project A.

    ds-filter.png

    The following filter fields are available.

    Filter Description
    Project Click the Project filter to search for and select qTest projects. If a Project is selected, only Datasets associated with that Project will display on the Datasets tab.
    Search Enter a Dataset name to search for that specific Dataset.
    Status Select Active to display only active Datasets. Select Inactive to display only inactive Datasets. Select All to display both active and inactive Datasets.

Create a Dataset

To add Datasets to qTest, you can either manually create Datasets or you can import Datasets. The following procedure can be used to manually create Datasets. For a procedure on importing Datasets, refer to Import Datasets.

Once you have created a Dataset, refer to Use Parameters and Datasets for information on using the Dataset in a Test Case.

To manually create a Dataset:

  1. There are two ways to start creating a Dataset. You can create a Dataset and then select Parameters, or you can select your Parameters ahead of time if you already know which Parameters you want to use.

    A dialog appears, where you can add information for a new Dataset.

  2. On the dialog, enter the following information for the Dataset.

    Field Description
    Dataset Name Enter a name for the Dataset.
    Status

    Select whether the Dataset should be active or inactive. If you are planning on using the Dataset right away, leave the status as Active.

    For more information about setting the status of a Dataset, refer to Delete, activate, or deactivate Datasets.

    Description (Optional) Enter a description for the Dataset.
  3. Next, select the Parameters to use for the Dataset. If you have already selected Parameters, proceed to step 5.

    To select a Parameter, click the Select Parameter field. A list appears, where you can select from available Parameters. You can also search for a Parameter in the list by typing the Parameter name.

    You can only select Parameters that have been associated with qTest Manager Projects. For information on creating Parameters and associating them with qTest Projects, refer to Parameters.

  4. Add additional Parameters as needed by clicking the Click to add new column icon . A new column will appear, where you can repeat step 4 to select an additional Parameter.

    You can add up to 25 Parameter columns to a Dataset.
  5. Next, select the values to use for each Parameter in the Dataset. There are multiple ways to add values.

  6. Once you have added values, you will need to associate the Dataset to a qTest Project. Associating a Dataset to specific Projects is helpful if you are working on multiple Projects in qTest or if you will have several Projects in the future. If Datasets are not assigned to any Project, they can be difficult to trace for later use.

    By default, the Dataset will be associated with all of your qTest Projects. To change the Project associated with the Dataset, click the Projects tab. Then click the Project button, which will display a list where you can select the Projects that the Dataset should be associated with. Click OK to save your selections.

  7. On the dialog, click Save to save the new Dataset.

Edit a Dataset

You can modify an existing Dataset, if needed, including the Dataset name, status, description, Parameters, and values.

To edit an existing Dataset:

  1. In the Name column on the Datasets tab, click the name of the Dataset that you want to edit.

    A dialog appears, where you can edit the Dataset information.

  2. Edit the existing information, as needed.

    Option Action
    Delete an individual row of values

    Click the Remove icon for that row.

    Delete all values Click the Clear Data button, and then select the Clear Values option button to clear all of the values from the Dataset.
    Delete all values and all Parameters Click the Clear Data button, and then select the Reset Table option button to clear all Parameters and values from the Dataset.

    For information about the remaining fields and options on this dialog, refer to Create a Dataset.

  3. On the dialog, click Save to save your changes.

Delete, activate, or deactivate Datasets

It may be the case that some Datasets may not be useful for the time being but may be useful at some later point for an upcoming Project. You can change the status of a Dataset to activate or deactivate the Dataset, as needed. You can also delete a Dataset if it is no longer needed.

Before deactivating or deleting a Dataset, verify that it is not being used in any Test Case.

You can delete, activate, or deactivate an individual Dataset multiple Datasets at once.

  • To delete, activate, or deactivate an individual Dataset, click the Action icon for the Dataset. On the menu that appears, select the appropriate option.

  • To delete activate, or deactivate multiple Datasets, select the check boxes for the Datasets that you want to modify. Then click the Actions button. On the menu that appears, select the appropriate option.

    delete-deactivate-a-ds.png

Related Topics

Parameters Quick Start Guide
Use Parameters and Datasets
Import Datasets
Parameters