Micro Focus QTP (UFT) Forums
Unable to Upload the results to QC from 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Unable to Upload the results to QC from QTP. (/Thread-Unable-to-Upload-the-results-to-QC-from-QTP)



Unable to Upload the results to QC from QTP. - skmattey - 05-31-2011

Hi All,

I am using TDConnect to Run the Test Scripts in QC10 to run in my local machine using QTP10. I am able to run all the scripts that are there in QC, but the results created are not getting uploaded into QC for second instance, it is uploading to first instance only. First instance is working fine.

Below is the code for creation of the Results object.

#############################
Code:
Set qtRunResultsOptions = CreateObject("QuickTest.RunResultsOptions")   'Create the Run Results Options object
qtRunResultsOptions.ResultsLocation = ="[Quality Center] Root\Automated Tests\Sample"
qtRunResultsOptions.TDRunName="Run_Sample"
qtRunResultsOptions.TDTestInstance=2
qtRunResultsOptions.TDTestSet="[Quality Center] Root\Automated Tests\Sample"


qtApp.Test.Run qtRunResultsOptions 'Run the Test


Help will be very much appreciated.

Thanks & Regards,


RE: Unable to Upload the results to QC from QTP. - Nisha M R - 11-14-2011

Hi All,

Even I am also facing the same issue as above.

Any help would be appreciated.

Thanks in advance!

Thanks,
Nisha