Print Page | Close Window

Unable to upload QTP Results to QC using TDConnect

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6175
Printed Date: 05Jul2025 at 6:23pm


Topic: Unable to upload QTP Results to QC using TDConnect
Posted By: pradeep1231
Subject: Unable to upload QTP Results to QC using TDConnect
Date Posted: 07Oct2008 at 12:31am
Hi All,

      I am using TDConnect to Run the Test Scripts in QC to run in my local machine using QTP. I am able to run all the scripts that are there in QC, but the results created are not getting uploaded into QC for that run.

    Below is the code for creation of the Results object.

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


Help will be very much appreciated.

Thanks & Regards,
Pradeep



Print Page | Close Window