In this case it is a CSV file which contains trace information of our app. We would like to add this file to the test result in case of an error, so that the developers have more information to reproduce the error.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"repliesCount":0,"postTime":"2021-12-06T05:51:43.842-08:00","lastPublishTime":"2021-12-06T05:51:43.842-08:00","metrics":{"__typename":"MessageMetrics","views":1014},"visibilityScope":"PUBLIC","placeholder":false,"showMoveIndicator":false,"originalMessageForPlaceholder":null,"status":{"__typename":"IdeaStatus","previousStatus":null,"currentStatus":null},"replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:226682":{"__typename":"ModerationData","id":"moderation_data:226682","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"IdeaReplyMessage:message:226682":{"__typename":"IdeaReplyMessage","author":{"__ref":"User:user:97485"},"id":"message:226682","entityType":"IDEA_REPLY","eventPath":"category:TestComplete_forum/community:nwkab66374board:TestXCompleteFeatureRequests/message:226662/message:226682","revisionNum":1,"uid":226682,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Idea:board:TestXCompleteFeatureRequests"},"parent":{"__ref":"IdeaTopicMessage:message:226662"},"conversation":{"__ref":"Conversation:conversation:226662"},"subject":"Re: Additional file to the test result in a DevOps pipeline via Test Adapter","moderationData":{"__ref":"ModerationData:moderation_data:226682"},"body":"If you want to use this as more of a defect tracking way, I would create an on log error event. On the error it would use the issue tracking object, and attach the csv file you specify.
https://support.smartbear.com/testcomplete/docs/reference/program-objects/issue-tracking-item/attachfile.html
https://support.smartbear.com/testcomplete/docs/working-with/integration/issue-tracking/using-templates.html
Now we could pass this to the ADO defect tracking or anywhere else.
Hi mattb,
No I do not want to add the file to ADO defect tracking. I want the file in the test result as shown in the picture.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"156","kudosSumWeight":0,"repliesCount":0,"postTime":"2021-12-07T01:12:37.989-08:00","lastPublishTime":"2021-12-07T01:17:41.572-08:00","metrics":{"__typename":"MessageMetrics","views":983},"visibilityScope":"PUBLIC","placeholder":false,"showMoveIndicator":false,"originalMessageForPlaceholder":null,"status":{"__typename":"IdeaStatus","previousStatus":null,"currentStatus":null},"replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"CachedAsset:text:en_US-components/users/UserLink-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/users/UserLink-1749759144459","value":{"authorName":"View Profile: {author}","anonymous":"Anonymous"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/users/UserRank-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserRank-1749759144459","value":{"rankName":"{rankName}","userRank":"Author rank {rankName}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageTime-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageTime-1749759144459","value":{"postTime":"Published: {time}","lastPublishTime":"Last Update: {time}","conversation.lastPostingActivityTime":"Last posting activity time: {time}","conversation.lastPostTime":"Last post time: {time}","moderationData.rejectTime":"Rejected time: {time}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSubject-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSubject-1749759144459","value":{"noSubject":"(no subject)"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageBody-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageBody-1749759144459","value":{"showMessageBody":"Show More","mentionsErrorTitle":"{mentionsType, select, board {Board} user {User} message {Message} other {}} No Longer Available","mentionsErrorMessage":"The {mentionsType} you are trying to view has been removed from the community.","videoProcessing":"Video is being processed. Please try again in a few minutes.","bannerTitle":"Video provider requires cookies to play the video. Accept to continue or {url} it directly on the provider's site.","buttonTitle":"Accept","urlText":"watch"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageCustomFields-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageCustomFields-1749759144459","value":{"CustomField.default.label":"Value of {name}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/common/QueryHandler-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/common/QueryHandler-1749759144459","value":{"title":"Query Handler"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageReplyButton-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageReplyButton-1749759144459","value":{"repliesCount":"{count}","title":"Reply","title@board:BLOG@message:root":"Comment","title@board:TKB@message:root":"Comment","title@board:IDEA@message:root":"Comment","title@board:OCCASION@message:root":"Comment"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1749759144459","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1749759144459","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/common/ExternalLinkWarningModal-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/common/ExternalLinkWarningModal-1749759144459","value":{"title":"Leaving the Community","description":"You're about to leave this site and navigate to an external domain. Are you sure you want to continue?","action.submit":"Continue","action.cancel":"Go Back"},"localOverride":false},"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/tags/TagView/TagViewChip-1749759144459","value":{"tagLabelName":"Tag name {tagName}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageListMenu-1749759144459":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageListMenu-1749759144459","value":{"postTimeAsc":"Oldest","postTimeDesc":"Newest","kudosSumWeightAsc":"Least Liked","kudosSumWeightDesc":"Most Liked","sortTitle":"Sort By","sortedBy.item":" { itemName, select, postTimeAsc {Oldest} postTimeDesc {Newest} kudosSumWeightAsc {Least Liked} kudosSumWeightDesc {Most Liked} other {}}"},"localOverride":false}}}},"page":"/ideas/IdeaMessagePage/IdeaMessagePage","query":{"boardId":"testxcompletefeaturerequests","messageSubject":"additional-file-to-the-test-result-in-a-devops-pipeline-via-test-adapter","messageId":"226662"},"buildId":"3XH0qYWYCnEYycuN5W4S8","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","surveysEnabled":true,"openTelemetry":{"clientEnabled":false,"configName":"smartbear","serviceVersion":"25.4.0","universe":"prod","collector":"http://localhost:4318","logLevel":"error","routeChangeAllowedTime":"5000","headers":"","enableDiagnostic":"false","maxAttributeValueLength":"4095"},"apolloDevToolsEnabled":false,"quiltLazyLoadThreshold":"3"},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["components_community_Navbar_NavbarWidget","components_community_Breadcrumb_BreadcrumbWidget","components_ideas_IdeaTopicWidget","components_customComponent_CustomComponent","components_messages_MessageView_MessageViewStandard","components_messages_ThreadedReplyList","shared_client_components_common_List_UnwrappedList","components_tags_TagView","components_tags_TagView_TagViewChip","shared_client_components_common_List_UnstyledList","components_messages_MessageView","components_customComponent_CustomComponentContent_TemplateContent"],"appGip":true,"scriptLoader":[]}