Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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).

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,027

Question asked: Aug 23 '13, 5:10 p.m.

Question was seen: 5,915 times

Last updated: Aug 26 '13, 3:20 a.m.

Confirmation Cancel Confirm