ITestAttachment Methods

The ITestAttachment type exposes the following members.

  NameDescription
Public method AssociateWorkItem Associates the provided work item with this test result attachment.
Public method DisassociateWorkItem Removes an existing association between the provided work item and this attachment.
Public method DownloadToArray Downloads the attachment contents to the provided byte array after the associated work item has been saved to the server.
Public method DownloadToFile Downloads the attachment contents to the named file after the associated work item has been saved to the server.
Top
Show: