Build test sheets

Test sheets are a core component of all test case design solutions. A test sheet represents the basic test framework for a particular user journey or process through your application. It defines the elements you want to test and all their possible values.

This topic explains how to work with both types of test sheets:

Before you start

To work with test sheets, you must be an administrator or contributor.

Open a test sheet

The location of your test sheets depends on your chosen test case design solution

  • To open a test sheet that's the result of a business flow, select the corresponding path in the Paths panel of your business flow. Then, select Edit test sheet.

  • To open a standalone test sheet, go to Prepare > Test sheets and select it from the list.

Understand your test sheet

Your chosen test case design solution determines the contents of your test sheet. There are differences between the two.

Please choose your use case: 

Build a test sheet

Your chosen test case design solution determines how you build your test sheets.

Please choose your use case:

Nest attributes

Both test case design solutions support nested attributes in test sheets. You can nest attributes, for example, if you want to group attributes by requirements or other criteria.

To add a child attribute to an existing attribute in your test sheet, select the respective attribute. Then, select Add attribute.

Mapping for process-based test case design

If you use process-based test case design and you nest attributes, then you have to do some manual mapping. When you nest attributes, you'll have the following:

  • Attributes that are merely structural. These are the parent attributes that contain child attributes.

  • Attributes with instances. These are the attributes where you define all allowed input values.

You need to map the attributes with instances to business parameters. This tells Tosca Cloud which control in the respective reusable test step belongs to which attribute. To map, go back to the business flow and open the activity's details pane. In the Link automation tab, perform the mapping.

Use nesting to map functional dependencies

This functionality is available for template-based test case design.

Some attributes depend on the value of another attribute. Let's say you have an attribute called Country with the attribute instances Austria, Czech Republic, and Japan.

Country also has child attributes:

  • Child attribute Country code has the attribute instances AT, CZ, and JP.

  • Child attribute Member of EU has the attribute instances Yes and No.

Nested attributes

The values of these child attributes depend on the selected country. For example, for Japan, the corresponding values are JP for Country code and No for Member of EU.

You can map these dependencies in your test sheet. Without this mapping, Tosca Cloud treats each attribute independently. As a result, it may combine values that don't belong together when you generate your test case instances. For example, it could combine Austria with the country code JP or No for Member of EU.

To map these dependencies, follow these steps:

  1. Select the parent attribute in the attribute tree.

  2. Tosca Cloud displays one column for each attribute instance of the parent attribute. For each child attribute, select the corresponding attribute instance in each column.

Mapped dependencies in a test sheet

Define the straight through

The straight through is the most frequently used way that users complete a path. As a result, it's also the one with the highest risk.

To mark an attribute instance as part of the straight through, select More actions in the row of this instance. Then, select Set straight-through. This ensures that Tosca Cloud includes this critical combination in your test case instances.

You can also mark multiple instances of the same attribute as part of the straight through. For example, for regulatory or documentation purposes.

What's next

Once you've built your test sheet, you can move on to the next step: