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

How to create resource (Test Suite ) class in OSLC Lyo

I have been trying to create Entity class for Test Suite since it is not there. I am taking help from already existing class like Test Case ans TCER but it is showing the error while converting  RDF to TestSuite class. I am getting correct RDF but converting is the issue.

if(response != null)
          {
              TestSuite testSuite = response.getEntity(TestSuite.class);
          }

I am  getting null value for testSuite. Are there any specific steps i need to follow?. Thanks!!!


0 votes



One answer

Permanent link
I thought during previous discussions you understand what needs to be done already.

If you study the Test Case and TCER classes, you should notice that the they basically specify what the RDF file contains, so that Lyo can convert the RDF content to a "class". At the very least, you will need to create a new TestSuite "class", similar to the existing classes.

0 votes

Comments

Yes. That's what i did but still it is not converting from RDF to Entity class. I used TestCase class and it's RDF for reference.

Able to create the Class and getting some of the attributes value. But no value being fetched for runTestCase. can you look into it if something is wrong.?

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: May 16 '16, 3:11 a.m.

Question was seen: 2,563 times

Last updated: May 17 '16, 9:21 a.m.

Confirmation Cancel Confirm