操作QC的附件
function uploadAttachmentToTestSet()
set CurrentTSTest = QCUtil.CurrentTestSet
Set AttachmentFactory = CurrentTSTest.Attachments
Set Attachment = AttachmentFactory.AddItem(Null)
'上传文件并更新
Attachment.FileName = "test.html"
Attachment.Type = 1
Attachment.Post
Attachment.Refresh
set Attachment = nothing
set AttachmentFactory = nothing
end function
点亮测试人生!QQ:408129370
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号:
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号: