CData Python Connector for Azure DevOps

Build 24.0.9060

DownloadTestAttachment

Download test result/run attachment.

Stored Procedures Specific Information

Process of Download Test Attachment

Azure DevOps allows only a small subset of columns to be used in the EXEC query. These columns can typically be used with only = comparison. The available columns for DownloadTestAttachment are ProjectId, RunId, ResultId, AttachmentId and FileLocation. For example:

	EXECUTE DownloadTestAttachment ProjectId = '1e313382-5f07-43be-b5ae-1dcfa51ffaf4', RunId = 10, AttachmentId = 2, FileLocation = 'C:\azuredevops'

Input

Name Type Required Description
ProjectId String True Id of the project.
ResultId Integer False Id of the test result.
RunId Integer True Id of the test run.
AttachmentId String True Id of the attachment.
FileLocation String False Location of the file.
Encoding String False The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Status String Stored procedure execution status.
FileData String If the FileLocation and FileStream are not provided, this contains the content of the file.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060