Micro Focus QTP (UFT) Forums
Upload QC resources via QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Upload QC resources via QTP (/Thread-Upload-QC-resources-via-QTP)



Upload QC resources via QTP - Vandembergue - 09-30-2011

Hello there,

I am trying to make QTP and QC perform together and there's one thing missing for me to get a highly automated process.

I have two dependant QTP scripts :
When Script 1 finishes, it saves its datatable to a local directory of the computer where QTP was running.

Script 2 needs this DataTable as an entry to perform operations on another computer.

The problem is that I have to upload in Quality Center the datatable resource from file fomerly saved by Script 1 in the local directory before to launch Script 2.

My question is :
Is there any way to make QTP Script 1 upload automatically QC resource at the end of the script ?

Thanks
Alain




RE: Upload QC resources via QTP - parminderdhiman84 - 09-30-2011

Yes, through OTA API you can upload file in QC an retrieve as well.

Regards,
Parminder


RE: Upload QC resources via QTP - Vandembergue - 10-03-2011

Thanks,
You couldn't have made a shorter answer. But, fortunetaly, I was able to get pieces of code on other posts.

Perhap's someone knows where I could find some complete documentation about OTA API ?

I know how annoying it can be to teach beginners basic things that can be learned through documentation but please, in the future, try to be more explicit.


RE: Upload QC resources via QTP - parminderdhiman84 - 10-04-2011

Hi,

"You couldn't have made a shorter answer." what do u mean by that. You asked for a way and told you the way.

And remember you are asking for help and you should be polite when doing that.

Regards,
Parminder