Micro Focus QTP (UFT) Forums
Changing the Default location for test results when using Test Batch Runner tool - 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: Changing the Default location for test results when using Test Batch Runner tool (/Thread-Changing-the-Default-location-for-test-results-when-using-Test-Batch-Runner-tool)



Changing the Default location for test results when using Test Batch Runner tool - pointguard888 - 12-28-2009

Hi All,

I'm having a problem when using the Test batch runner tool provided with QTP to run my tests sequentially.

My problem is that the test results are always saved in the TEMP folder and I need those results to be saved in its default test results folder like (<test folder>\res#\report). But I can't force the Test batch runner tool to do so.

Or is there anything I should do from within QTP to do this?

I have tried playing around with all the Test Setting >> Run tab options as well as Options >> Run tab but in vain.

So could someone help me on this?

Thanks.


RE: Changing the Default location for test results when using Test Batch Runner tool - Tarik Sheth - 12-29-2009

If I understand your issue correctly, you need all the run results in a specified folder.

At the time of Running the script QTP asks about where to store the results.
You can have that set in the folder that is specified.

Attached is the screen which you can use for storing the results.


RE: Changing the Default location for test results when using Test Batch Runner tool - upadhyay40 - 12-29-2009

Hi Pointguard,

As per you request, i think you might have to write some user defined functioned to store result in particular folder, that helps you, so whenever you run your batch it automatically store your all result in particular folder.

Thanks
Mahesh


RE: Changing the Default location for test results when using Test Batch Runner tool - pointguard888 - 12-29-2009

Hi Tarik,

My problem is that when I run tests using Test batch runner tool, QTP doesn't ask me about the location for the results as in the case when running from within QTP, and for some reason it sets the default test results location to the TEMP folder. So my question is how can I change this default behaviour?

Hi Mahesh,

Could you please elaborate more on this by passing me some code snippets on how to write those user defined functions? That would be very helpful.

Thank you so much for your quick replies :-)