Executing RFT Shared Resource folder not clearing up the -datastore directory after finishing test.
![](http://jazz.net/_images/myphoto/b63317ea871d6f9cecfa5c1393114407.jpg)
Hi,
I witnessed a problem with RFT scripts that were created as a VB.NET project and then compiled and put in a shared resource folder.
Then when executing the project from this shared resource folder the command output on the RFT Adapter shows the following:
6:37:57 PM Received the execution request: \\10.69.1.128\QA\OLIS\LandingTests\Environments\SysPerf\WebLandingTest\WebLandingTest\WebLandingTest\performLandingTest.testsuite
6:37:57 PM Executing RFT command "C:\Program Files (x86)\IBM\SDP\FunctionalTester\bin\rational_ftw.exe" -datastore "C:\Temp\RQMRFTProjects\dc0b6b3d\WebLandingTest" -rt.log_format xml -iterationcount -1 -rt.bring_up_logviewer false -execmode rqm -execmodeargs download -playback WebLandingTest.performLandingTest -var "MSG_PATH=\\10.69.1.128\qa\OLIS\LandingTests\Environments\SysPerf\TestData;ASSEMBLY_PATH=\\10.69.1.128\qa\OLIS\Regression\Assembly\Testcases\OlisTesting;ENV_URL=https://perf.olis.ssha.ca/ssha.olis.webservices.ER7/OLIS.asmx"
6:48:33 PM Execution of script WebLandingTest.performLandingTest done
I assume this directory where it copies over the project to a temp folder:
-datastore "C:\Temp\RQMRFTProjects\dc0b6b3d\WebLandingTest"
However upon completion of the test it doesn't cleanup that folder... so the next execution I have a the same Project name but in a different folder... it will not overwrite the -datastore directory and it is using the
old compiled dlls of the previous project.
i.e. next execution request:
8:26:57 PM Received the execution request: \\10.69.1.128\QA\OLIS\LandingTests\Environments\SysPerf\WebLandingTest\WebLandingTest\WebLandingTest\performLandingTest.testsuite
8:26:57 PM Executing RFT command "C:\Program Files (x86)\IBM\SDP\FunctionalTester\bin\rational_ftw.exe" -datastore "C:\Temp\RQMRFTProjects\dc0b6b3d\WebLandingTest" -rt.log_format xml -iterationcount -1 -rt.bring_up_logviewer false -execmode rqm -execmodeargs download -playback WebLandingTest.performLandingTest -var "MSG_PATH=\\10.69.1.128\qa\OLIS\LandingTests\Environments\SysPerf\TestData;ASSEMBLY_PATH=\\10.69.1.128\qa\OLIS\Regression\Assembly\Testcases\OlisTesting;ENV_URL=https://perf.olis.ssha.ca/ssha.olis.webservices.ER7/OLIS.asmx"
8:37:07 PM Execution of script WebLandingTest.performLandingTest done
Rather than having to rename my compiled vb .NET projects to be different or having to call a script to manually cleanup the C:\Temp\RQMRFTProjects\<session>\ folder.. is there another way around this problem?