05-31-2011, 07:15 PM
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.
#############################
qtApp.Test.Run qtRunResultsOptions 'Run the Test
Help will be very much appreciated.
Thanks & Regards,
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,