how to get the testcase steps ?
I need help in getting a testcase steps using(someone told me this is the only way to comunicate from c# with IBM CLM QM) : Rational Quality Manager Reportable REST API and/or Rational Quality Manager (RQM) Open Services for Lifecycle Collaboration (OSLC) Quality Management (QM) Version 2 (V2) API From my research a possible way to add test steps to a testcase is to add a manual script and in the manual script add the test steps. Then the manual scritp needs to be associated with a testcases.
By reading : Rational Quality Manager Reportable REST API Rational Quality Manager (RQM) Open Services for Lifecycle Collaboration (OSLC) Quality Management (QM) Version 2 (V2) API I couldnt find how to retreive the test steps...
Please can you help me ?
|
Accepted answer
Ara Masrof (3.2k●1●5)
| answered May 01 '14, 12:03 p.m.
JAZZ DEVELOPER edited May 01 '14, 12:05 p.m.
A 'step' is a part of the XML of Test Script; so you would need to return the XML of a specific Test Script and parse through it looking for the step information
You can using the REST API to return the Test Script data in XML
For example:
GET https://clm:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA+project+1+%28Quality+Management%29/testscript/urn:com.ibm.rqm:testscript:34
Where....
Public URI is "clm:9443"
My QM Project is : LPA+project+1+%28Quality+Management%29
My Script ID is 34
Also be sure to use the Request header 'accept' with a value of text/xml or application/xml in your request
This will return the xml of the test script; you then would need to then parse out the data you are interested in
For more information about the QM REST API see the WIKI linked below
Ara
george claud selected this answer as the correct answer
|
One other answer
Hi George,
in addition to Ara's answer, making you aware of a list of samples on how to access/create resources in RQM (through both REST API & OSLC): http://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/ Regards, Stéphane Comments
george claud
commented May 06 '14, 8:58 a.m.
Thanx.
Yes. Both are HTTP based.
|
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.