It's all about the answers!

Ask a question

RQMURLUtility Script ID in href


michal steinberger (2139) | asked Jan 24 '16, 8:41 a.m.

Hi

i'm downloading Test cases using RQMURLUtility.

In the XML file, under Test Case I can find the test script with its href.

in some cases the href ends with test script ID: https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testscript/urn:com.ibm.rqm:testscript:<script ID>

and in other cases i get the test script name:

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testscript/<script name>

Why the diffrences?

how can i get only test script IDs?

Accepted answer


permanent link
Donald Nong (14.5k614) | answered Jan 24 '16, 6:23 p.m.
Are you sure the < script name > is not also the ID of the script? This can happen when the test script is created by importing from Excel, for example.
michal steinberger selected this answer as the correct answer

Comments
michal steinberger commented Jan 25 '16, 12:04 a.m.

 Thanks! It is probably the issue.

The problem is my test case and text script written in Hebrew, which makes problem to export it using rqmurlutility.....
There is a way to get the href using its webid?


Donald Nong commented Jan 25 '16, 12:26 a.m. | edited Jan 25 '16, 12:26 a.m.

I don't think the webId can be used for every test artifact. If you are just concerned about the Hebrew characters, you can try to convert them to percentage encoding when using RQMURLUtility. I find the below website quite handy.
http://r12a.github.io/apps/conversion/


michal steinberger commented Jan 25 '16, 2:52 a.m.

 thanks

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.