It's all about the answers!

Ask a question

RQM API testcase/testscript or testcase/remotescript


Chris Trueman (3125) | asked Sep 06 '12, 12:31 p.m.

The RQM API docs say to expect a testcase/remotescript only for non-manual tests. And yet when I examine the XML returns for a simple test case linked with two *manual* test scripts, I see the test script data stored in a remotescript element.

Of course, the software is always right. But did I do something wrong in creating the test script?

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Sep 07 '12, 6:36 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
You are running into for TestcaseGetHandler, either remote script or manual script will be interpreted as remote one (71687), which will be fixed in RQM 4.0.1.  The WIKI documentation is correct.
Chris Trueman selected this answer as the correct answer

Comments
Pramod Chandoria commented Sep 07 '12, 10:40 a.m.
JAZZ DEVELOPER

Yup this is the reason

2 other answers



permanent link
Jerry Shengulette (63914) | answered Sep 06 '12, 11:09 p.m.
JAZZ DEVELOPER
This is 3.0.1.3 testscript XML:
<testscript href="https://myServer3013:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProjQM/testscript/urn:com.ibm.rqm:testscript:1"/><testscript href="https://myServer3013:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProjQM/testscript/urn:com.ibm.rqm:testscript:2"/>

This is 4.x testscript XML:
<ns3:remotescript href="https://myServer4:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/qmMaster/remotescript/urn:com.ibm.rqm:remotescript:1"/><ns3:remotescript href="https://myServer4:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/qmMaster/remotescript/urn:com.ibm.rqm:remotescript:2"/>

Could it be that you're looking at 3.x documentation while working with a 4.x server?


permanent link
Chris Trueman (3125) | answered Sep 07 '12, 2:58 a.m.

It's true that I'm using a 4.x server - the sandbox on jazz.net.

The documentation I'm referencing is here:

https://jazz.net/wiki/bin/view/Main/RqmApi#Detailed_Schema_Documentation

It says:

remotescript (Test Script: type non-manual)

testscript (Test Script: type manual)

There's no mention of any change in the 3.x to 4.x changes but perhaps the all test script types are now described in the remotescript section. I never created an automated script in 3.x to know whether remotescript was output there or not.

Thanks for your help.

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.