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

How can I access test case template using OSLC?

 Hello everyone,

My requirement is I want check is xyz custom attribute is present in particular test case template or not? I think if I can access test case template then I easily get the custom attribute list and I can easily recognize which custom attribute is present or not. Anyone please help me to understand how to fetch template of xyz type from project area.

0 votes

Comments

I don't think the OSLC/REST implementation covers the template bit. What are you trying to do actually? Are you trying to determine whether a test case contains a particular custom attribute, or whether the test case contains all the custom attributes, or what custom attributes a test case contains?

1 vote

 My requirement is before fetching test case from RQM I want to to check whether desired custom attribute is present in particular test case or not? Or alternate solution is fetch test case template and check whether template has custom attribute or not. Please suggest any suitable solution



One answer

Permanent link

Although I still don't understand your use case completely, I believe you don't need to access the template at all, because you just have to fetch the test case anyway. Once you get the test case, all custom attributes will appear in the <ns2:customAttributes> element.

0 votes

Comments

 Hi Donald,

Thanks for your reply. But my use case is, If certain custom attributes are present in Test case then only I need to fetch the test case and update custom attributes of that test case. In short before updating custom attributes I need to check whether these attributes are present or not and if not present I need show the details.

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
× 1,700

Question asked: Apr 10 '18, 5:45 a.m.

Question was seen: 2,472 times

Last updated: Apr 13 '18, 9:29 a.m.

Confirmation Cancel Confirm