Error while executing command line in RPE template after deployment to RQM
Hello,
i have created a project in RPE to generate a report from RQM. I use the RQMUrlUtility.jar to download attachements of the testcases. It's working fine in RPE but when I deploy it to RQM I'm getting the following error while trying to execute the JAR file (java.lang.Runtime.getRuntime().exec(command)):
TypeError: Cannot call property getRuntime in object [JavaPackage java.lang.Runtime]. It is not a function, it is "object".
Probably is the command line execution disabled like in RPE.
If it's the case where do I have to configurate it in Jazz/RQM? And if not which other sources could generate the error?
In advance thanks for your help and time.
|
One answer
I presume that you are having the commands entered in "Command" property of RPE template element (ex. Include File element) and you are uploading only .dta file (and not .dsx) while creating report resource.
Comments
Christopher Seidel
commented Aug 14 '18, 5:30 a.m.
I am using the Java-Script Element with:
java.lang.Runtime.getRuntime().exec("java -jar ...");
Yes i used the .dta and not the .dsx.
Would be sad if it's not supported.
|
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.
Comments
how did you deploy RPE reporting template into RQM? what is RQM/RPE version?
Deployment: