I am trying to upload attachments using TFS API Following is the code snippet :
result.State = TestResultState.Completed;
result.RunBy = identity;
var attachment = result.CreateAttachment(logFilePath);
run.Attachments.Add(attachment);
The code doesn't throw any error. Also i see that IAttachmentOwner.AttachmentUploadCompleted Event has been raised indicating it is completed. Yet I am not able to see the uploaded attachments on my TFSWebPortal. Am I missing something here ?
P.S : First question here. Please feel free to correct me.