RQM API testcase/testscript or testcase/remotescript
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
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
|
2 other answers
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? |
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
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.