SOFTWARE TESTING: Upload Attachments To QC

Tuesday, October 11, 2011

Upload Attachments To QC

Upload Attachments To QC

Function UpLoadAttachmentToQC(FilePath)
Set ObjCurrentTest = QCUtil.CurrentTest.Attachments
Set ObjAttch = ObjCurrentTest.AddItem(Null)
ObjAttch.FileName = FilePath
ObjAttch.Type = 1
ObjAttch.Post
ObjAttch.Refresh
End Function
FilePath=”C:\abc.vbs”
Call UpLoadAttachmentToQC(FilePath)

1 comment:

  1. how to upload attachment to Specfic Test Set
    I mean to say NOT THE CURRENT TEST SET
    As, I need to have centralized test set location for attachment

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...