It's all about the answers!

Ask a question

Getting the Test Design text into java variable.


Marc van Lint (852129) | asked Nov 25 '13, 2:23 a.m.
JAZZ DEVELOPER
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?

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Nov 25 '13, 7:42 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

Comments
Marc van Lint commented Nov 26 '13, 4:30 p.m. | edited Nov 26 '13, 4:30 p.m.
JAZZ DEVELOPER

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!)


Paul Slauenwhite commented Nov 26 '13, 5:23 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

The rich text will be XHTML.

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.