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
#2
Not Solved
Hello

You can do simple thing make new environment path if you are not able to edit.

OR

You can click on User-Defined in environment or see there no other third party file are imported to environment.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)