Quality center 10.0 version(save method is not working), while uploading attachments to quality center
The code below ,is for uploading attachments to quality center 10.00
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)
but to achieve the same task in quality center 9.00-----------
Function UpLoadAttachmentToQC(FilePath)
Set ObjCurrentTest = QCUtil.CurrentTest.Attachments
Set ObjAttch = ObjCurrentTest.AddItem(Null)
ObjAttch.FileName = FilePath
ObjAttch.Type = 1
ObjAttch.Post
ObjAttch.save(True)------------------- Extra method is needed
ObjAttch.Refresh
End Function
FilePath=”C:abc.vbs”
Call UpLoadAttachmentToQC(FilePath)
my question--------
Is save method is not working with quality center 1.00 Version ??
Also tell me the difference between post nad save Method ??
Questions by BSony answers by BSony
This Question is not yet answered!
Related Answered Questions
Related Open Questions
Quality center 10.0 version(save method is not working), while uploading attachments to quality center
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)
but to achieve the same task in quality center 9.00-----------
Function UpLoadAttachmentToQC(FilePath)
Set ObjCurrentTest = QCUtil.CurrentTest.Attachments
Set ObjAttch = ObjCurrentTest.AddItem(Null)
ObjAttch.FileName = FilePath
ObjAttch.Type = 1
ObjAttch.Post
ObjAttch.save(True)------------------- Extra method is needed
ObjAttch.Refresh
End Function
FilePath=”C:abc.vbs”
Call UpLoadAttachmentToQC(FilePath)
my question--------
Is save method is not working with quality center 1.00 Version ??
Also tell me the difference between post nad save Method ??
Profile Answers by BSony Questions by BSony
Questions by BSony answers by BSony
This Question is not yet answered!
Related Answered Questions
Related Open Questions