Show Test Runs results on the Risksheet

Modified on Wed, 23 Jul at 1:14 PM

Starting with Risksheet version 23.10.5, a new improvement to support $testManagementService was added, enabling the ability to display Test Run results directly within the Risksheet.




TABLE OF CONTENTS


Configuration

Configure the column for the Test Results in the following way.

 {
         "headerGroup":"Mitigations",
         "headerGroupCss":"headMitigations",
         "headerCss":"headMitigations",
         "header": "Test Result",
         "bindings": "task.$item",
         "minWidth": 170    ,
        "serverRender":"#macro(getLastTestRecord $item)#set( $testRecords = $testManagementService.getLastTestRecords($item.getOldApi(), 1) ) #foreach ($iRecord in $testRecords)#set($testRun = $transaction.testRuns().getBy().oldApiObject($iRecord.getTestRun()))$iRecord.getTestRun().getId() - $iRecord.getResult().name , #end#end #getLastTestRecord($item)"
      }

For any assistance, please don’t hesitate to reach out by submitting a ticket here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article