Micro Focus QTP (UFT) Forums
Storing results in a different folder running scripts in QC using 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Storing results in a different folder running scripts in QC using QTP (/Thread-Storing-results-in-a-different-folder-running-scripts-in-QC-using-QTP)



Storing results in a different folder running scripts in QC using QTP - sborusu - 10-01-2010

I am trying to save the results of the scripts running through QC using QTP in a different folder. I use the following code at the beginning of the script..

Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object

qtResultsOpt.ResultsLocation = "C:\Tests\Test1\" & Resi ' Set the results location

It somehow does not work and the results are saved in the default folder. Can someone please advice on this?

Thanks,
Sai Kumar Borusu