It's all about the answers!

Ask a question

Executing RFT Shared Resource folder not clearing up the -datastore directory after finishing test.


Sean Lee-Loy (1941315) | asked Feb 12 '13, 8:45 p.m.
retagged Feb 21 '13, 9:22 a.m. by Tory Jaskoviak (52015)

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?

One answer



permanent link
Manoj Zacharia (11) | answered Jun 19 '13, 11:11 p.m.
 There is no out of the box way to do it as of now. The adapter will leave the temporary files there. Please contact the support and submit your case through a PMR.
-Manoj

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.