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

enter test script comments with line breaks

Hi,

I am importing test scripts steps with comments and they are on new lines in the Excel cell:




But that imports on a single line:



There does not appear to be way to enter new lines when adding a comment to a test script step. I am checking to see if I  am missing something or this is a valid Request For Enhancements

Thanks,
Brett

0 votes



2 answers

Permanent link
Hi, Brett

Using Pre()modifier should preserve new line when exporting to RQM.

Thanks

0 votes

Comments
Hi Don, I am using Pre: testscript.steps.property name="comment"=Pre(N) And I see this (notice when I edit the comment it shows on 2 lines but not in the comment itself on the test script step): Also, if you insert  a new comment "Enter" does not open a new line like it does in other rich text sections. And I do not see a <br> in the XML for the test script: <ns8:comment>Line 1 Line 2</ns8:comment> Thanks, Brett

1 vote

Hi, Brett I tested with 502 and see the similar result as you got. When exporting the the file, I notice comments are under Div HTML tag but if I tried with Div(), it has the same result. In the XML file, it does show multiple lines as expected, it is only when it got to QM test script, it displays in one line. This seems to me it's a defect. Thanks

1 vote


Permanent link
Hi Brett,

Please refer to the following post for more info:
https://jazz.net/forum/questions/218623/how-to-define-line-feed-in-rqmexcelimporter#218678

0 votes

Comments
Hi JP, I used ALT+Enter Key in Excel in the column in Excel, as shown in my screen shot above. That imports on a single line in test script comments. Brett

1 vote

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

Question asked: Jun 17 '16, 5:37 p.m.

Question was seen: 3,862 times

Last updated: Jun 21 '16, 11:28 p.m.

Confirmation Cancel Confirm