Micro Focus QTP (UFT) Forums

Full Version: Unable to Upload the results to QC from QTP.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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,
Hi All,

Even I am also facing the same issue as above.

Any help would be appreciated.

Thanks in advance!

Thanks,
Nisha