It's all about the answers!

Ask a question

Accessing class files from different RFT projects via scripts run from Rational Quality Manager


Paul Sandie (38913) | asked Aug 23 '13, 5:10 p.m.
edited Aug 23 '13, 5:17 p.m.

We have a couple of Rational Functional Tester projects from which we run scripts via Rational Quality Manager (and the RQM RFT adapter). We have introduced a third RFT project that contains code used by the other two. Whilst we can run the scripts from the original projects which depend on the new project in RFT (i.e. having referenced this new project) this doesn't work from RQM (access to any classes in  the new project causes ClassNotFound).

I believe there are two solutions to this:

(1) Add jar(s) from the new project into the RFT customization folder (whose location can be found via the \HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rational Test\8\Rational FT Customization Directory registry key).

(2) Provide a "-projectPath <path>" execution variable for the RFT test script specifying the project path for the new project

Does anyone know which (if any) of the above approaches is correct ? (2) seems like the best solution to me. I'm not sure what I've have to put in the customization directory to use approach (1).

One answer



permanent link
Paul Sandie (38913) | answered Aug 26 '13, 3:20 a.m.
Having experimented with the above I can see that (2) is indeed the way to go. I needed to specify -projectpath (all lower case) as a script argument (not an execution argument). This resolved my issue.

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.