Does the Log field write out on any other the reports for Assertions
search cancel

Does the Log field write out on any other the reports for Assertions

book

Article ID: 258430

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How do we get the Log field value of an assertion to display on a report?

Environment

All supported DevTest releases.

Cause

N/A

Resolution

Yes, this Log value will show in the Event Description of the Step in the Test Execution Detail report.

For example this subprocess gets called from test case "main_all_should_fail" and it has an assertion in it:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=caND8EbbAXVOwHcBYLu53Q==

There is a value of Log that is "User was not added".

If you then go the the Test Execution Detail is shows that message in the first part of the Event Description of that event:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=6qvJijIbaATuAZ2dK7In7Q==

So if you want a different value then you can change the Assertion to display want you want.