IBM RFT Adapter Integrate RQM
can anybody help me ?
3 answers
What version of RQM do you run?
From the error, it seems that you have compiled Java code with JRE7 and tried to run it with lower version.
Is this a Java application and you compiled it with JRE7? Does it work in RFT itself?
Comments
I'm using version 6.0.2
if you go to adapter console, you should see a java.exe used to run the script(there is a long command there), you may check the version of java. Or check JAVA_HOME if it points to lower version of java?
If the external libraries are in the RFT's customization folder(you can check
\HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rational Test\8\Rational FT Customization Directory to find out the customization folder), RQM would be able to locate them automatically.
If you suspect the external jar files may be compiled with lower java and causing the issue, you can try to compile them with the correct version of java and then put into the customization folder again and have a test. Another option for the external libraries is to use execution argument -projectpath explained in the below forum discussions:
https://jazz.net/forum/questions/34635/adapter-to-rqm-is-not-recognizing-the-third-party-library
http://technicalshowoff.blogspot.com.au/2011/04/script-facing-class-not-found-exception.html
https://jazz.net/forum/questions/46742/classdefnotfound-error-on-executing-a-rft-script-from-rqm
I just recently noticed the same error when running a RFT script from RQM, and instead of seeing the results, we saw the following error:
ERROR: Could not run the script
In our case the issue was related to RQM using shared location for the RFT scripts. Using local RFT scripts, the issue was not seen.
The following article was created for the behavior that we encountered.
Hopefully this will help in your situation as well.
Comments
Would you know a possible solution?
It is all about to OK, but there is a problem to run the Script via the adapter, It has shown some errors at the run time of it. but there also a solution to get rid of the problem, and these are well described in Canon Printer services you may get a lots of help from it.
<o:p> </o:p>