Work with TestCase-Design

The Tosca TestCase-Design section is an AddIn that enables you to put your test cases into a logical structure, and provides an overview of which test cases you need to cover the Requirements you have defined. TestCase-Design allows you to plan and specify your test cases wisely in order to maximize test coverage and reduce effort and redundancy later on.

Use the TestCase-Design section to do the following:

  • Use TestSheets to create all combinations of possible TestCases that are required to ensure full test coverage

  • Work with Classes to reduce the number of TestCases needed

  • Use Instances to define concrete values for specific TestSheets, TestCase-Design Attributes, or TestCase-Design Classes

  • Create TestCases and TestCase Templates

  • Assign TestSheets to TestCase Templates to instantiate TestCases for execution

Install the TestCase-Design AddIn

The Tosca TestCase-Design AddIn is installed by default as part of a complete Tricentis Tosca installation. Therefore, you need a valid license to be able to work with the Tosca TestCase-Design section.

The directory %COMMANDER_HOME% contains the relevant TestCaseDesign.dll file.

Activate/deactivate the TestCase-Design AddIn

You can enable or disable the TestCase-Design AddIn via the Tosca Commander Options dialog under Project->Options-> TestCase-Design. The TestCase-Design AddIn is enabled by default. If you disable it, Tosca Commander does not obtain a license for the TestCase-Design AddIn during start up, so the TestCase-Design AddIn starts in read-only mode. This means that you can see any TestSheets that have previously been created, but you cannot make any modifications to them.

Restart Tosca Commander for your changes to take effect.

TestCase-Design objects

The table below lists all objects available in the TestCaseDesign section, and keyboard shortcuts where applicable.

TestCase-Design objects

Icon

Description

Shortcut

Folder

Ctrl + N, Ctrl + F

TestSheet

Ctrl + N, Ctrl + T

Attribute

Ctrl + N, Ctrl + A

Attribute (not business-relevant)

Ctrl +F7

Attribute (Result)

Ctrl +F7

Step

Ctrl + N, Ctrl + S

Instances collection

 

Instance

Ctrl + N, Ctrl + I

Class

Ctrl + N, Ctrl + C

Class reference

Drag & drop

Object hierarchies

There are certain object hierarchies within TestCase-Design. The following gives you an overview of the object hierarchies to help you navigate more effectively:

  • A TestSheet may contain Attributes, Instances, TestSteps and class references.

  • A Class may contain Attributes and Instances.

  • An Attribute may contain further Attributes and Instances.

  • A Step may contain further Steps and Attributes.