Add test data to Tosca Cloud

Test data in Tosca Cloud allows your testers to focus on creating great tests instead of coming up with test data—or fixing hard-coded data in test cases. This topic explains how to get your test data into Tosca Cloud, how to understand test data status, and how to edit your test data.

Get your test data into Tosca Cloud

To use test data in your tests, you need to get your test data into Tosca Cloud. Choose one of the following options:

  • Upload a test data file to Tosca Cloud.

  • Create your test data manually in Tosca Cloud, if you just need a small data set for experimenting or debugging.

The result of uploading a file or manually creating data is a so-called "data set" in Tosca Cloud.

Upload a test data file

Tosca Cloud supports the following file types: CSV, JSON, and Excel. Each test data file can have a maximum size of 2 GB, or 1 million rows. You can upload up to 100 files at once.

To upload your test data file, go to the Test data page and select Upload.

Depending on your file type, there are a few things to keep in mind. Please choose your use case:

Create test data manually

To add a small data sample for experimenting or debugging, follow these steps:

  1. Go to the Test data page, expand the Upload dropdown, and select Add manually.

  2. In the subsequent dialog, define the name of the data set and its first column. Then, select Create.

  3. Use the edit options to finalize your new data set. For example, add cell values or more rows.

Understand test data status

Tosca Cloud displays all data sets on the Test data page.

Each data set gets an additional column, the Status column. The status Used indicates that Tosca Cloud has consumed a particular row during a test run. This test run can be either of the following: 

By default, Tosca Cloud blocks consumed data from being used again. If you're interested in reusing data, check out Reuse test data.

Edit your data set

In addition to creating subsets, you can maintain your data sets with simple edits: 

  • Add a cell value or change an existing value. To do so, simply type into the respective cell.

  • Add a row or column. To do so, use the menu buttons Add row and Add column.

  • Delete a row. To do so, use the row's context menu or—if you want to delete multiple rows—select the respective checkboxes, then select Delete.

  • Delete a column. To do so, use the column's context menu or the column'sdropdown menu.

  • Rename or delete your data set. To do so, hover over the data set name and select the respective option from thedropdown menu.

If you edit a data set that has subsets, Tosca Cloud applies the change to all subsets. For example, if you add a new column to your data set, Tosca Cloud also adds the column to all subsets.

What's next?

You've just created your first data set in Tosca Cloud. Here's what you can do now: