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

_p_ and _-P_ formatting and other formatting not working after export.

 I've test script data as <p>This is a dummy test script step</p> in excel in cfg file. I tried Div, HTML, Pre, DivHTML, RichText etc.. but doesn't seems to be working.

testscript.steps.description=Div(P) ,    or HTML(P),  or  Pre(P), or   DivHTML(P) or RichText(P)
testscript.steps.expectedResult=Div(Q) ,    or HTML(Q),  or  Pre(Q), or   DivHTML(Q) or RichText(Q)

After exporting literal text got updated.  <p>This is a dummy test script step</p> 

Can you please help me here, how to make it work.

0 votes



One answer

Permanent link
Deepak,

RQM Excel Importer supports HTML, RichText, Pre and Div keyword as described on RQM Word Excel Wiki. But scope of formatting is limited by Excel-cell's format support capability. I suggest to refer 'Samples' folder for example cfg file related to this keyword.

Regards,
Mehul

0 votes

Comments

Hi Mehul,


When we've eg. following text in J column. 
<p>&nbsp;This is dummy text line.</p>

And following in Cfg file
testcase.Section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=J

Then 'Precondition' properly get formatted but with same J column for test script step description doesn't gets formatted using any of the keywords( RichText(J).... etc..)
Cfg fille.
testscript.steps.description=J 

How can we format testscript.steps.description, testscript.steps.expectedResult? 
Can you please help.
 

Deepak,


As described at RQM Word Excel Wiki, configuration file syntax HTML() will enable you to decorate excel data with HTML markup but it will not parse the HTML tags present in excel cell data. You can use it like 
    testscript.steps.description=HTML("<p>" & J & "</p>")

Regards,
Mehul

 Thank you Mehul for the reply and help.

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: Oct 14 '16, 3:37 a.m.

Question was seen: 2,503 times

Last updated: Oct 23 '16, 10:07 p.m.

Related questions
Confirmation Cancel Confirm