Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using Java API to get TestCase from RQM

 Hai,
       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


0 votes



One answer

Permanent link
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 https://jazz.net/library/article/635 to get started.

0 votes

Comments

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.

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: http://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Feb 22 '13, 7:54 a.m.

Question was seen: 8,295 times

Last updated: Feb 25 '13, 8:44 a.m.

Confirmation Cancel Confirm