Request pre-execution approval

Pre-execution approval is an automated process to request and grant approval for TestCases. It's a vital tool to safeguard your test environment, and it speeds up your governance processes.

This topic explains how to send and withdraw approval requests in Tosca. We also have some tips on how to track your progress.

Before you start

If you haven't yet, familiarize yourself with the approval process.

And remember: you can only send TestCases for approval. Pre-execution approval doesn't include TestCase-related objects such as TestCase Templates, Business TestCases, Modules, or ExecutionLists.

Request approval

Your TestCase is as good as you can make it, and you want to execute it. Time to get your TestCase approved! Once you send your approval request, Tosca changes the TestCaseWorkState to IN_WORK and removes your edit rights to the TestCase.

To request approval, follow these steps:

  1. Select one or more TestCases that you want to get approved, then select Request approval from the context menu.

  2. In the subsequent dialog, enter the name of the user group that has your approvers and select OK.

  3. If you use the integrated version of pre-execution approval, you need to perform an additional step:

    • If the TestCase isn't linked to qTest yet, link it.

    • If the TestCase is already linked to qTest, update the link.

  4. Check in.

  5. If you use the integrated version of pre-execution approval, switch to qTest and route the approval to VERA. For detailed information, see the qTest online help.

Withdraw an approval request

If you sent off that approval request too soon, a Tosca Commander admin user can withdraw the request for you. Withdrawing a request sets the TestCaseWorkState back to PLANNED. The edit rights revert back to you, so you can perfect your TestCase.

To withdraw an approval request, ask an admin user to follow these steps:

  1. Select the TestCase(s) that you want to take back, then select Withdraw approval request from the context menu.

  2. If you use the integrated version of pre-execution approval, update the qTest link.

  3. Check in.

Keep track of your progress

The TestCaseWorkState lets you know where your TestCase stands in the approval process. To find out about a specific TestCase, check its TestCaseWorkState in the Properties pane.

In bigger projects, checking TestCases one by one might not be feasible. To speed up the process, we recommend the following solutions:

  • Bookmark important TestCases and organize your bookmarks in folders: TestCases you're working on, TestCases you sent for approval, etc.

  • Use Tosca's TQL search. To find all TestCases with the state PLANNED, enter =>SUBPARTS:TestCase[TestCaseWorkState=="PLANNED"]. You can run the search on the entire project or on specific folders. Replace PLANNED with IN_WORK or COMPLETED to look for TestCases with these states.

What's next

Your TestCase got approved. Success! Set up the execution of your tests.