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

Getting the Test Design text into java variable.

I've ploughed thru the code of the CopyUtility. I've changed the ArtifactHandler. I want to read the Test Case design and write it to a file. The testcase I've added the lines:

           Testcase tc = (Testcase)source;  
                // com.ibm.rqm.planning.editor.section.testCaseDesign
            Richtext feature = tc.getComIbmRqmPlanningEditorSectionTestCaseDesign();
            System.out.println(feature.toString() );

But that does not seem to work. Any idea's how I can accomplish this?

0 votes



One answer

Permanent link
Ensure the testcase resource XML contains the com.ibm.rqm.planning.editor.section.testCaseDesign element, by adding the abbreviate=false request parameter to the testcase GET request.

0 votes

Comments

Yep, I got the tc object and the Richtext feature.
Now I want to extract the plain text from it. Where to find documentation on this Richtext, or find a sample. (Nearly there!)

The rich text will be XHTML.

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

Question asked: Nov 25 '13, 2:23 a.m.

Question was seen: 5,054 times

Last updated: Nov 26 '13, 5:23 p.m.

Confirmation Cancel Confirm