Series: Subject: Topic:
Question: 446 of 1523

How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality Center using QTP Script?

Asked by: Interview Candidate | Asked on: Aug 10th, 2007
Showing Answers 1 - 4 of 4 Answers

You need to use API's of Quality Center in the Script.

Login to rate this answer.

You Must have MS Excel plugin installed in your system, then you will get one option in your Excel---> Export to QC.RegardsVenkat

Login to rate this answer.

Answered On : Aug 10th, 2011

View all questions by BSony   View all answers by BSony

Uploading text or xml files 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 Call UpLoadAttachmentToQC(FilePath) This works fine with Quality center 10.0 Version... but to achive the same task in Quality center 9.0 version ,we need to use ObjAttch.Save(True) Method also. This save method works fine with quality center 9.00 but not with 10.00 version. also i want the difference between save and post methods!!!!

Yes  1 User has rated as useful.
Login to rate this answer.

Answered On : Feb 23rd, 2012

Install the Execl Add in to the QC........!open the excel u want to Export !Click on the Add In Menu on the Excel !Excel export option will come........ Provide the Respective path

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


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.