Accessing class files from different RFT projects via scripts run from Rational Quality Manager
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).