Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Tuesday 20 June 2023

Test Mandates in Tosca

The Execution section contains the following important items:

  1. ExecutionLists
  2. BusinessExecutionLists
  3. ExploratoryTesting
  4. TestMandates
  5. Configurations(Multiuser environment)
  6. TestEvents (multiuser environment)

Configurations and TestEvents are available in multiuser environments and are used for running ExecutionLists with distributed execution.

Test Mandates in Tosca

The test mandate allows to execute different parts of execution list parallelly with out locking the main execution list.

In a multiuser workspace, several testers should be able to execute the same tests simultaneously. They should also be able to execute these tests independently, so as to not overwrite other testers' results. Here each tester creates a TestMandate in their own workspace and links it to a test object:

  • ExecutionList folders

  • ExecutionLists

  • ExecutionEntry folders

  • ExecutionEntries

Once testers have done so, they execute the TestMandate and not the original test object. Tosca Commander then writes the results to the ActualLog of the TestMandate and the ActualLog of the test object.

The ActualLog of the test object consolidates the results of all linked TestMandates once testers checkin their workspace.

NOTE Once you have created a TestMandate and linked it to a test object, you no longer have to checkout the test object to execute it.


Creating TestMandates

To create a TestMandate, right-click an  ExecutionLists folder and select Create TestMandate from the mini toolbar.



To delete a TestMandate, select the respective TestMandate and press the Delete key.

Link test objects to a TestMandate

To link our test object to a TestMandate, drag and drop the respective test object onto theTestMandate.

Tosca Commander performs the following actions:

  • It marks the ActualLog of the test object with a blue arrow to indicate a linked TestMandate.

  • It creates a copy of the test object in the TestMandate.



When we execute our TestMandate, the ExecutionLogs of the linked test object also show the blue arrow:


We can jump from an ExecutionEntry of the test object to the corresponding ExecutionEntry of the TestMandate.

To do so, right-click the test object ExecutionEntry and select Jump to TestMandateEntry from the context menu.

Configure the results view

If you have a folder that contains several TestMandates, you can configure Tosca Commander to display the accumulated results of all TestMandates on the parent folder level.

To do so, set the TestMandate property IncludeForAccumulation to True for all TestMandates whose results you want to include.




Delete the link between test object and TestMandate

If we no longer want to transfer results to the ActualLog of the test object, but you want to keep the TestMandate, you can disable the link between the two.

To delete the link between TestMandate and test object, right-click the ActualLog of the test object and select Clear AutoMerge-List from the context menu.



No comments:

Post a Comment

Note: only a member of this blog may post a comment.