Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the ResultDir
#1
Not Solved
Change ResultDir

To attach my xls file to an email I use:
Code:
strAttachment = Environment("ResultDir") & "\Report\Results.xml"

I run my test from:
Code:
J:\QTP_Tests\NightlyRegressionTesting\Tests\ImageAccess_RegressionTestingByENV

So the results should be saved here:
Code:
J:\QTP_Tests\NightlyRegressionTesting\Tests\ImageAccess_RegressionTestingByENV\Res109"\Report\Results.xml

With doing nothing (as far as I know) somehow, the ResultDir changed to:
Code:
C:\DOCUME~1\a641422\LOCALS~1\Temp\TempResults_2\Report\Results.xml

What may I have done to change my ResultDir? And, how can I change it back to J:…?

I did go to File -> Setting -> Environment but I could not change the ResultDir value.

never mind...

Yup, i feel crazy... lol... its not even Friday yet. OMG

I just saw on my other machine that I had the "New run results folder" selected where my other was set to "Tempoary run results folder".

Yikes!

I need to go play hookey today.
Reply


Messages In This Thread
How to change the ResultDir - by mv8167 - 08-23-2012, 07:28 PM
RE: How to change the ResultDir - by QTPScript - 08-29-2012, 10:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 7,194 03-25-2021, 08:27 AM
Last Post: RB26578
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,615 11-22-2016, 12:43 PM
Last Post: Ankur
  Dynamic change of name for Webtables prakashreddy 1 2,375 10-25-2014, 09:53 PM
Last Post: supputuri
  How can I change my test folders, globally? atester 0 2,018 10-03-2014, 04:37 PM
Last Post: atester
  JavaDialog change every time i run my test Pkapoor 3 2,984 06-28-2013, 09:27 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)