It's all about the answers!

Ask a question

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


Deepak Sharma (1511) | asked Oct 14 '16, 3:37 a.m.
edited Oct 14 '16, 3:40 a.m.
 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.

One answer



permanent link
Mehul Patel (9695) | answered Oct 19 '16, 7:22 a.m.
FORUM MODERATOR
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

Comments
Deepak Sharma commented Oct 19 '16, 11:17 p.m.

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.
 


Mehul Patel commented Oct 20 '16, 4:19 a.m.
FORUM MODERATOR

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


Deepak Sharma commented Oct 23 '16, 10:07 p.m.

 Thank you Mehul for the reply and help.

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.