Run tests in the ScratchBook

The ScratchBook allows you to perform trial runs of your TestCases. You can combine and run the following objects: individual TestSteps, TestCases or TestCase folders. This is particularly helpful when you build a new TestCase or want to examine elements of a failing TestCase.

However, unlike with ExecutionLists, Tosca Commander does not save the structure you create in the ScratchBook, nor does it store the results.

If you want to run tests in the ScratchBook, the following options are available:

If you run test objects created with Classic Engines, the ScratchBook generates a TestSet.

Add and arrange objects in the ScratchBook

To add objects to the ScratchBook, follow the steps below:

  1. Open the ScratchBook via Home->Scratchbook, or press Ctrl + B.

  2. Drag and drop objects into the ScratchBook window. To change the sequence of your ScratchBook entries, move them via drag and drop.

TestStep Select "Automobile" added to the ScratchBook

You can delete any entry by pressing Del. If you want to remove all entries from the ScratchBook, right-click the root element and select Clear entries from the context menu.

Option Clear entries in the root element context menu

To run your ScratchBook entries, press F6.

Alternatively, you can right-click the root element or a test object and select Run from the context menu.

Test configuration parameters in ScratchBook

The tab Test configuration displays all test configuration parameters you created for your test objects in Tosca Commander. You can also create test configuration parameters in the ScratchBook.

To create a parameter for a test object, right-click the test object in the ScratchBook and select Create Test configuration parameter from the mini toolbar.

If you want to create a parameter for all ScratchBook entries, right-click the root element and select Create Test configuration parameter from the mini toolbar.

Parameters you create in the ScratchBook are not transferred to Tosca Commander.

Run objects immediately

To run a particular object in the ScratchBook, right-click the object and select Run in ScratchBook from the context menu, or press F6.

Run TestCase folder Buffer in ScratchBook

Tricentis Tosca immediately starts the execution of the selected object.

View results

Once execution is finished, the Loginfo column in the ScratchBook displays the execution results of all TestSteps.

Results in ScratchBook

You can add columns in the ScratchBook via the Column Chooser. For information on which columns might be relevant to your tests, see chapter "Relevant columns for execution".