Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > how to upload/download at...

how to upload/download attachment of testcases by add-in/WS API RSS Feed

Tuesday, August 16, 2011
For some test cases, need attachment. We can manually upload it to SpiraTeam. 

1. If use SpiraTeam MS-Office 2007/2010 Add-Ins, how to import/export the attachment?
I try to add a testcase with attachment, then use the excel add-in, set Artifact as Test Cases, click Import button, then the no any column related to the attachment
I also not sure whether it is possible to use the excel add-in to upload the attachment to SpiraTeam and how.

TestCase_Create and TestCase_RetrieveById, the attachment is just as int id in the RemoteTestCase Structure, and how to upload/download the attachment file from the id?

2 Replies
Margaret D ThomasMargaret D Thomas
re: Daisy Dai on Tuesday, August 16, 2011
Wednesday, August 17, 2011
Hej Daisy, when you use the WS API, you must first convert the file to type Byte, then this file you can upload.  You use one method for text and a different for a graphic.
Margaret D ThomasMargaret D Thomas
re: Margaret D Thomas on Wednesday, August 17, 2011
Wednesday, August 17, 2011

Also the SpiraTeam automationHost feature will not support how we do test automation.  Don't even invest time with it...have the test cases remote control your framework and basically replacing the CSV file data you currently use.
  • Started: 8/16/2011
  • Last Reply: 8/17/2011
  • Replies: 2
  • Views: 980
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.