It's all about the answers!

Ask a question

Multiple instance of RFT Adaptor on same machine.


oreste egidio (4113020) | asked Jul 29 '11, 5:43 a.m.
retagged Jun 20 '12, 1:09 a.m. by Pramod Chandoria (2.1k11220)
I've only one HW for Rational Functional Tester.

I've to run functional test from different Project Area.

Is possible to have multiple instant of RFT adaptor that point at different Project area?

If yes, what I've to do?

Ciao

6 answers



permanent link
Kurtis Martin (1.4k11) | answered Aug 31 '11, 5:38 p.m.
JAZZ DEVELOPER
On 8/30/2011 10:38 AM, dhanslip wrote:
Hi Paul,

Firstly, I posted this in totally the wrong place! Secondly, I didn't
achieve it. I thought the TestManager migration tool had achieved it
but it turns out of course that the script arguments kept being
overwritten and all but the last ones didn't survive the migration. I
now have a few hundred test cases linked to the one test script, all
bar one with the wrong script arguments.

My customer will have to copy the RQM RFT script as many times as is
required.

Regards, Dave.



In RQM 3.0.1 we introduced something called execution variables:

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.rational.test.qm.doc/topics/c_execvar_overview.html

These variables can be initialized at different levels of the test
hierarchy (script,case,suite). RFT will support passing RQM execution
variables to RFT scripts in it's soon to release 8.2.1 release.

At which time you can use this to have a single RFT script that behaves
differently based on the execution variables defined at the test case level.

Additionally, the variable values can be specified when you start the
RFT run, so for each run you can pass different values to the RFT script
without having to modify the RQM script or test case.

permanent link
Pramod Chandoria (2.1k11220) | answered Jul 29 '11, 6:05 a.m.
JAZZ DEVELOPER
You can not run RFT Adapter to connect multiple project area in parallel from same machine. You can switch between project area by stopping and starting.
I understand what you are asking about and I had similar vision in back of mind. At this point You may consider creating RFE for it.

-|- Pramod Chandoria

permanent link
Kurtis Martin (1.4k11) | answered Jul 29 '11, 4:19 p.m.
JAZZ DEVELOPER
On 7/29/2011 5:53 AM, oreste wrote:
I've only one HW for Rational Functional Tester.

I've to run functional test from different Project Area.

Is possible to have multiple instant of RFT adaptor that point at
different Project area?

If yes, what I've to do?

Ciao



You may also try posting this to the RFT forum, as it's specific to the
RFT adapter:

http://www.ibm.com/developerworks/forums/forum.jspa?forumID=322&cat=24

permanent link
David Hanslip (23124448) | answered Aug 29 '11, 12:32 a.m.
Hi. I have a single RFT script used by many test cases, but with different script arguments each time.

Based on my evaluation so far, it appears that the script arguments can be different for each test case/test script link.

I'd like to confirm that the RFT script need only be imported once - that there need only be one instance of the script in RQM.

I had expected that I'd need a different copy of the RFT script in RQM, for each different set of script arguments but this doesn't appear to be the case.

Thanks.

permanent link
Paul Sandie (38913) | answered Aug 30 '11, 8:18 a.m.
Hi. I have a single RFT script used by many test cases, but with different script arguments each time.

Based on my evaluation so far, it appears that the script arguments can be different for each test case/test script link.

I'd like to confirm that the RFT script need only be imported once - that there need only be one instance of the script in RQM.

I had expected that I'd need a different copy of the RFT script in RQM, for each different set of script arguments but this doesn't appear to be the case.

Thanks.


Out of curiosity how would you achieve this (different script arguments for the same script from different test cases) ?. The script arguments are associated with the script so you wouldn't be able to have different arguments for each case/script tuple (other than by having different scripts for each test case - i.e. the same script with different arguments each time - as per your original expectation). As far as I can see anyway.

permanent link
David Hanslip (23124448) | answered Aug 30 '11, 10:17 a.m.
Hi Paul,

Firstly, I posted this in totally the wrong place! Secondly, I didn't achieve it. I thought the TestManager migration tool had achieved it but it turns out of course that the script arguments kept being overwritten and all but the last ones didn't survive the migration. I now have a few hundred test cases linked to the one test script, all bar one with the wrong script arguments.

My customer will have to copy the RQM RFT script as many times as is required.

Regards, Dave.

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.