It's all about the answers!

Ask a question

Using Java API to get TestCase from RQM

Sarath Shasikumar (1759) | asked Feb 22 '13, 7:54 a.m.
edited Feb 25 '13, 5:21 a.m. by Ralph Schoon (63.1k33646)
       Can anybody help me to explain the way I can use RTC java SDK to manipulate test cases from RQM.

       My requirment is.

       1) Get all testcases from a particular project area.
       2) Find number of executed testcase from a project area
       3) Get the status of test execution record for a particular test case.
       4) Link testcase from RQM to workitems in RTC

One answer

permanent link
Ralph Schoon (63.1k33646) | answered Feb 25 '13, 5:20 a.m.
Hi Sarath,

Although there are parts of the RTC API in RQM and there was a limited capability to use that API against RQM at least in the past, I don't think you can use the Java API for RQM like you can do that with RTC. You could use OSLC based calls to get at the data. Please have a look at to get started.

Sarath Shasikumar commented Feb 25 '13, 8:29 a.m. | edited Feb 25 '13, 8:40 a.m.

Hi Ralph,

              Thank you for your answer.
                Getting Iteration besed details and other information which is outside the serviceprovider context is very difficult to retrive using this RDF data from CCM.

The problem we faced using OSLC for fetching data from RQM is,
we are not able to find a testExecutionRecord of a testCase in RQM.

for getting this information first we want to get a testcase and we want to use testcaseExecutionRecord query capability to find testexecution record for that particular testcase.

Ralph Schoon commented Feb 25 '13, 8:44 a.m.

You should be able to create links between RTC work items and RQM based on the RQM elements URI, in case you have that URI. I have written about some of the API in my blog, that could help here:

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.