Hi Prasad.

Solution: (hope it'll work)
'===========================================================
On error resume next
Dim fs
Dime fPath

fPath="C:\Program Files\HP\QuickTest Professional\Tests\virtualobj\Res1"
'Change the above result folder path as it appears on your system

NewPath="C:\Program Files\HP\QuickTest Professional\Res1
'Change the above result folder path to desired path

set fs=CreateObject("Scripting.FileSystemObject")
if fs.FolderExists(fPath)=true then
   msgbox"Test result folder found!"
   fs.MoveFolder "fPath","NewPath"
   msgbox"Result folder moved successfully!"
else
  msgbox"Result Folder cannot be found!"
end if
set fs=nothing

'===========================================================

On Wed, Oct 28, 2009 at 8:56 AM, Prasad Dev <[email protected]> wrote:

> Changing path i think is not possible.
>
> Resport is generated in XML format.
>
> Using filesystem object u can copy the result file to where u want.
>
> Thanks,
> Prasad.
>
> On Mon, Oct 26, 2009 at 9:14 PM, Parke <[email protected]> wrote:
>
>>
>> Hello Everyone:
>>
>> I am running QTP 9.2.
>>
>> I would like to be able to change the storage location of the report
>> file.  The location can be found with reporter.reportpath.
>>
>> From searching the internet, it appears that the path cannot be
>> modified but the tool, Multi Test Manager, permits saving the results
>> to a different path.  I am assuming that Multi Test Manager is not
>> moving and renaming the file in the new path/folder.
>>
>> Any ideas/help would be appreciated.
>>
>>
>> Parke
>>
>>
>>
>
> >
>


-- 
Regards,
Bibek Khatiwara

Hey! Catch me on:
http://khateee.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to