GeekInterview.com
Series: Subject: Topic:
Question: 6 of 129

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 ??
Asked by: BSony | Member Since May-2011 | Asked on: Aug 10th, 2011

View all questions by BSony   View all answers by BSony

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.